Skip to content

Commit

Permalink
Add support for Python 3.13 (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Oct 23, 2024
1 parent d1e40ed commit 648a97d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ None

**Bug fixes**

None
* Add support for Python 3.13. (#736)


Version 6.1.0 (October 6th, 2023)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def get_version():
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
19 changes: 16 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[tox]
envlist =
py{39,310,311,312,py3}
py{39,310,311,312,py3}-tinycss2
py{39,310,311,312}-build-no-lang
py{39,310,311,312,313,py3}
py{39,310,311,312,313,py3}-tinycss2
py{39,310,311,312,313}-build-no-lang
py39-docs
py39-format-check
py39-lint
Expand All @@ -16,6 +16,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy-3.9: pypy3

[testenv]
Expand Down Expand Up @@ -48,6 +49,12 @@ extras = css
commands =
pytest {posargs:-v}

[testenv:py313-tinycss2]
deps = -rrequirements-dev.txt
extras = css
commands =
pytest {posargs:-v}

[testenv:pypy3-tinycss2]
deps = -rrequirements-dev.txt
extras = css
Expand Down Expand Up @@ -78,6 +85,12 @@ setenv =
commands =
python setup.py build

[testenv:py313-build-no-lang]
setenv =
LANG=
commands =
python setup.py build

[testenv:py39-lint]
changedir = {toxinidir}
deps = -rrequirements-flake8.txt
Expand Down

0 comments on commit 648a97d

Please sign in to comment.