Skip to content

Commit d285142

Browse files
authored
Use latest zope.meta templates, drop Python 3.9, add Python 3.14 (#417)
1 parent c6f82be commit d285142

14 files changed

Lines changed: 48 additions & 47 deletions

.editorconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
#
44
# EditorConfig Configuration file, for more details see:
5-
# http://EditorConfig.org
5+
# https://EditorConfig.org
66
# EditorConfig is a convention description, that could be interpreted
77
# by multiple editors to enforce common coding conventions for specific
88
# file types
@@ -12,7 +12,7 @@
1212
root = true
1313

1414

15-
[*] # For All Files
15+
[*]
1616
# Unix-style newlines with a newline ending every file
1717
end_of_line = lf
1818
insert_final_newline = true

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
name: pre-commit
44

55
on:
@@ -21,10 +21,10 @@ jobs:
2121
name: linting
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v5
24+
- uses: actions/checkout@v6
2525
- uses: actions/setup-python@v6
2626
with:
27-
python-version: 3.x
27+
python-version: '3.13'
2828
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1
2929
with:
3030
extra_args: --all-files --show-diff-on-failure

.github/workflows/tests.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
name: tests
44

55
on:
@@ -25,11 +25,11 @@ jobs:
2525
config:
2626
# [Python version, tox env]
2727
- ["3.11", "release-check"]
28-
- ["3.9", "py39"]
2928
- ["3.10", "py310"]
3029
- ["3.11", "py311"]
3130
- ["3.12", "py312"]
3231
- ["3.13", "py313"]
32+
- ["3.14", "py314"]
3333
- ["pypy-3.11", "pypy3"]
3434
- ["3.11", "docs"]
3535
- ["3.11", "coverage"]
@@ -43,24 +43,21 @@ jobs:
4343
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
4444
name: ${{ matrix.os[0] }}-${{ matrix.config[1] }}
4545
steps:
46-
- uses: actions/checkout@v5
46+
- uses: actions/checkout@v6
4747
with:
4848
persist-credentials: false
4949
- name: Install uv + caching
50-
uses: astral-sh/setup-uv@v6
50+
# astral/setup-uv@7.2.0
51+
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b
5152
with:
5253
enable-cache: true
5354
cache-dependency-glob: |
5455
setup.*
5556
tox.ini
56-
python-version: ${{ matrix.matrix.config[0] }}
57+
python-version: ${{ matrix.config[0] }}
5758
github-token: ${{ secrets.GITHUB_TOKEN }}
5859
- name: Test
59-
if: ${{ !startsWith(runner.os, 'Mac') }}
6060
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}
61-
- name: Test (macOS)
62-
if: ${{ startsWith(runner.os, 'Mac') }}
63-
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}-universal2
6461
- name: Coverage
6562
if: matrix.config[1] == 'coverage'
6663
run: |

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
*.dll
44
*.egg-info/
55
*.profraw

.meta.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
[meta]
44
template = "pure-python"
5-
commit-id = "b3663390"
5+
commit-id = "f6df9072"
66

77
[python]
88
with-windows = true

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
minimum_pre_commit_version: '3.6'
44
repos:
55
- repo: https://github.com/pycqa/isort
6-
rev: "6.0.1"
6+
rev: "7.0.0"
77
hooks:
88
- id: isort
99
- repo: https://github.com/hhatto/autopep8
@@ -12,10 +12,10 @@ repos:
1212
- id: autopep8
1313
args: [--in-place, --aggressive, --aggressive]
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.20.0
15+
rev: v3.21.2
1616
hooks:
1717
- id: pyupgrade
18-
args: [--py39-plus]
18+
args: [--py310-plus]
1919
- repo: https://github.com/isidentical/teyit
2020
rev: 0.4.3
2121
hooks:

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
# Read the Docs configuration file
44
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
55

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
6.2 (unreleased)
66
================
77

8+
- Add support for Python 3.14.
9+
10+
- Drop support for Python 3.9.
11+
812

913
6.1 (2025-10-01)
1014
================

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
2-
Generated from:
3-
https://github.com/zopefoundation/meta/tree/master/config/pure-python
2+
Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3+
https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
44
-->
55
# Contributing to zopefoundation projects
66

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Generated from:
2-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
1+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
33
include *.md
44
include *.rst
55
include *.txt

0 commit comments

Comments
 (0)