Skip to content

Commit 083852c

Browse files
committed
global: drop support for Python 3.8
It hit end of life on 2024-10-07. Our policy is not to support EOL Python verions.
1 parent 8288354 commit 083852c

10 files changed

Lines changed: 14 additions & 20 deletions

File tree

.github/workflows/anaconda.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
py:
12-
- '3.8'
1312
- '3.9'
1413
- '3.10'
1514
- '3.11'
@@ -56,7 +55,6 @@ jobs:
5655
fail-fast: false
5756
matrix:
5857
py:
59-
- '3.8'
6058
- '3.9'
6159
- '3.10'
6260
- '3.11'

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
- 'macos-14'
1515
- 'windows-2022'
1616
py:
17-
- '3.8'
1817
- '3.9'
1918
- '3.10'
2019
- '3.11'
@@ -37,9 +36,6 @@ jobs:
3736
arch: 'x86'
3837
- os: 'macos-14'
3938
arch: 'x64'
40-
- os: 'macos-14'
41-
arch: 'arm64'
42-
py: '3.8'
4339
- os: 'macos-14'
4440
arch: 'arm64'
4541
py: '3.9'

.github/workflows/typing.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
py:
12-
- '3.8'
1312
- '3.9'
1413
- '3.10'
1514
- '3.11'

.github/workflows/wheel.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
- 'musllinux_1_1_x86_64'
2424
- 'musllinux_1_2_x86_64'
2525
py:
26-
- 'cp38-cp38'
2726
- 'cp39-cp39'
2827
- 'cp310-cp310'
2928
- 'cp311-cp311'
@@ -52,7 +51,6 @@ jobs:
5251
fail-fast: false
5352
matrix:
5453
py:
55-
- 'cp38'
5654
- 'cp39'
5755
- 'cp310'
5856
- 'cp311'
@@ -95,7 +93,6 @@ jobs:
9593
fail-fast: false
9694
matrix:
9795
py:
98-
- '3.8'
9996
- '3.9'
10097
- '3.10'
10198
- '3.11'
@@ -105,9 +102,6 @@ jobs:
105102
- 'x86'
106103
- 'x64'
107104
- 'arm64'
108-
exclude:
109-
- py: '3.8'
110-
arch: 'arm64'
111105
runs-on: 'windows-2022'
112106
env:
113107
ZSTD_WARNINGS_AS_ERRORS: '1'

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Build-Depends:
1010
python3-pytest,
1111
python3-setuptools
1212
Standards-Version: 3.9.1
13-
X-Python3-Version: >= 3.8
13+
X-Python3-Version: >= 3.9
1414
Homepage: https://github.com/indygreg/python-zstandard
1515
Vcs-Browser: https://github.com/indygreg/python-zstandard.git
1616
Vcs-Git: https://github.com/indygreg/python-zstandard.git

docs/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ this package with ``conda``.
2222
Requirements
2323
============
2424

25-
This package is designed to run with Python 3.8, 3.9, 3.10, and 3.11
25+
This package is designed to run with Python 3.9, 3.10, 3.11, and 3.12
2626
on common platforms (Linux, Windows, and OS X). On PyPy (both PyPy2 and PyPy3)
2727
we support version 6.0.0 and above. x86 and x86_64 are well-tested on Windows.
2828
Only x86_64 is well-tested on Linux and macOS.

docs/news.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ Changes
5555
<=3.12 have cffi upgraded from cffi 1.16 -> 1.17.
5656
* The `pyproject.toml` file now defines a `[project]` section.
5757

58+
Backwards Compatibility Notes
59+
-----------------------------
60+
61+
* Support for Python 3.8 has been dropped because it reached end of life.
62+
Python 3.9 is the minimum supported Python version. The code should still be
63+
compatible with Python 3.7 and removing of version checks from ``setup.py``
64+
will likely yield a working install. However, this is not officially supported.
65+
5866
0.23.0 (released 2024-07-14)
5967
============================
6068

docs/projectinfo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ breakage when this change occurs!
1515
This project is vendored and distributed with Mercurial 4.1, where it is
1616
used in a production capacity.
1717

18-
There is continuous integration for Python versions and 3.8+
18+
There is continuous integration for Python versions and 3.9+
1919
on Linux x86_x64 and Windows x86 and x86_64. The author is reasonably
2020
confident the extension is stable and works as advertised on these
2121
platforms.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ authors = [
77
{ name = "Gregory Szorc", email = "gregory.szorc@gmail.com" },
88
]
99
license = { text = "BSD" }
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
classifiers = [
1212
"Development Status :: 5 - Production/Stable",
1313
"Intended Audience :: Developers",
1414
"License :: OSI Approved :: BSD License",
1515
"Programming Language :: C",
16-
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
except ImportError:
2121
from distutils.version import LooseVersion
2222

23-
if sys.version_info[0:2] < (3, 8):
24-
print("Python 3.8+ is required", file=sys.stderr)
23+
if sys.version_info[0:2] < (3, 9):
24+
print("Python 3.9+ is required", file=sys.stderr)
2525
sys.exit(1)
2626

2727
# Need change in 1.10 for ffi.from_buffer() to handle all buffer types

0 commit comments

Comments
 (0)