Skip to content

Commit ca127d1

Browse files
committed
Drop 3.8 support
1 parent e081864 commit ca127d1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
15+
python-version: [3.9, "3.10", 3.11, 3.12, 3.13]
1616

1717
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
1818
runs-on: ${{ matrix.platform }}

HISTORY.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ History
77
4.9.0
88
++++++++++++++++++
99

10+
* IMPORTANT: Python 3.9 or greater is required. If you are using an older
11+
version, please use an earlier release.
1012
* ``metro_code`` on ``geoip2.record.Location`` has been deprecated. The
1113
code values are no longer being maintained.
1214
* The type hinting for the optional `locales` keyword argument now allows

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ correction, please `contact MaxMind support
495495
Requirements
496496
------------
497497

498-
Python 3.8 or greater is required. Older versions are not supported.
498+
Python 3.9 or greater is required. Older versions are not supported.
499499

500500
The Requests HTTP library is also required. See
501501
<https://pypi.org/project/requests/> for details.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
"maxminddb>=2.5.1,<3.0.0",
1515
"requests>=2.24.0,<3.0.0",
1616
]
17-
requires-python = ">=3.8"
17+
requires-python = ">=3.9"
1818
readme = "README.rst"
1919
license = {text = "Apache License, Version 2.0"}
2020
classifiers = [
@@ -25,7 +25,6 @@ classifiers = [
2525
"License :: OSI Approved :: Apache Software License",
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 3",
28-
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ geoip2 = py.typed
99
disable = duplicate-code
1010

1111
[tox:tox]
12-
envlist = {py38,py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
12+
envlist = {py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
1313

1414
[gh-actions]
1515
python =
16-
3.8: py38
1716
3.9: py39
1817
3.10: py310
1918
3.11: py311

0 commit comments

Comments
 (0)