Skip to content

Commit 9792430

Browse files
committed
- drop support for Python 3.9, move metadata to pyproject.toml
1 parent b1e381d commit 9792430

23 files changed

Lines changed: 120 additions & 200 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: 5 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,7 +25,6 @@ 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"]
@@ -43,12 +42,12 @@ jobs:
4342
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
4443
name: ${{ matrix.os[0] }}-${{ matrix.config[1] }}
4544
steps:
46-
- uses: actions/checkout@v5
45+
- uses: actions/checkout@v6
4746
with:
4847
persist-credentials: false
4948
- name: Install uv + caching
50-
# astral/setup-uv@7
51-
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d
49+
# astral/setup-uv@8.1.0
50+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
5251
with:
5352
enable-cache: true
5453
cache-dependency-glob: |
@@ -57,11 +56,7 @@ jobs:
5756
python-version: ${{ matrix.config[0] }}
5857
github-token: ${{ secrets.GITHUB_TOKEN }}
5958
- name: Test
60-
if: ${{ !startsWith(runner.os, 'Mac') }}
6159
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}
62-
- name: Test (macOS)
63-
if: ${{ startsWith(runner.os, 'Mac') }}
64-
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}-universal2
6560
- name: Coverage
6661
if: matrix.config[1] == 'coverage'
6762
run: |

.gitignore

Lines changed: 3 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
@@ -28,5 +28,6 @@ lib64
2828
log/
2929
parts/
3030
pyvenv.cfg
31+
share/
3132
testing.log
3233
var/

.meta.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
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 = "72252845"
5+
commit-id = "ba10c93f"
66

77
[python]
88
with-pypy = false
99
with-docs = true
1010
with-sphinx-doctests = true
1111
with-windows = true
12-
with-future-python = true
12+
with-future-python = false
1313
with-macos = false
14+
with-free-threaded-python = false
1415

1516
[tox]
1617
use-flake8 = true
@@ -47,15 +48,15 @@ testenv-additional = [
4748
" coverage combine",
4849
" coverage html",
4950
" coverage report -m --fail-under=100",
50-
"depends = py39,py310,py311,py311-datetime,py312,py313,py314,coverage",
51+
"depends = py310,py311,py311-datetime,py312,py313,py314,coverage",
5152
]
5253
coverage-command = "pytest --cov=src --cov=tests --cov-report= tests {posargs}"
5354
coverage-setenv = [
5455
"COVERAGE_FILE=.coverage",
5556
]
5657

5758
[coverage]
58-
fail-under = 97.2
59+
fail-under = 97.1
5960

6061
[isort]
6162
additional-sources = "{toxinidir}/tests"

.pre-commit-config.yaml

Lines changed: 6 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: "7.0.0"
6+
rev: "8.0.1"
77
hooks:
88
- id: isort
99
- repo: https://github.com/hhatto/autopep8
@@ -12,14 +12,15 @@ repos:
1212
- id: autopep8
1313
args: [--in-place, --aggressive, --aggressive]
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.21.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:
2222
- id: teyit
23+
language_version: python3.13
2324
- repo: https://github.com/PyCQA/flake8
2425
rev: "7.3.0"
2526
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ Changes
44
8.2 (unreleased)
55
----------------
66

7-
- Nothing changed yet.
7+
- Move package metadata from setup.py to pyproject.toml.
8+
9+
- Drop support for Python 3.9.
10+
811

912
8.1 (2025-10-19)
1013
----------------

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)