Skip to content

Commit

Permalink
github,setup,tox: drop support for Python<3.9
Browse files Browse the repository at this point in the history
the CI is failing because we are using typing annotation like
`dict[str, Any]`. and per https://devguide.python.org/versions/,
Python 3.8 will be EOL in 2024-10. So let's stop support all
versions lower than Python 3.9.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored and fruch committed Jul 24, 2024
1 parent 205cd85 commit 8b9f722
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-latest # ubuntu-18.04
# - macos-latest # macOS-10.14 casing trouble for requests-mock
# - windows-latest # windows-2019 causing trouble for the test_xdist
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ def read(fname):
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ isolated_build = true
skip_missing_interpreters = true
envlist =
pre-commit
{py27,py36,py37,py38,py39,py310,py311,py312,pypy2,pypy3}
{py39,py310,py311,py312,pypy2,pypy3}

[gh-actions]
python =
3.8: py38, pre-commit
3.9: py39, pre-commit
3.10: py310, pre-commit
3.11: py311, pre-commit
Expand Down

0 comments on commit 8b9f722

Please sign in to comment.