Skip to content

Commit 3febd26

Browse files
authored
Drop Python 3.7 (#207)
1 parent 946c198 commit 3febd26

File tree

4 files changed

+8
-27
lines changed

4 files changed

+8
-27
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ jobs:
1616
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
1717
cython-version: ["0.29.37", "3.0.7"]
1818
python-version:
19-
- "3.7"
2019
- "3.8"
2120
- "3.9"
2221
- "3.10"
2322
- "3.11"
2423
- "3.12"
25-
- "pypy3.7"
2624
- "pypy3.8"
2725
- "pypy3.9"
2826
- "pypy3.10"

.github/workflows/wheels.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
# # This probably isn't the preferred way to do things :shrug:
2626
#
2727
# # PyPy may have issues. Intermittent failures have been seen on:
28-
# # pp37-manylinux_aarch64 pp38-win_amd64
28+
# # pp39-manylinux_aarch64 pp38-win_amd64
2929
#
30-
# pys = ['cp37', 'cp38', 'cp39', 'cp310', 'cp311', 'cp312']
30+
# import itertools
31+
#
32+
# pys = ['cp38', 'cp39', 'cp310', 'cp311', 'cp312']
3133
# pys_arm = ['cp38', 'cp39', 'cp310', 'cp311', 'cp312']
32-
# pypys = ['pp37', 'pp38', 'pp39', 'pp310']
33-
# SKIP = set() # {"pp37-manylinux_aarch64", "pp38-win_amd64"}
34+
# pypys = ['pp38', 'pp39', 'pp310']
35+
# SKIP = set() # {"pp39-manylinux_aarch64", "pp38-win_amd64"}
3436
# combos = []
3537
#
3638
# # Linux
@@ -63,7 +65,6 @@ jobs:
6365
# for os, build, arch in sorted(combos, key=lambda x: (x[0], x[1].replace('310', '390').replace('311', '391').replace('312', '392'), x[2])):
6466
# skip = "# " if build in SKIP else ""
6567
# print(f' {skip}- {{"os": "{os}", "build": "{build}", "arch": "{arch}"}}')
66-
- {"os": "macos", "build": "cp37-macosx_x86_64", "arch": "x86_64"}
6768
- {"os": "macos", "build": "cp38-macosx_arm64", "arch": "arm64"}
6869
- {"os": "macos", "build": "cp38-macosx_x86_64", "arch": "x86_64"}
6970
- {"os": "macos", "build": "cp39-macosx_arm64", "arch": "arm64"}
@@ -74,20 +75,9 @@ jobs:
7475
- {"os": "macos", "build": "cp311-macosx_x86_64", "arch": "x86_64"}
7576
- {"os": "macos", "build": "cp312-macosx_arm64", "arch": "arm64"}
7677
- {"os": "macos", "build": "cp312-macosx_x86_64", "arch": "x86_64"}
77-
- {"os": "macos", "build": "pp37-macosx_x86_64", "arch": "x86_64"}
7878
- {"os": "macos", "build": "pp38-macosx_x86_64", "arch": "x86_64"}
7979
- {"os": "macos", "build": "pp39-macosx_x86_64", "arch": "x86_64"}
8080
- {"os": "macos", "build": "pp310-macosx_x86_64", "arch": "x86_64"}
81-
- {"os": "ubuntu", "build": "cp37-manylinux_aarch64", "arch": "aarch64"}
82-
- {"os": "ubuntu", "build": "cp37-manylinux_i686", "arch": "i686"}
83-
- {"os": "ubuntu", "build": "cp37-manylinux_ppc64le", "arch": "ppc64le"}
84-
- {"os": "ubuntu", "build": "cp37-manylinux_s390x", "arch": "s390x"}
85-
- {"os": "ubuntu", "build": "cp37-manylinux_x86_64", "arch": "x86_64"}
86-
- {"os": "ubuntu", "build": "cp37-musllinux_aarch64", "arch": "aarch64"}
87-
- {"os": "ubuntu", "build": "cp37-musllinux_i686", "arch": "i686"}
88-
- {"os": "ubuntu", "build": "cp37-musllinux_ppc64le", "arch": "ppc64le"}
89-
- {"os": "ubuntu", "build": "cp37-musllinux_s390x", "arch": "s390x"}
90-
- {"os": "ubuntu", "build": "cp37-musllinux_x86_64", "arch": "x86_64"}
9181
- {"os": "ubuntu", "build": "cp38-manylinux_aarch64", "arch": "aarch64"}
9282
- {"os": "ubuntu", "build": "cp38-manylinux_i686", "arch": "i686"}
9383
- {"os": "ubuntu", "build": "cp38-manylinux_ppc64le", "arch": "ppc64le"}
@@ -138,9 +128,6 @@ jobs:
138128
- {"os": "ubuntu", "build": "cp312-musllinux_ppc64le", "arch": "ppc64le"}
139129
- {"os": "ubuntu", "build": "cp312-musllinux_s390x", "arch": "s390x"}
140130
- {"os": "ubuntu", "build": "cp312-musllinux_x86_64", "arch": "x86_64"}
141-
- {"os": "ubuntu", "build": "pp37-manylinux_aarch64", "arch": "aarch64"}
142-
- {"os": "ubuntu", "build": "pp37-manylinux_i686", "arch": "i686"}
143-
- {"os": "ubuntu", "build": "pp37-manylinux_x86_64", "arch": "x86_64"}
144131
- {"os": "ubuntu", "build": "pp38-manylinux_aarch64", "arch": "aarch64"}
145132
- {"os": "ubuntu", "build": "pp38-manylinux_i686", "arch": "i686"}
146133
- {"os": "ubuntu", "build": "pp38-manylinux_x86_64", "arch": "x86_64"}
@@ -150,8 +137,6 @@ jobs:
150137
- {"os": "ubuntu", "build": "pp310-manylinux_aarch64", "arch": "aarch64"}
151138
- {"os": "ubuntu", "build": "pp310-manylinux_i686", "arch": "i686"}
152139
- {"os": "ubuntu", "build": "pp310-manylinux_x86_64", "arch": "x86_64"}
153-
- {"os": "windows", "build": "cp37-win32", "arch": "x86"}
154-
- {"os": "windows", "build": "cp37-win_amd64", "arch": "AMD64"}
155140
- {"os": "windows", "build": "cp38-win32", "arch": "x86"}
156141
- {"os": "windows", "build": "cp38-win_amd64", "arch": "AMD64"}
157142
- {"os": "windows", "build": "cp39-win32", "arch": "x86"}
@@ -162,7 +147,6 @@ jobs:
162147
- {"os": "windows", "build": "cp311-win_amd64", "arch": "AMD64"}
163148
- {"os": "windows", "build": "cp312-win32", "arch": "x86"}
164149
- {"os": "windows", "build": "cp312-win_amd64", "arch": "AMD64"}
165-
- {"os": "windows", "build": "pp37-win_amd64", "arch": "AMD64"}
166150
- {"os": "windows", "build": "pp38-win_amd64", "arch": "AMD64"}
167151
- {"os": "windows", "build": "pp39-win_amd64", "arch": "AMD64"}
168152
- {"os": "windows", "build": "pp310-win_amd64", "arch": "AMD64"}

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Install
4848
Dependencies
4949
------------
5050

51-
``cytoolz`` supports Python 3.7+ with a common codebase.
51+
``cytoolz`` supports Python 3.8+ with a common codebase.
5252
It is developed in Cython, but requires no dependecies other than CPython
5353
and a C compiler. Like ``toolz``, it is a light weight dependency.
5454

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
'Programming Language :: Cython',
116116
'Programming Language :: Python',
117117
'Programming Language :: Python :: 3',
118-
'Programming Language :: Python :: 3.7',
119118
'Programming Language :: Python :: 3.8',
120119
'Programming Language :: Python :: 3.9',
121120
'Programming Language :: Python :: 3.10',
@@ -132,6 +131,6 @@
132131
],
133132
install_requires=['toolz >= 0.8.0'],
134133
extras_require={'cython': ['cython']},
135-
python_requires=">=3.7",
134+
python_requires=">=3.8",
136135
zip_safe=False,
137136
)

0 commit comments

Comments
 (0)