Skip to content

Commit 4baef25

Browse files
committed
Preliminary support for Python 3.13a3
1 parent 9d00e1b commit 4baef25

File tree

8 files changed

+22
-13
lines changed

8 files changed

+22
-13
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- ["3.10", "py310"]
3131
- ["3.11", "py311"]
3232
- ["3.12", "py312"]
33+
- ["3.13.0-alpha - 3.13.0", "py313"]
3334
- ["3.9", "docs"]
3435
- ["3.9", "coverage"]
3536
exclude:
@@ -45,18 +46,19 @@ jobs:
4546
# which causes build and package selection issues.
4647
- { os: ["macos", "macos-11"], config: ["3.11", "py311"] }
4748
- { os: ["macos", "macos-11"], config: ["3.12", "py312"] }
49+
- { os: ["macos", "macos-11"], config: ["3.13.0-alpha - 3.13.0", "py313"] }
4850

4951
runs-on: ${{ matrix.os[1] }}
5052
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
5153
name: ${{ matrix.os[0] }}-${{ matrix.config[1] }}
5254
steps:
53-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5456
- name: Set up Python
55-
uses: actions/setup-python@v4
57+
uses: actions/setup-python@v5
5658
with:
5759
python-version: ${{ matrix.config[0] }}
5860
- name: Pip cache
59-
uses: actions/cache@v3
61+
uses: actions/cache@v4
6062
with:
6163
path: ~/.cache/pip
6264
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}

.meta.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
33
[meta]
44
template = "zope-product"
5-
commit-id = "cb0568c7"
5+
commit-id = "74a0f0f2"
66

77
[python]
88
with-pypy = false
99
with-docs = true
1010
with-sphinx-doctests = false
1111
with-windows = true
1212
with-macos = true
13-
with-future-python = false
13+
with-future-python = true
1414

1515
[coverage]
1616
fail-under = 80

buildout.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ parts =
1717
sources-dir = develop
1818
root-directory = ${buildout:directory}
1919
auto-checkout =
20+
AccessControl
21+
Persistence
22+
zodbpickle
23+
zope.interface
24+
zope.proxy
25+
zope.security
2026

2127
[testenv]
2228
PYTHONHASHSEED = random

constraints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AccessControl==6.3
2-
Acquisition==5.1
2+
Acquisition==5.2
33
AuthEncoding==5.0
44
BTrees==5.1
55
Chameleon==4.2.0
@@ -22,7 +22,7 @@ beautifulsoup4==4.12.2
2222
cffi==1.15.1; python_version == '3.7'
2323
cffi==1.16.0; python_version > '3.7'
2424
multipart==0.2.4
25-
persistent==5.1
25+
persistent==5.2
2626
pycparser==2.21
2727
python-gettext==5.0
2828
pytz==2023.3.post1

requirements-full.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-e git+https://github.com/zopefoundation/Zope.git@master#egg=Zope
22
AccessControl==6.3
3-
Acquisition==5.1
3+
Acquisition==5.2
44
AuthEncoding==5.0
55
BTrees==5.1
66
Chameleon==4.2.0
@@ -23,7 +23,7 @@ beautifulsoup4==4.12.2
2323
cffi==1.15.1; python_version == '3.7'
2424
cffi==1.16.0; python_version > '3.7'
2525
multipart==0.2.4
26-
persistent==5.1
26+
persistent==5.2
2727
pycparser==2.21
2828
python-gettext==5.0
2929
pytz==2023.3.post1

sources.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Products.SiteErrorLog = git ${remotes:github}/Products.SiteErrorLog pushurl=${re
3232
Record = git ${remotes:github}/Record pushurl=${remotes:github_push}/Record
3333

3434
# ZTK
35+
persistent = git ${remotes:github}/persistent
3536
zodbpickle = git ${remotes:github}/zodbpickle
3637
zope.annotation = git ${remotes:github}/zope.annotation
3738
zope.browser = git ${remotes:github}/zope.browser

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ envlist =
1111
py310
1212
py311
1313
py312
14+
py313
1415
docs
1516
coverage
1617
pre-commit
@@ -52,7 +53,6 @@ deps =
5253
commands =
5354
autopep8 --verbose --in-place --recursive --aggressive --aggressive {toxinidir}/src setup.py
5455
docformatter --in-place --recursive {toxinidir}/src setup.py
55-
5656
[testenv:release-check]
5757
description = ensure that the distribution is ready to release
5858
basepython = python3
@@ -66,7 +66,7 @@ deps =
6666
commands_pre =
6767
commands =
6868
check-manifest
69-
check-python-versions
69+
check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
7070
python -m build --sdist --no-isolation
7171
twine check dist/*
7272

versions-prod.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Zope =
66
Zope2 = 4.0
77
AccessControl = 6.3
8-
Acquisition = 5.1
8+
Acquisition = 5.2
99
AuthEncoding = 5.0
1010
BTrees = 5.1
1111
Chameleon = 4.2.0
@@ -25,7 +25,7 @@ ZODB = 5.8.1
2525
beautifulsoup4 = 4.12.2
2626
cffi = 1.16.0
2727
multipart = 0.2.4
28-
persistent = 5.1
28+
persistent = 5.2
2929
pycparser = 2.21
3030
python-gettext = 5.0
3131
pytz = 2023.3.post1

0 commit comments

Comments
 (0)