Skip to content

Commit

Permalink
Add support for Python 3.13 (#257)
Browse files Browse the repository at this point in the history
* Add support for Python 3.13

* Fix typo
  • Loading branch information
hagenw authored Nov 27, 2024
1 parent 8f398e9 commit 33bb2ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
python-version: '3.11'
- os: ubuntu-latest
python-version: '3.12'
- os: ubuntu-latest
python-version: '3.13'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -54,16 +56,16 @@ jobs:
ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }}
run: |
python -m pytest --cov-config=.coveragerc.${{ runner.os }}
if: matrix.python-version != '3.12'
if: ${{ (matrix.python-version != '3.12') && (matrix.python-version != '3.13') }}

- name: Test with pytest for Python 3.12
- name: Test with pytest for Python >=3.12
run: |
python -m pytest --cov-config=.coveragerc.python3.12 --ignore=audbackend/core/backend/artifactory.py --ignore=tests/test_backend_artifactory.py
if: matrix.python-version == '3.12'
if: ${{ (matrix.python-version == '3.12') || (matrix.python-version == '3.13') }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version != '3.12') }}
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version != '3.12') && (matrix.python-version != '3.13') }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering',
]
requires-python = '>=3.9'
Expand Down

0 comments on commit 33bb2ac

Please sign in to comment.