Skip to content

Drop support for Python 3.6 #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/address-sanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: 3.11

- name: Build and run analyzer
run: CFLAGS="-Werror -Wall -Wextra" scan-build --status-bugs python setup.py build
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# We don't test on Windows and macOS currently due to issues
# build libmaxminddb there.
platform: [ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]

name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ History
2.3.0
++++++++++++++++++

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

2.2.0 (2021-09-24)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ invalid IP address or an IPv6 address in an IPv4 database.
Requirements
------------

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

Versioning
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ envlist = py36, py37, py38, py39, mypy

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
"3.10": py310, mypy
"3.10": py310
3.11: py311, mypy


[testenv]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def run_setup(with_cext):
"Source Code": "https://github.com/maxmind/MaxMind-DB-Reader-python",
"Issue Tracker": "https://github.com/maxmind/MaxMind-DB-Reader-python/issues",
},
python_requires=">=3.6",
python_requires=">=3.7",
include_package_data=True,
install_requires=requirements,
license=LICENSE,
Expand All @@ -131,11 +131,11 @@ def run_setup(with_cext):
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Topic :: Internet :: Proxy Servers",
"Topic :: Internet",
Expand Down