Skip to content

Commit

Permalink
global: drop support for Python 3.7
Browse files Browse the repository at this point in the history
3.7 is EOL as of a few months ago. Let's not attempt to support it.
  • Loading branch information
indygreg committed Oct 23, 2023
1 parent e8b6730 commit b7f9eac
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
fail-fast: false
matrix:
py:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down Expand Up @@ -56,7 +55,6 @@ jobs:
fail-fast: false
matrix:
py:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- 'macos-12'
- 'windows-2022'
py:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
fail-fast: false
matrix:
py:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- 'quay.io/pypa/manylinux2014_i686'
- 'quay.io/pypa/manylinux2014_x86_64'
py:
- 'cp37-cp37m'
- 'cp38-cp38'
- 'cp39-cp39'
- 'cp310-cp310'
Expand All @@ -41,7 +40,6 @@ jobs:
fail-fast: false
matrix:
py:
- 'cp37-*'
- 'cp38-*'
- 'cp39-*'
- 'cp310-*'
Expand Down Expand Up @@ -108,7 +106,6 @@ jobs:
fail-fast: false
matrix:
py:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Build-Depends:
python3-pytest,
python3-setuptools
Standards-Version: 3.9.1
X-Python3-Version: >= 3.7
X-Python3-Version: >= 3.8
Homepage: https://github.com/indygreg/python-zstandard
Vcs-Browser: https://github.com/indygreg/python-zstandard.git
Vcs-Git: https://github.com/indygreg/python-zstandard.git
Expand Down
2 changes: 1 addition & 1 deletion docs/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ this package with ``conda``.
Requirements
============

This package is designed to run with Python 3.7, 3.8, 3.9, 3.10, and 3.11
This package is designed to run with Python 3.8, 3.9, 3.10, and 3.11
on common platforms (Linux, Windows, and OS X). On PyPy (both PyPy2 and PyPy3)
we support version 6.0.0 and above. x86 and x86_64 are well-tested on Windows.
Only x86_64 is well-tested on Linux and macOS.
Expand Down
11 changes: 11 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ Backwards Compatibility Notes
is no longer supported by the pypa/manylinux project.
* Removed CI coverage for PyPy 3.7 and 3.8, which are no longer supported
PyPy versions.
* Support for Python 3.7 has been dropped because it reached end of life.
Python 3.8 is the minimum supported Python version. The code should still be
compatible with Python 3.7 and removing of version checks from ``setup.py``
will likely yield a working install. However, this is no officially supported.

Bug Fixes
---------

* ``ZstdDecompressor.decompress()`` with ``allow_extra_data=False`` would
previously allow extra data to exist after an *empty* zstd frame (a frame
holding 0 length input). This scenario now raises an exception.

Changes
-------
Expand Down
2 changes: 1 addition & 1 deletion docs/projectinfo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ breakage when this change occurs!
This project is vendored and distributed with Mercurial 4.1, where it is
used in a production capacity.

There is continuous integration for Python versions and 3.7+
There is continuous integration for Python versions and 3.8+
on Linux x86_x64 and Windows x86 and x86_64. The author is reasonably
confident the extension is stable and works as advertised on these
platforms.
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from setuptools import setup


if sys.version_info[0:2] < (3, 7):
print("Python 3.7+ is required", file=sys.stderr)
if sys.version_info[0:2] < (3, 8):
print("Python 3.8+ is required", file=sys.stderr)
sys.exit(1)

# Need change in 1.10 for ffi.from_buffer() to handle all buffer types
Expand Down Expand Up @@ -126,13 +126,12 @@
author="Gregory Szorc",
author_email="gregory.szorc@gmail.com",
license="BSD",
python_requires=">=3.7",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: C",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit b7f9eac

Please sign in to comment.