Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.8. #83

Merged
merged 3 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
config:
# [Python version, tox env]
- ["3.11", "release-check"]
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "fd6b76c6"
commit-id = "d1a00d25"

[python]
with-pypy = true
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repos:
- id: autopep8
args: [--in-place, --aggressive, --aggressive]
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/isidentical/teyit
rev: 0.4.3
hooks:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
7.2 (unreleased)
================

- Drop support for Python 3.8.

- Replace deprecated multipart argument ``memfile_limit`` with ``spool_limit``

- Increase the default value of ``part_limit`` for ``multipart`` to 1024 as 128
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python

[build-system]
requires = ["setuptools<74"]
requires = ["setuptools <= 75.6.0"]
build-backend = "setuptools.build_meta"

[tool.coverage.run]
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def read(*rnames):
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
Expand Down Expand Up @@ -96,5 +95,5 @@ def read(*rnames):
entry_points=entry_points,
include_package_data=True,
zip_safe=False,
python_requires='>=3.8',
python_requires='>=3.9',
)
2 changes: 1 addition & 1 deletion src/zope/publisher/configure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ packages are installed because of the use of

>>> try:
... import zope.annotation
... except ImportError:
... except ModuleNotFoundError:
... expected_count = 22
... else:
... expected_count = 23
Expand Down
2 changes: 1 addition & 1 deletion src/zope/publisher/ftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ def unauthorized(self, challenge):
# BBB
try:
from zope.login.ftp import FTPAuth # noqa: F401 import unused
except ImportError:
except ModuleNotFoundError:
pass
2 changes: 1 addition & 1 deletion src/zope/publisher/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,5 +1096,5 @@ def __iter__(self):
# BBB
try:
from zope.login.http import BasicAuthAdapter # noqa: F401 import unused
except ImportError:
except ModuleNotFoundError:
pass
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ minversion = 3.18
envlist =
release-check
lint
py38
py39
py310
py311
Expand All @@ -20,7 +19,7 @@ usedevelop = true
package = wheel
wheel_build_env = .pkg
deps =
setuptools <74
setuptools <= 75.6.0
setenv =
ZOPE_INTERFACE_STRICT_IRO=1
commands =
Expand All @@ -38,7 +37,7 @@ description = ensure that the distribution is ready to release
basepython = python3
skip_install = true
deps =
setuptools <74
setuptools <= 75.6.0
twine
build
check-manifest
Expand Down
Loading