Skip to content

Commit 19eaf22

Browse files
authored
Drop support for Python 3.7 (#66)
1 parent 854d1cc commit 19eaf22

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,14 @@ jobs:
2020
- ["ubuntu", "ubuntu-latest"]
2121
config:
2222
# [Python version, tox env]
23-
- ["3.9", "release-check"]
24-
- ["3.9", "lint"]
25-
- ["3.7", "py37"]
23+
- ["3.11", "release-check"]
24+
- ["3.11", "lint"]
2625
- ["3.8", "py38"]
2726
- ["3.9", "py39"]
2827
- ["3.10", "py310"]
2928
- ["3.11", "py311"]
3029
- ["3.12", "py312"]
31-
- ["3.9", "coverage"]
30+
- ["3.11", "coverage"]
3231

3332
runs-on: ${{ matrix.os[1] }}
3433
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
@@ -52,7 +51,11 @@ jobs:
5251
python -m pip install --upgrade pip
5352
pip install tox
5453
- name: Test
54+
if: ${{ !startsWith(runner.os, 'Mac') }}
5555
run: tox -e ${{ matrix.config[1] }}
56+
- name: Test (macOS)
57+
if: ${{ startsWith(runner.os, 'Mac') }}
58+
run: tox -e ${{ matrix.config[1] }}-universal2
5659
- name: Coverage
5760
if: matrix.config[1] == 'coverage'
5861
run: |

.meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
33
[meta]
44
template = "zope-product"
5-
commit-id = "4dc0484e"
5+
commit-id = "b1221c3c"
66

77
[python]
88
with-pypy = false

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Changelog
88

99
- Add support for Python 3.12.
1010

11+
- Drop support for Python 3.7.
12+
1113

1214
5.0 (2023-02-01)
1315
----------------

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,14 @@
4444
'Operating System :: OS Independent',
4545
'Programming Language :: Python',
4646
'Programming Language :: Python :: 3',
47-
'Programming Language :: Python :: 3.7',
4847
'Programming Language :: Python :: 3.8',
4948
'Programming Language :: Python :: 3.9',
5049
'Programming Language :: Python :: 3.10',
5150
'Programming Language :: Python :: 3.11',
5251
'Programming Language :: Python :: 3.12',
5352
'Programming Language :: Python :: Implementation :: CPython',
5453
],
55-
python_requires='>=3.7',
54+
python_requires='>=3.8',
5655
install_requires=[
5756
'setuptools',
5857
'AccessControl',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ minversion = 3.18
55
envlist =
66
release-check
77
lint
8-
py37
98
py38
109
py39
1110
py310
@@ -26,6 +25,7 @@ commands_pre =
2625
{envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
2726
commands =
2827
{envbindir}/test {posargs:-cv}
28+
2929
[testenv:release-check]
3030
description = ensure that the distribution is ready to release
3131
basepython = python3

0 commit comments

Comments
 (0)