Skip to content

Commit a36bc45

Browse files
authored
Merge pull request #104 from maxmind/greg/py-upgrade
Drop support for Python 3.6
2 parents 16f6884 + 3319307 commit a36bc45

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

.github/workflows/address-sanitizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v4
2727
with:
28-
python-version: 3.x
28+
python-version: "3.10"
2929

3030
- name: Install dependencies
3131
run: |

.github/workflows/clang-analyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v4
2222
with:
23-
python-version: 3.x
23+
python-version: 3.11
2424

2525
- name: Build and run analyzer
2626
run: CFLAGS="-Werror -Wall -Wextra" scan-build --status-bugs python setup.py build

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: "3.10"
20+
python-version: "3.11"
2121

2222
- name: Install dependencies
2323
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# We don't test on Windows and macOS currently due to issues
1515
# build libmaxminddb there.
1616
platform: [ubuntu-latest]
17-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
17+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
1818

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

HISTORY.rst

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

9+
* IMPORTANT: Python 3.7 or greater is required. If you are using an older
10+
version, please use an earlier release.
911
* ``distutils`` is no longer used for building the C extension.
1012

1113
2.2.0 (2021-09-24)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ invalid IP address or an IPv6 address in an IPv4 database.
9494
Requirements
9595
------------
9696

97-
This code requires Python 3.6+. Older versions are not supported. The C
97+
This code requires Python 3.7+. Older versions are not supported. The C
9898
extension requires CPython.
9999

100100
Versioning

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ envlist = py36, py37, py38, py39, mypy
1313

1414
[gh-actions]
1515
python =
16-
3.6: py36
1716
3.7: py37
1817
3.8: py38
1918
3.9: py39
20-
"3.10": py310, mypy
19+
"3.10": py310
20+
3.11: py311, mypy
2121

2222

2323
[testenv]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def run_setup(with_cext):
119119
"Source Code": "https://github.com/maxmind/MaxMind-DB-Reader-python",
120120
"Issue Tracker": "https://github.com/maxmind/MaxMind-DB-Reader-python/issues",
121121
},
122-
python_requires=">=3.6",
122+
python_requires=">=3.7",
123123
include_package_data=True,
124124
install_requires=requirements,
125125
license=LICENSE,
@@ -131,11 +131,11 @@ def run_setup(with_cext):
131131
"Intended Audience :: System Administrators",
132132
"License :: OSI Approved :: Apache Software License",
133133
"Programming Language :: Python :: 3",
134-
"Programming Language :: Python :: 3.6",
135134
"Programming Language :: Python :: 3.7",
136135
"Programming Language :: Python :: 3.8",
137136
"Programming Language :: Python :: 3.9",
138137
"Programming Language :: Python :: 3.10",
138+
"Programming Language :: Python :: 3.11",
139139
"Programming Language :: Python",
140140
"Topic :: Internet :: Proxy Servers",
141141
"Topic :: Internet",

0 commit comments

Comments
 (0)