diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37b381c5..e6a96095 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,11 +11,9 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.10"] os: [ubuntu-24.04, windows-latest] exclude: - - os: windows-latest - python-version: "3.9" - os: windows-latest python-version: "3.10" - os: windows-latest diff --git a/setup.py b/setup.py index e6d8de26..e0e417c7 100644 --- a/setup.py +++ b/setup.py @@ -21,8 +21,7 @@ "pytest-asyncio==1.2.0", "pytest-console-scripts==1.4.1", "pytest-cov==6.0.0", - "vcrpy==7.0.0;python_version<='3.9'", - "vcrpy==8.2.1;python_version>'3.9'", + "vcrpy==8.2.1", "aiofiles", ] @@ -32,8 +31,7 @@ "flake8==7.1.2", "isort==6.0.1", "mypy==1.15", - "sphinx>=7.0.0,<8;python_version<='3.9'", - "sphinx>=8.1.0,<9;python_version>'3.9'", + "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'", @@ -42,8 +40,7 @@ ] + tests_requires install_aiohttp_requires = [ - "aiohttp>=3.11.2,<=3.13.2;python_version<='3.9'", - "aiohttp>=3.11.2,<4;python_version>'3.9'", + "aiohttp>=3.11.2,<4", ] install_requests_requires = [ @@ -93,7 +90,6 @@ "Topic :: Software Development :: Libraries", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/tox.ini b/tox.ini index 25bfde32..4bff921d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,10 @@ [tox] envlist = black,flake8,import-order,mypy,manifest, - py{39,310,311,312,313,314,py3} + py{310,311,312,313,314,py3} [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 3.12: py312 @@ -29,7 +28,7 @@ deps = -e.[test] commands = pip install -U setuptools ; run "tox -- tests -s" to show output for debugging - py{39,310,311,312,313,314,py3}: pytest {posargs:tests} + py{310,311,312,313,314,py3}: pytest {posargs:tests} py{312}: pytest {posargs:tests --cov-report=term-missing --cov=gql} [testenv:black]