diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e27d65c0..e10dc097 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: python-version: [ - "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3" + "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev" ] os: [ubuntu-latest, macos-latest, windows-latest] @@ -50,7 +50,8 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" + allow-prereleases: true - name: Install dependencies run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75ac0af8..1b5f26e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: 3.10 3.11 3.12 - 3.13.0-beta.3 + 3.13 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -79,7 +79,7 @@ jobs: 3.10 3.11 3.12 - 3.13.0-beta.3 + 3.13 - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -112,7 +112,7 @@ jobs: 3.10 3.11 3.12 - 3.13.0-beta.3 + 3.13 architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -145,7 +145,7 @@ jobs: 3.10 3.11 3.12 - 3.13.0-beta.3 + 3.13 - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f8243b42..c9d6c811 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,7 @@ latest ------ * Added `as_packages` option to the `find_shortest_chains` method. +* Include 3.13 wheel in release. 3.4.1 (2024-07-12) ------------------ diff --git a/tox.ini b/tox.ini index b3d50a3a..3b2ef1a5 100644 --- a/tox.ini +++ b/tox.ini @@ -3,8 +3,7 @@ envlist = clean, check, docs, - {py38,py39,py310,py311,py312}, - report + {py38,py39,py310,py311,py312,py13}, [testenv] basepython = @@ -23,26 +22,26 @@ passenv = usedevelop = false deps = pytest==7.4.4 - PyYAML==6.0.1 - pytest-cov==3.0.0 + pyyaml==6.0.1 + pytest-cov==5.0.0 pytest-benchmark==4.0.0 # External packages to attempt to build the graph from. - Django - Flask - requests - SQLAlchemy - google-cloud-audit-log + django + flask==3.0.3 + requests==2.32.3 + sqlalchemy==2.0.35 + google-cloud-audit-log==0.3.0 commands = {posargs:pytest --cov --cov-report=term-missing --benchmark-skip -vv tests} [testenv:check] -basepython = py312 +basepython = py313 deps = black==23.9.1 - flake8==7.0.0 - mypy==1.8.0 + flake8==7.1.1 + mypy==1.11.2 pytest-stub==1.1.0 - types-PyYAML==6.0.12.12 + types-pyyaml==6.0.12.20240917 skip_install = true commands = black --check src tests @@ -50,7 +49,7 @@ commands = mypy src/grimp tests [testenv:benchmark] -basepython = py312 +basepython = py313 setenv = PYTHONPATH={toxinidir}/tests PYTHONUNBUFFERED=yes @@ -65,7 +64,7 @@ commands = {posargs:pytest --benchmark-only --benchmark-autosave} [testenv:codspeed] -basepython = py312 +basepython = py313 setenv = PYTHONPATH={toxinidir}/tests PYTHONUNBUFFERED=yes @@ -74,7 +73,7 @@ passenv = usedevelop = false deps = pytest==7.4.4 - PyYAML==6.0.1 + pyyaml==6.0.1 pytest-codspeed==2.2.1 commands = {posargs:pytest --codspeed} @@ -105,5 +104,5 @@ python = 3.9: py39, report 3.10: py310, report 3.11: py311, report - 3.12: py312, report, check, docs - 3.13: py313 + 3.12: py312, report + 3.13: py313, report, check, docs