Skip to content

Commit

Permalink
Drop Python 3.7 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau authored Oct 2, 2024
1 parent 946c198 commit 3febd26
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 27 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ jobs:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
cython-version: ["0.29.37", "3.0.7"]
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy3.7"
- "pypy3.8"
- "pypy3.9"
- "pypy3.10"
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ jobs:
# # This probably isn't the preferred way to do things :shrug:
#
# # PyPy may have issues. Intermittent failures have been seen on:
# # pp37-manylinux_aarch64 pp38-win_amd64
# # pp39-manylinux_aarch64 pp38-win_amd64
#
# pys = ['cp37', 'cp38', 'cp39', 'cp310', 'cp311', 'cp312']
# import itertools
#
# pys = ['cp38', 'cp39', 'cp310', 'cp311', 'cp312']
# pys_arm = ['cp38', 'cp39', 'cp310', 'cp311', 'cp312']
# pypys = ['pp37', 'pp38', 'pp39', 'pp310']
# SKIP = set() # {"pp37-manylinux_aarch64", "pp38-win_amd64"}
# pypys = ['pp38', 'pp39', 'pp310']
# SKIP = set() # {"pp39-manylinux_aarch64", "pp38-win_amd64"}
# combos = []
#
# # Linux
Expand Down Expand Up @@ -63,7 +65,6 @@ jobs:
# 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])):
# skip = "# " if build in SKIP else ""
# print(f' {skip}- {{"os": "{os}", "build": "{build}", "arch": "{arch}"}}')
- {"os": "macos", "build": "cp37-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "cp38-macosx_arm64", "arch": "arm64"}
- {"os": "macos", "build": "cp38-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "cp39-macosx_arm64", "arch": "arm64"}
Expand All @@ -74,20 +75,9 @@ jobs:
- {"os": "macos", "build": "cp311-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "cp312-macosx_arm64", "arch": "arm64"}
- {"os": "macos", "build": "cp312-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "pp37-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "pp38-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "pp39-macosx_x86_64", "arch": "x86_64"}
- {"os": "macos", "build": "pp310-macosx_x86_64", "arch": "x86_64"}
- {"os": "ubuntu", "build": "cp37-manylinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "cp37-manylinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "cp37-manylinux_ppc64le", "arch": "ppc64le"}
- {"os": "ubuntu", "build": "cp37-manylinux_s390x", "arch": "s390x"}
- {"os": "ubuntu", "build": "cp37-manylinux_x86_64", "arch": "x86_64"}
- {"os": "ubuntu", "build": "cp37-musllinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "cp37-musllinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "cp37-musllinux_ppc64le", "arch": "ppc64le"}
- {"os": "ubuntu", "build": "cp37-musllinux_s390x", "arch": "s390x"}
- {"os": "ubuntu", "build": "cp37-musllinux_x86_64", "arch": "x86_64"}
- {"os": "ubuntu", "build": "cp38-manylinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "cp38-manylinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "cp38-manylinux_ppc64le", "arch": "ppc64le"}
Expand Down Expand Up @@ -138,9 +128,6 @@ jobs:
- {"os": "ubuntu", "build": "cp312-musllinux_ppc64le", "arch": "ppc64le"}
- {"os": "ubuntu", "build": "cp312-musllinux_s390x", "arch": "s390x"}
- {"os": "ubuntu", "build": "cp312-musllinux_x86_64", "arch": "x86_64"}
- {"os": "ubuntu", "build": "pp37-manylinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "pp37-manylinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "pp37-manylinux_x86_64", "arch": "x86_64"}
- {"os": "ubuntu", "build": "pp38-manylinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "pp38-manylinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "pp38-manylinux_x86_64", "arch": "x86_64"}
Expand All @@ -150,8 +137,6 @@ jobs:
- {"os": "ubuntu", "build": "pp310-manylinux_aarch64", "arch": "aarch64"}
- {"os": "ubuntu", "build": "pp310-manylinux_i686", "arch": "i686"}
- {"os": "ubuntu", "build": "pp310-manylinux_x86_64", "arch": "x86_64"}
- {"os": "windows", "build": "cp37-win32", "arch": "x86"}
- {"os": "windows", "build": "cp37-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "cp38-win32", "arch": "x86"}
- {"os": "windows", "build": "cp38-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "cp39-win32", "arch": "x86"}
Expand All @@ -162,7 +147,6 @@ jobs:
- {"os": "windows", "build": "cp311-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "cp312-win32", "arch": "x86"}
- {"os": "windows", "build": "cp312-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "pp37-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "pp38-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "pp39-win_amd64", "arch": "AMD64"}
- {"os": "windows", "build": "pp310-win_amd64", "arch": "AMD64"}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Install
Dependencies
------------

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

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
'Programming Language :: Cython',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand All @@ -132,6 +131,6 @@
],
install_requires=['toolz >= 0.8.0'],
extras_require={'cython': ['cython']},
python_requires=">=3.7",
python_requires=">=3.8",
zip_safe=False,
)

0 comments on commit 3febd26

Please sign in to comment.