Skip to content

Commit 495c080

Browse files
committed
- use latest zope.meta templates
1 parent 6326b4d commit 495c080

6 files changed

Lines changed: 27 additions & 30 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
name: linting
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
25-
- uses: actions/setup-python@v5
24+
- uses: actions/checkout@v5
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: 3.x
2828
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1

.github/workflows/tests.yml

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ env:
5656
ZOPE_INTERFACE_STRICT_IRO: 1
5757

5858
PIP_UPGRADE_STRATEGY: eager
59-
# Don't get warnings about Python 2 support being deprecated. We
60-
# know. The env var works for pip 20.
61-
PIP_NO_PYTHON_VERSION_WARNING: 1
62-
PIP_NO_WARN_SCRIPT_LOCATION: 1
6359

6460
CFLAGS: -O3 -pipe
6561
CXXFLAGS: -O3 -pipe
@@ -96,7 +92,7 @@ jobs:
9692
fail-fast: false
9793
matrix:
9894
python-version:
99-
- "pypy-3.10"
95+
- "pypy-3.11"
10096
- "3.9"
10197
- "3.10"
10298
- "3.11"
@@ -106,15 +102,15 @@ jobs:
106102
os: [ubuntu-latest, macos-latest, windows-latest]
107103
exclude:
108104
- os: macos-latest
109-
python-version: "pypy-3.10"
105+
python-version: "pypy-3.11"
110106

111107
steps:
112108
- name: checkout
113-
uses: actions/checkout@v4
109+
uses: actions/checkout@v5
114110
with:
115111
persist-credentials: false
116112
- name: Set up Python ${{ matrix.python-version }}
117-
uses: actions/setup-python@v5
113+
uses: actions/setup-python@v6
118114
with:
119115
python-version: ${{ matrix.python-version }}
120116
allow-prereleases: true
@@ -158,12 +154,12 @@ jobs:
158154
if: matrix.python-version == '3.14'
159155
run: |
160156
pip install -U pip
161-
pip install -U "setuptools <= 75.6.0" wheel twine
157+
pip install -U "setuptools >= 78.1.1,< 81" wheel twine
162158
- name: Install Build Dependencies
163159
if: matrix.python-version != '3.14'
164160
run: |
165161
pip install -U pip
166-
pip install -U "setuptools <= 75.6.0" wheel twine
162+
pip install -U "setuptools >= 78.1.1,< 81" wheel twine
167163
168164
- name: Build persistent (macOS x86_64)
169165
if: >
@@ -212,6 +208,7 @@ jobs:
212208
if: matrix.python-version != '3.14'
213209
run: |
214210
# Install to collect dependencies into the (pip) cache.
211+
pip install -U pip "setuptools >= 78.1.1,< 81"
215212
pip install .[test]
216213
217214
- name: Check persistent build
@@ -265,7 +262,7 @@ jobs:
265262
fail-fast: false
266263
matrix:
267264
python-version:
268-
- "pypy-3.10"
265+
- "pypy-3.11"
269266
- "3.9"
270267
- "3.10"
271268
- "3.11"
@@ -275,15 +272,15 @@ jobs:
275272
os: [ubuntu-latest, macos-latest, windows-latest]
276273
exclude:
277274
- os: macos-latest
278-
python-version: "pypy-3.10"
275+
python-version: "pypy-3.11"
279276

280277
steps:
281278
- name: checkout
282-
uses: actions/checkout@v4
279+
uses: actions/checkout@v5
283280
with:
284281
persist-credentials: false
285282
- name: Set up Python ${{ matrix.python-version }}
286-
uses: actions/setup-python@v5
283+
uses: actions/setup-python@v6
287284
with:
288285
python-version: ${{ matrix.python-version }}
289286
allow-prereleases: true
@@ -331,7 +328,7 @@ jobs:
331328
- name: Install persistent ${{ matrix.python-version }}
332329
if: matrix.python-version == '3.14'
333330
run: |
334-
pip install -U wheel "setuptools <= 75.6.0"
331+
pip install -U wheel "setuptools >= 78.1.1,< 81"
335332
# coverage might have a wheel on PyPI for a future python version which is
336333
# not ABI compatible with the current one, so build it from sdist:
337334
pip install -U --no-binary :all: coverage[toml]
@@ -346,7 +343,7 @@ jobs:
346343
- name: Install persistent
347344
if: matrix.python-version != '3.14'
348345
run: |
349-
pip install -U wheel "setuptools <= 75.6.0"
346+
pip install -U wheel "setuptools >= 78.1.1,< 81"
350347
pip install -U coverage[toml]
351348
pip install -U 'cffi; platform_python_implementation == "CPython"'
352349
# Unzip into src/ so that testrunner can find the .so files
@@ -395,11 +392,11 @@ jobs:
395392

396393
steps:
397394
- name: checkout
398-
uses: actions/checkout@v4
395+
uses: actions/checkout@v5
399396
with:
400397
persist-credentials: false
401398
- name: Set up Python ${{ matrix.python-version }}
402-
uses: actions/setup-python@v5
399+
uses: actions/setup-python@v6
403400
with:
404401
python-version: ${{ matrix.python-version }}
405402
allow-prereleases: true
@@ -466,11 +463,11 @@ jobs:
466463

467464
steps:
468465
- name: checkout
469-
uses: actions/checkout@v4
466+
uses: actions/checkout@v5
470467
with:
471468
persist-credentials: false
472469
- name: Set up Python ${{ matrix.python-version }}
473-
uses: actions/setup-python@v5
470+
uses: actions/setup-python@v6
474471
with:
475472
python-version: ${{ matrix.python-version }}
476473
allow-prereleases: true
@@ -537,11 +534,11 @@ jobs:
537534

538535
steps:
539536
- name: checkout
540-
uses: actions/checkout@v4
537+
uses: actions/checkout@v5
541538
with:
542539
persist-credentials: false
543540
- name: Set up Python ${{ matrix.python-version }}
544-
uses: actions/setup-python@v5
541+
uses: actions/setup-python@v6
545542
with:
546543
python-version: ${{ matrix.python-version }}
547544
allow-prereleases: true

.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/c-code
33
[meta]
44
template = "c-code"
5-
commit-id = "7d59ab0f"
5+
commit-id = "bfe21cd9"
66

77
[python]
88
with-windows = true

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: autopep8
1313
args: [--in-place, --aggressive, --aggressive]
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.19.1
15+
rev: v3.20.0
1616
hooks:
1717
- id: pyupgrade
1818
args: [--py39-plus]
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: teyit
2323
- repo: https://github.com/PyCQA/flake8
24-
rev: "7.2.0"
24+
rev: "7.3.0"
2525
hooks:
2626
- id: flake8
2727
additional_dependencies:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[build-system]
66
requires = [
7-
"setuptools <= 75.6.0",
7+
"setuptools",
88
"wheel",
99
"cffi; platform_python_implementation == 'CPython'",
1010
]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ envlist =
1818
[testenv]
1919
pip_pre = py314: true
2020
deps =
21-
setuptools <= 75.6.0
21+
setuptools >= 78.1.1,< 81
2222
Sphinx
2323
setenv =
2424
pure: PURE_PYTHON=1
@@ -55,7 +55,7 @@ description = ensure that the distribution is ready to release
5555
basepython = python3
5656
skip_install = true
5757
deps =
58-
setuptools <= 75.6.0
58+
setuptools
5959
wheel
6060
cffi; platform_python_implementation == 'CPython'
6161
twine

0 commit comments

Comments
 (0)