Skip to content

Commit 648a97d

Browse files
committed
Add support for Python 3.13 (#736)
1 parent d1e40ed commit 648a97d

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9"]
12+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
1313
os: [ubuntu-latest, macos-latest, windows-latest]
1414

1515
steps:

CHANGES

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ None
1313

1414
**Bug fixes**
1515

16-
None
16+
* Add support for Python 3.13. (#736)
1717

1818

1919
Version 6.1.0 (October 6th, 2023)

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def get_version():
6767
"Programming Language :: Python :: 3.10",
6868
"Programming Language :: Python :: 3.11",
6969
"Programming Language :: Python :: 3.12",
70+
"Programming Language :: Python :: 3.13",
7071
"Programming Language :: Python :: Implementation :: CPython",
7172
"Programming Language :: Python :: Implementation :: PyPy",
7273
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

+16-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[tox]
44
envlist =
5-
py{39,310,311,312,py3}
6-
py{39,310,311,312,py3}-tinycss2
7-
py{39,310,311,312}-build-no-lang
5+
py{39,310,311,312,313,py3}
6+
py{39,310,311,312,313,py3}-tinycss2
7+
py{39,310,311,312,313}-build-no-lang
88
py39-docs
99
py39-format-check
1010
py39-lint
@@ -16,6 +16,7 @@ python =
1616
3.10: py310
1717
3.11: py311
1818
3.12: py312
19+
3.13: py313
1920
pypy-3.9: pypy3
2021

2122
[testenv]
@@ -48,6 +49,12 @@ extras = css
4849
commands =
4950
pytest {posargs:-v}
5051

52+
[testenv:py313-tinycss2]
53+
deps = -rrequirements-dev.txt
54+
extras = css
55+
commands =
56+
pytest {posargs:-v}
57+
5158
[testenv:pypy3-tinycss2]
5259
deps = -rrequirements-dev.txt
5360
extras = css
@@ -78,6 +85,12 @@ setenv =
7885
commands =
7986
python setup.py build
8087

88+
[testenv:py313-build-no-lang]
89+
setenv =
90+
LANG=
91+
commands =
92+
python setup.py build
93+
8194
[testenv:py39-lint]
8295
changedir = {toxinidir}
8396
deps = -rrequirements-flake8.txt

0 commit comments

Comments
 (0)