Skip to content

Commit 4dff0bb

Browse files
authored
Merge pull request #394 from hugovk/add-3.13
Add support for Python 3.13 Checks still fail for 2.7, 3.7, but this PR is a win.
2 parents e6fba72 + dec3e13 commit 4dff0bb

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/lint_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
lint_python:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-python@v2
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
99
- run: pip install --upgrade pip wheel
1010
- run: pip install bandit black codespell flake8 flake8-bugbear
1111
flake8-comprehensions isort mypy pytest pyupgrade safety

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,26 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
include:
1717
# Add new helper variables to existing jobs
1818
- {python-version: "pypy-2.7", toxenv: "pypy"}
1919
- {python-version: "pypy-3.8", toxenv: "pypy3"}
2020
- {python-version: "2.7", toxenv: "py27"}
21-
- {python-version: "3.7.17", toxenv: "py37"}
21+
- {python-version: "3.7", toxenv: "py37"}
2222
- {python-version: "3.8", toxenv: "py38"}
2323
- {python-version: "3.9", toxenv: "py39"}
2424
- {python-version: "3.10", toxenv: "py310"}
2525
- {python-version: "3.11", toxenv: "py311"}
2626
- {python-version: "3.12", toxenv: "py312"}
27+
- {python-version: "3.13", toxenv: "py313"}
2728

2829
steps:
29-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3031

3132
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3334
with:
3435
python-version: ${{ matrix.python-version }}
3536
allow-prereleases: true
@@ -41,7 +42,7 @@ jobs:
4142
echo "PIP_DIR=$(pip cache dir)" >> $GITHUB_OUTPUT
4243
4344
- name: Cache
44-
uses: actions/cache@v3
45+
uses: actions/cache@v4
4546
with:
4647
path: ${{ steps.pip-cache.outputs.PIP_DIR }}
4748
key:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ classifiers = [
3939
"Programming Language :: Python :: 3.10",
4040
"Programming Language :: Python :: 3.11",
4141
"Programming Language :: Python :: 3.12",
42+
"Programming Language :: Python :: 3.13",
4243
"Programming Language :: Python :: Implementation :: CPython",
4344
"Programming Language :: Python :: Implementation :: PyPy",
4445
"Topic :: Terminals",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = true
3-
envlist = py{27, 37, 38, 39, 310, 311, 312, py, py3}
3+
envlist = py{27, 37, 38, 39, 310, 311, 312, 313, py, py3}
44

55
[testenv]
66
deps =

0 commit comments

Comments
 (0)