Skip to content

Commit 17060d2

Browse files
committed
Drop 3.8 support
We dropped 3.8 from geoip2 and minfraud some time ago.
1 parent 960b6cb commit 17060d2

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/test-libmaxminddb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# We don't test on Windows currently due to issues
1717
# build libmaxminddb there.
1818
platform: [macos-latest, ubuntu-latest]
19-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
19+
python-version: [3.9, "3.10", 3.11, 3.12, 3.13]
2020

2121
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
2222
runs-on: ${{ matrix.platform }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
platform: [macos-latest, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
17-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
17+
python-version: [3.9, "3.10", 3.11, 3.12, 3.13]
1818

1919
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
2020
runs-on: ${{ matrix.platform }}

HISTORY.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
History
44
-------
55

6-
2.6.4
6+
2.7.0
77
++++++++++++++++++
88

9+
* IMPORTANT: Python 3.9 or greater is required. If you are using an older
10+
version, please use an earlier release.
911
* The vendored ``libmaxminddb`` has been updated to 1.12.2.
1012
* The C extension now checks that the database metadata lookup was
1113
successful.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ invalid IP address or an IPv6 address in an IPv4 database.
9797
Requirements
9898
------------
9999

100-
This code requires Python 3.8+. Older versions are not supported. The C
100+
This code requires Python 3.9+. Older versions are not supported. The C
101101
extension requires CPython.
102102

103103
Versioning

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Reader for the MaxMind DB format"
99
authors = [
1010
{name = "Gregory Oschwald", email = "[email protected]"},
1111
]
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.9"
1313
readme = "README.rst"
1414
license = {text = "Apache License, Version 2.0"}
1515
classifiers = [
@@ -20,7 +20,6 @@ classifiers = [
2020
"License :: OSI Approved :: Apache Software License",
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",

setup.cfg

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,23 @@ package_dir =
99
packages = maxminddb
1010
install_requires =
1111
include_package_data = True
12-
python_requires = >=3.8
12+
python_requires = >=3.9
1313

1414
[options.package_data]
1515
maxminddb = extension.pyi; py.typed
1616

1717
[tox:tox]
18-
envlist = {py38,py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
18+
envlist = {py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
1919

2020
[gh-actions]
2121
python =
22-
3.8: py38
2322
3.9: py39
2423
3.10: py310
2524
3.11: py311
2625
3.12: py312
2726
3.13: py313,black,lint,flake8,mypy
2827

29-
[testenv:{py38,py39,py310,py311,py312,py313}-test]
28+
[testenv:{py39,py310,py311,py312,py313}-test]
3029
deps = pytest
3130
commands = pytest tests
3231
passenv = *

0 commit comments

Comments
 (0)