Skip to content

Commit

Permalink
include Python 3.13 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lene committed Dec 16, 2024
1 parent bbf36b9 commit a780f7e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dist
*.pickle
*.bak
fil-result

.cache
.local
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ include:
.test:
parallel:
matrix:
- PY_VERSION: [ "3.9", "3.10", "3.11", "3.12" ]
- PY_VERSION: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
stage: test
image: python:$PY_VERSION
rules:
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
before_script:
- pip install -q poetry
- test $(echo $PY_VERSION | cut -d . -f 2) -gt 12 && (apt update && apt install -y gfortran libopenblas-dev)
- pip install --root-user-action ignore -q poetry
- poetry install

unit tests:
Expand Down Expand Up @@ -49,7 +50,7 @@ flake8:
pylint:
extends: .test
script:
- test "$PY_VERSION" == "3.12" && PYLINT_EXTRA_ARGS="--disable=inconsistent-quotes"
- test $(echo $PY_VERSION | cut -d . -f 2) -ge 12 && PYLINT_EXTRA_ARGS="--disable=inconsistent-quotes"
- poetry run pylint $PYLINT_EXTRA_ARGS duplicate_images tests

bandit:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Updated
- Check for illegal parameter combination `--group` and `--max-distance`
- Explicit support for Python 3.13 by testing it in CI
- Updated dependencies to fix security vulnerabilities

## [0.11.3] - 2024-09-11
Expand Down

0 comments on commit a780f7e

Please sign in to comment.