Skip to content

Commit

Permalink
Add support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 8, 2025
1 parent 3f67ca7 commit 0d4083f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]

runs-on: ${{ matrix.platform }}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'

[tool.isort]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def function_three():
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
],
extras_require={
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
# - /usr/local/bin/pypy3 -> /opt/pypy3.6-v7.3.0-osx64/bin/pypy3
envlist =
py{37,38,39,310}-wrapt{1.10,1.11,1.12,1.13,1.14}
py{311,312}-wrapt{1.14}
py{311,312,313}-wrapt{1.14}
pypy3
docs

[testenv]
commands = pytest --cov-report term-missing --cov=deprecated tests/
commands = pytest --cov-report term-missing --cov=deprecated tests/ {posargs}
deps =
py{37,38,39,310,311,312,py3}: PyTest
py{37,38,39,310,311,312,py3}: PyTest-Cov
py{37,38,39,310,311,312,313,py3}: pytest
py{37,38,39,310,311,312,313,py3}: pytest-cov
wrapt1.10: wrapt ~= 1.10.0
wrapt1.11: wrapt ~= 1.11.0
wrapt1.12: wrapt ~= 1.12.0
Expand Down

0 comments on commit 0d4083f

Please sign in to comment.