Skip to content

Commit

Permalink
limit python to 3.11 to work arount setuptools bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lene committed Oct 4, 2023
1 parent bbca6fa commit 066b2bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bandit:
extends: .test
parallel:
matrix:
- PY_VERSION: [ "latest" ]
- PY_VERSION: [ "3.11" ]
script:
- poetry run bandit -r duplicate_images

Expand Down Expand Up @@ -95,7 +95,7 @@ RunAndCheckResults:

RunWithArgs:
stage: test
image: python:latest
image: python:3.11
rules:
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
before_script:
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
python = ">=3.9,<3.12"
Wand = "^0.6"
pillow = "^10.0"
imagehash = "^4.3"
Expand Down

0 comments on commit 066b2bf

Please sign in to comment.