Skip to content

Commit db4f023

Browse files
authored
Merge pull request #299 from plone/do-not-test-6.2
Do not test 6.2
2 parents 4dd1fc1 + bd32999 commit db4f023

5 files changed

Lines changed: 35 additions & 23 deletions

File tree

.github/workflows/test-matrix.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,31 @@ jobs:
1919
- ["ubuntu", "ubuntu-latest"]
2020
config:
2121
# [Python version, visual name, tox env]
22-
- ["3.13", "6.2 on py3.13", "py313-plone62"]
23-
- ["3.10", "6.2 on py3.10", "py310-plone62"]
2422
- ["3.13", "6.1 on py3.13", "py313-plone61"]
2523
- ["3.10", "6.1 on py3.10", "py310-plone61"]
2624

2725
runs-on: ${{ matrix.os[1] }}
2826
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
2927
name: ${{ matrix.config[1] }}
3028
steps:
31-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v6
3230
with:
3331
persist-credentials: false
3432
- name: Set up Python
3533
uses: actions/setup-python@v6
3634
with:
3735
python-version: ${{ matrix.config[0] }}
3836
allow-prereleases: true
37+
38+
##
39+
# Add extra configuration options in .meta.toml:
40+
# [github]
41+
# extra_lines_after_os_dependencies = """
42+
# _your own configuration lines_
43+
# """
44+
##
3945
- name: Pip cache
40-
uses: actions/cache@v4
46+
uses: actions/cache@v5
4147
with:
4248
path: ~/.cache/pip
4349
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
@@ -55,3 +61,12 @@ jobs:
5561
if [ `tox list --no-desc -f init|wc -l` = 1 ]; then tox -e init;else true; fi
5662
- name: Test
5763
run: tox -e ${{ matrix.config[2] }}
64+
65+
66+
##
67+
# Add extra configuration options in .meta.toml:
68+
# [github]
69+
# extra_lines = """
70+
# _your own configuration lines_
71+
# """
72+
##

.meta.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# See the inline comments on how to expand/tweak this configuration file
44
[meta]
55
template = "default"
6-
commit-id = "2.0.1.dev0"
6+
commit-id = "2.3.2"
77

88
[pyproject]
99
dependencies_ignores = "['Products.LinguaPlone.interfaces.ITranslatable', 'collective.akismet', 'collective.z3cform.norobots', 'plone.formwidget.captcha', 'plone.formwidget.recaptcha', 'plone.formwidget.hcaptcha', 'plone.contentrules', 'plone.app.contentrules', 'plone.restapi', 'plone.stringinterp', 'plone.app.collection']"
1010

1111
[tox]
12-
test_matrix = { "6.2" = ["3.13", "3.12", "3.11", "3.10"], "6.1" = ["3.13", "3.12", "3.11", "3.10"] }
12+
test_matrix = { "6.1" = ["*"] }

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77

88
repos:
99
- repo: https://github.com/asottile/pyupgrade
10-
rev: v3.21.0
10+
rev: v3.21.2
1111
hooks:
1212
- id: pyupgrade
1313
args: [--py38-plus]
@@ -16,7 +16,7 @@ repos:
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black-pre-commit-mirror
19-
rev: 25.9.0
19+
rev: 25.12.0
2020
hooks:
2121
- id: black
2222
- repo: https://github.com/collective/zpretty
@@ -62,16 +62,16 @@ repos:
6262
hooks:
6363
- id: check-manifest
6464
- repo: https://github.com/regebro/pyroma
65-
rev: "5.0"
65+
rev: "5.0.1"
6666
hooks:
6767
- id: pyroma
6868
- repo: https://github.com/mgedmin/check-python-versions
69-
rev: "0.23.0"
69+
rev: "0.24.0"
7070
hooks:
7171
- id: check-python-versions
7272
args: ['--only', 'setup.py,pyproject.toml']
7373
- repo: https://github.com/collective/i18ndude
74-
rev: "6.2.1"
74+
rev: "6.3.0"
7575
hooks:
7676
- id: i18ndude
7777

news/+meta.internal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update configuration files.
2+
[plone devs]

tox.ini

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ min_version = 4.4.0
77
envlist =
88
lint
99
test
10-
py313-plone62
11-
py312-plone62
12-
py311-plone62
13-
py310-plone62
1410
py313-plone61
1511
py312-plone61
1612
py311-plone61
@@ -21,10 +17,11 @@ envlist =
2117
##
2218
# Add extra configuration options in .meta.toml:
2319
# - to specify a custom testing combination of Plone and python versions, use `test_matrix`
20+
# Use ["*"] to use all supported Python versions for this Plone version.
2421
# - to specify extra custom environments, use `envlist_lines`
2522
# - to specify extra `tox` top-level options, use `config_lines`
2623
# [tox]
27-
# test_matrix = {"6.2" = ["3.13", "3.12"], "6.1" = ["3.10", "3.9"]}
24+
# test_matrix = {"6.2" = ["3.13", "3.12"], "6.1" = ["*"]}
2825
# envlist_lines = """
2926
# my_other_environment
3027
# """
@@ -65,6 +62,7 @@ description = check if the package defines all its dependencies
6562
skip_install = true
6663
deps =
6764
build
65+
setuptools<82.0.0
6866
z3c.dependencychecker==2.14.3
6967
commands =
7068
python -m build --sdist
@@ -115,7 +113,6 @@ set_env =
115113
##
116114
deps =
117115
{[test_runner]deps}
118-
plone62: -c https://dist.plone.org/release/6.2-dev/constraints.txt
119116
plone61: -c https://dist.plone.org/release/6.1-dev/constraints.txt
120117

121118
##
@@ -156,7 +153,7 @@ constrain_package_deps = {[base]constrain_package_deps}
156153
set_env = {[base]set_env}
157154
deps =
158155
{[test_runner]deps}
159-
-c https://dist.plone.org/release/6.2-dev/constraints.txt
156+
-c https://dist.plone.org/release/6.1-dev/constraints.txt
160157

161158
commands = {[test_runner]test}
162159
extras = {[base]extras}
@@ -182,7 +179,7 @@ set_env = {[base]set_env}
182179
deps =
183180
{[test_runner]deps}
184181
coverage
185-
-c https://dist.plone.org/release/6.2-dev/constraints.txt
182+
-c https://dist.plone.org/release/6.1-dev/constraints.txt
186183

187184
commands = {[test_runner]coverage}
188185
extras = {[base]extras}
@@ -195,8 +192,7 @@ deps =
195192
twine
196193
build
197194
towncrier
198-
-c https://dist.plone.org/release/6.2-dev/constraints.txt
199-
195+
-c https://dist.plone.org/release/6.1-dev/constraints.txt
200196
commands =
201197
# fake version to not have to install the package
202198
# we build the change log as news entries might break
@@ -226,8 +222,7 @@ allowlist_externals =
226222
deps =
227223
pipdeptree
228224
pipforester
229-
-c https://dist.plone.org/release/6.2-dev/constraints.txt
230-
225+
-c https://dist.plone.org/release/6.1-dev/constraints.txt
231226
commands =
232227
# Generate the full dependency tree
233228
sh -c 'pipdeptree -j > forest.json'

0 commit comments

Comments
 (0)