Skip to content

Commit 8554240

Browse files
authored
Drop Python 3.8 Support (#452)
1 parent 6a50dc8 commit 8554240

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1919
os: [ubuntu-24.04]
2020
runs-on: ${{ matrix.os }}
2121
name: "${{ matrix.os }} Python: ${{ matrix.python-version }}"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def get_version():
10-
version_file = open("django_prometheus/__init__.py", "r").read()
10+
version_file = open("django_prometheus/__init__.py").read()
1111
version_match = re.search(
1212
r'^__version__ = [\'"]([^\'"]*)[\'"]', version_file, re.MULTILINE
1313
)
@@ -51,7 +51,6 @@ def get_version():
5151
"Intended Audience :: Information Technology",
5252
"Intended Audience :: System Administrators",
5353
"Programming Language :: Python :: 3",
54-
"Programming Language :: Python :: 3.8",
5554
"Programming Language :: Python :: 3.9",
5655
"Programming Language :: Python :: 3.10",
5756
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
22
min_version = 4.4
33
envlist =
4-
{py38,py39,py310,py311,py312}-django420-{end2end,unittests}
4+
{py39,py310,py311,py312}-django420-{end2end,unittests}
55
{py310,py311,py312}-django{500,510}-{end2end,unittests}
66
py39-lint
77

88
[gh-actions]
99
python =
10-
3.8: py38
1110
3.9: py39, py39-lint
1211
3.10: py310
1312
3.11: py311

0 commit comments

Comments
 (0)