Skip to content

Commit

Permalink
feat: python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
klen committed Nov 5, 2024
1 parent 7e5a9c5 commit 8b3a1b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
ASGI_TOOLS_NO_EXTENSIONS: '1'

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@main
with:
name: dist-no-wheels
path: dist/*.tar.*
Expand All @@ -54,6 +54,7 @@ jobs:
- "cp310"
- "cp311"
- "cp312"
- "cp313"
exclude:
- os: ubuntu-latest
cibw_arch: universal2
Expand Down Expand Up @@ -90,9 +91,9 @@ jobs:
CIBW_BUILD: ${{ matrix.cibw_python }}-*
CIBW_ARCHS: ${{ matrix.cibw_arch }}

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@main
with:
name: dist-${{ matrix.os }}-${{ matrix.cibw_arch }}-${{ matrix.cibw_python }}
name: wheel-${{ matrix.os }}-${{ matrix.cibw_arch }}-${{ matrix.cibw_python }}
path: wheelhouse/*.whl

- name: Notify Failure
Expand All @@ -111,10 +112,9 @@ jobs:
steps:

- name: Download a distribution artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@main
with:
path: dist
pattern: dist-*
merge-multiple: true

- name: Publish distribution 📦 to PyPI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy-3.9']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.10']

steps:
- uses: actions/checkout@main
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Cython",
"Topic :: Internet :: WWW/HTTP",
Expand Down Expand Up @@ -75,7 +76,7 @@ ignore_missing_imports = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py39,py310,py311,py312,pypy39
envlist = py39,py310,py311,py312,py313,,pypy310
[testenv]
deps = -e .[tests]
Expand Down Expand Up @@ -117,5 +118,5 @@ required-imports = ["from __future__ import annotations"]

[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
target-version = ["py39", "py310", "py311", "py312", "py313"]
preview = true

0 comments on commit 8b3a1b6

Please sign in to comment.