diff --git a/.coveragerc.python3.12 b/.coveragerc.python3.13 similarity index 100% rename from .coveragerc.python3.12 rename to .coveragerc.python3.13 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c52b69f..034d5241 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,22 +50,22 @@ jobs: run: | pip install -r requirements.txt - - name: Test with pytest for Python <3.12 + - name: Test with pytest for Python <3.13 env: ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} ARTIFACTORY_API_KEY: ${{ secrets.ARTIFACTORY_API_KEY }} run: | python -m pytest --cov-config=.coveragerc.${{ runner.os }} - if: ${{ (matrix.python-version != '3.12') && (matrix.python-version != '3.13') }} + if: ${{ matrix.python-version != '3.13' }} - - name: Test with pytest for Python >=3.12 + - name: Test with pytest for Python >=3.13 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') || (matrix.python-version == '3.13') }} + python -m pytest --cov-config=.coveragerc.python3.13 --ignore=audbackend/core/backend/artifactory.py --ignore=tests/test_backend_artifactory.py + if: ${{ 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') && (matrix.python-version != '3.13') }} + if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version != '3.13') }} diff --git a/docs/install.rst b/docs/install.rst index eeb5e115..d2bdb910 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -33,5 +33,5 @@ or :class:`audbackend.backend.Artifactory`: $ pip install audbackend[artifactory] Note, -in Python 3.12 the :class:`audbackend.backend.Artifactory` +in Python 3.13 the :class:`audbackend.backend.Artifactory` backend is not available at the moment. diff --git a/pyproject.toml b/pyproject.toml index 7f5a65b7..6387d18b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,13 +42,13 @@ dynamic = ['version'] [project.optional-dependencies] artifactory = [ - 'dohq-artifactory >=1.0.0; python_version < "3.12"', + 'dohq-artifactory >=1.0.0; python_version < "3.13"', ] minio = [ 'minio', ] all = [ - 'dohq-artifactory >=1.0.0; python_version < "3.12"', + 'dohq-artifactory >=1.0.0; python_version < "3.13"', 'minio', ]