diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6a96095..48dc8e52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "pypy3.10"] os: [ubuntu-24.04, windows-latest] exclude: - os: windows-latest @@ -22,6 +22,8 @@ jobs: python-version: "3.13" - os: windows-latest python-version: "3.14" + - os: windows-latest + python-version: "3.15" - os: windows-latest python-version: "pypy3.10" @@ -31,6 +33,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: ${{ matrix.python-version == '3.15' }} - name: Install dependencies run: | python -m pip install --upgrade pip wheel diff --git a/setup.py b/setup.py index 46ce5c34..4a73742c 100644 --- a/setup.py +++ b/setup.py @@ -33,8 +33,7 @@ "mypy==2.1.0", "sphinx>=8.1.0,<9", "sphinx_rtd_theme>=3.0.2,<4", - "sphinx-argparse==0.5.2; python_version>='3.10'", - "sphinx-argparse==0.4.0; python_version<'3.10'", + "sphinx-argparse==0.5.2", "types-aiofiles", "types-requests", ] + tests_requires @@ -100,6 +99,7 @@ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Implementation :: PyPy", ], keywords="api graphql protocol rest relay gql client", diff --git a/tox.ini b/tox.ini index 4bff921d..cc930ec2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = black,flake8,import-order,mypy,manifest, - py{310,311,312,313,314,py3} + py{310,311,312,313,314,315,py3} [gh-actions] python = @@ -10,6 +10,7 @@ python = 3.12: py312 3.13: py313 3.14: py314 + 3.15: py315 pypy-3: pypy3 [testenv] @@ -28,7 +29,7 @@ deps = -e.[test] commands = pip install -U setuptools ; run "tox -- tests -s" to show output for debugging - py{310,311,312,313,314,py3}: pytest {posargs:tests} + py{310,311,312,313,314,315,py3}: pytest {posargs:tests} py{312}: pytest {posargs:tests --cov-report=term-missing --cov=gql} [testenv:black]