Skip to content

Commit 305fe6d

Browse files
authored
Add Python 3.15 support (#618)
1 parent 374a70d commit 305fe6d

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"]
14+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "pypy3.10"]
1515
os: [ubuntu-24.04, windows-latest]
1616
exclude:
1717
- os: windows-latest
@@ -22,6 +22,8 @@ jobs:
2222
python-version: "3.13"
2323
- os: windows-latest
2424
python-version: "3.14"
25+
- os: windows-latest
26+
python-version: "3.15"
2527
- os: windows-latest
2628
python-version: "pypy3.10"
2729

@@ -31,6 +33,7 @@ jobs:
3133
uses: actions/setup-python@v5
3234
with:
3335
python-version: ${{ matrix.python-version }}
36+
allow-prereleases: ${{ matrix.python-version == '3.15' }}
3437
- name: Install dependencies
3538
run: |
3639
python -m pip install --upgrade pip wheel

‎setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"mypy==2.1.0",
3434
"sphinx>=8.1.0,<9",
3535
"sphinx_rtd_theme>=3.0.2,<4",
36-
"sphinx-argparse==0.5.2; python_version>='3.10'",
37-
"sphinx-argparse==0.4.0; python_version<'3.10'",
36+
"sphinx-argparse==0.5.2",
3837
"types-aiofiles",
3938
"types-requests",
4039
] + tests_requires
@@ -100,6 +99,7 @@
10099
"Programming Language :: Python :: 3.12",
101100
"Programming Language :: Python :: 3.13",
102101
"Programming Language :: Python :: 3.14",
102+
"Programming Language :: Python :: 3.15",
103103
"Programming Language :: Python :: Implementation :: PyPy",
104104
],
105105
keywords="api graphql protocol rest relay gql client",

‎tox.ini‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
black,flake8,import-order,mypy,manifest,
4-
py{310,311,312,313,314,py3}
4+
py{310,311,312,313,314,315,py3}
55

66
[gh-actions]
77
python =
@@ -10,6 +10,7 @@ python =
1010
3.12: py312
1111
3.13: py313
1212
3.14: py314
13+
3.15: py315
1314
pypy-3: pypy3
1415

1516
[testenv]
@@ -28,7 +29,7 @@ deps = -e.[test]
2829
commands =
2930
pip install -U setuptools
3031
; run "tox -- tests -s" to show output for debugging
31-
py{310,311,312,313,314,py3}: pytest {posargs:tests}
32+
py{310,311,312,313,314,315,py3}: pytest {posargs:tests}
3233
py{312}: pytest {posargs:tests --cov-report=term-missing --cov=gql}
3334

3435
[testenv:black]

0 commit comments

Comments
 (0)