Skip to content

Commit

Permalink
Remove Python 3.8 support (prometheus#1075)
Browse files Browse the repository at this point in the history
Python 3.8 already reached its EOL last month. Remove support and
testing of Python 3.8 .

Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
  • Loading branch information
kajinamit authored Dec 3, 2024
1 parent 00f21e9 commit ef95c4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ workflows:
matrix:
parameters:
python:
- "3.8.18"
- "3.9.18"
- "3.10"
- "3.11"
Expand All @@ -89,4 +88,4 @@ workflows:
matrix:
parameters:
python:
- "3.8"
- "3.9"
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@
'twisted': ['twisted'],
},
test_suite="tests",
python_requires=">=3.8",
python_requires=">=3.9",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tox]
envlist = coverage-clean,py{3.8,3.9,3.10,3.11,3.12,py3.8,3.9-nooptionals},coverage-report,flake8,isort,mypy
envlist = coverage-clean,py{3.9,3.10,3.11,3.12,py3.9,3.9-nooptionals},coverage-report,flake8,isort,mypy

[testenv]
deps =
coverage
pytest
attrs
{py3.8,pypy3.8}: twisted
py3.8: asgiref
# See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy
pypy3.8: asgiref==3.6.0
{py3.9,pypy3.9}: twisted
# NOTE: Pinned due to https://github.com/prometheus/client_python/issues/1020
py3.9: asgiref==3.7
pypy3.9: asgiref==3.7
commands = coverage run --parallel -m pytest {posargs}

[testenv:py3.9-nooptionals]
Expand Down

0 comments on commit ef95c4b

Please sign in to comment.