Skip to content

Commit 6a9b801

Browse files
committed
chore: add support for Python 3.14 (#758)
1 parent a4d6cdd commit 6a9b801

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.10", "3.11", "3.12", "3.13", "pypy3.10"]
12+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
1313
os: [ubuntu-latest, macos-latest, windows-latest]
1414

1515
steps:
16-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
19+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

@@ -26,7 +26,7 @@ jobs:
2626
echo "::set-output name=dir::$(pip cache dir)"
2727
2828
- name: Cache
29-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
29+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3030
with:
3131
path: ${{ steps.pip-cache.outputs.dir }}
3232
key:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def get_version():
6666
"Programming Language :: Python :: 3.11",
6767
"Programming Language :: Python :: 3.12",
6868
"Programming Language :: Python :: 3.13",
69+
"Programming Language :: Python :: 3.14",
6970
"Programming Language :: Python :: Implementation :: CPython",
7071
"Programming Language :: Python :: Implementation :: PyPy",
7172
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

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

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

52+
[testenv:py314-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:py314-build-no-lang]
89+
setenv =
90+
LANG=
91+
commands =
92+
python setup.py build
93+
8194
[testenv:py310-lint]
8295
changedir = {toxinidir}
8396
deps = -rrequirements-flake8.txt

0 commit comments

Comments
 (0)