Skip to content

Commit f5dc818

Browse files
committed
Support Python 3.13
1 parent 579f572 commit f5dc818

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Python
3333
uses: actions/setup-python@v4
3434
with:
35-
python-version: "3.12"
35+
python-version: "3.x"
3636
- name: Install dependencies
3737
run: |
3838
python3 -m pip install nox
@@ -62,7 +62,7 @@ jobs:
6262
- name: Set up Python
6363
uses: actions/setup-python@v4
6464
with:
65-
python-version: "3.12"
65+
python-version: "3.x"
6666
- name: Install dependencies
6767
run: |
6868
python3 -m pip install nox
@@ -81,8 +81,9 @@ jobs:
8181
"3.10",
8282
"3.11",
8383
"3.12",
84+
"3.13",
8485
]
85-
es-version: [8.0.0, 8.13.0]
86+
es-version: [8.0.0, 8.15.0]
8687

8788
steps:
8889
- name: Remove irrelevant software to free up disk space
@@ -104,11 +105,6 @@ jobs:
104105
uses: actions/setup-python@v4
105106
with:
106107
python-version: ${{ matrix.python-version }}
107-
- name: Set up Python for Nox
108-
if: matrix.python-version != '3.12'
109-
uses: actions/setup-python@v4
110-
with:
111-
python-version: 3
112108
- name: Install dependencies
113109
run: |
114110
python3 -m pip install nox

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.12"
6+
python: "3.13"
77

88
python:
99
install:

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"3.9",
3535
"3.10",
3636
"3.11",
37-
"3.12",
37+
"3.13",
3838
]
3939
)
4040
def test(session):
@@ -55,7 +55,7 @@ def test(session):
5555
session.run("pytest", *argv)
5656

5757

58-
@nox.session(python="3.12")
58+
@nox.session(python="3.13")
5959
def format(session):
6060
session.install("black~=24.0", "isort", "unasync", "setuptools", ".[develop]")
6161
session.run("python", "utils/run-unasync.py")
@@ -67,7 +67,7 @@ def format(session):
6767
lint(session)
6868

6969

70-
@nox.session(python="3.12")
70+
@nox.session(python="3.13")
7171
def lint(session):
7272
session.install("flake8", "black~=24.0", "isort", "unasync", "setuptools")
7373
session.run("black", "--check", "--target-version=py38", *SOURCE_FILES)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"Programming Language :: Python :: 3.10",
8989
"Programming Language :: Python :: 3.11",
9090
"Programming Language :: Python :: 3.12",
91+
"Programming Language :: Python :: 3.13",
9192
"Programming Language :: Python :: Implementation :: CPython",
9293
"Programming Language :: Python :: Implementation :: PyPy",
9394
],

0 commit comments

Comments
 (0)