Skip to content

Commit

Permalink
Drop unsupported Python versions
Browse files Browse the repository at this point in the history
Signed-off-by: Gábor Lipták <[email protected]>
  • Loading branch information
gliptak committed Oct 11, 2023
1 parent 9fef85a commit d138629
Show file tree
Hide file tree
Showing 7 changed files with 255 additions and 101 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python-version:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.6"
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ This builds a standard wordcount function from pieces within ``toolz``:
Dependencies
------------

``toolz`` supports Python 3.5+ with a common codebase.
``toolz`` supports Python 3.8+ with a common codebase.
It is pure Python and requires no dependencies beyond the standard
library.

Expand Down
2 changes: 1 addition & 1 deletion doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ three ways:

1. Toolz is pure Python
2. Toolz relies only on the standard library
3. Toolz simultaneously supports Python versions 3.5+ and PyPy
3. Toolz simultaneously supports Python versions 3.8+ and PyPy
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@
long_description=(open('README.rst').read() if exists('README.rst')
else ''),
zip_safe=False,
python_requires=">=3.5",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"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",
Expand Down
5 changes: 2 additions & 3 deletions toolz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@

functoolz._sigs.create_signature_registry()

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit d138629

Please sign in to comment.