Skip to content

Commit b3a8d51

Browse files
authored
Merge pull request #105 from collective/config-with-plone-meta-2.4.0
Plone 6.2 only support
2 parents 4fc2545 + cd1ff61 commit b3a8d51

121 files changed

Lines changed: 70 additions & 108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[report]
22
include =
3-
plone/*
3+
src/plone/*
44

55
omit =
66
*/test*

.github/workflows/plone-package-test.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/test-matrix.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Generated from:
22
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
4-
name: tests
4+
name: Tests
55

66
on:
77
push:
@@ -19,27 +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"]
22+
- ["3.14", "6.2 on py3.14", "py314-plone62"]
2323
- ["3.10", "6.2 on py3.10", "py310-plone62"]
24-
- ["3.13", "6.1 on py3.13", "py313-plone61"]
25-
- ["3.10", "6.1 on py3.10", "py310-plone61"]
26-
- ["3.9", "6.0 on py3.9", "py39-plone60"]
27-
- ["3.13", "6.0 on py3.13", "py313-plone60"]
2824

2925
runs-on: ${{ matrix.os[1] }}
3026
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
3127
name: ${{ matrix.config[1] }}
3228
steps:
33-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v6
3430
with:
3531
persist-credentials: false
3632
- name: Set up Python
3733
uses: actions/setup-python@v6
3834
with:
3935
python-version: ${{ matrix.config[0] }}
4036
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+
##
4145
- name: Pip cache
42-
uses: actions/cache@v4
46+
uses: actions/cache@v5
4347
with:
4448
path: ~/.cache/pip
4549
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
@@ -50,5 +54,19 @@ jobs:
5054
run: |
5155
python -m pip install --upgrade pip
5256
pip install tox
57+
- name: Initialize tox
58+
# the bash one-liner below does not work on Windows
59+
if: contains(matrix.os, 'ubuntu')
60+
run: |
61+
if [ `tox list --no-desc -f init|wc -l` = 1 ]; then tox -e init;else true; fi
5362
- name: Test
5463
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +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.4.0"
7+
8+
[tox]
9+
test_matrix = {"6.2" = ["*"]}
710

811
[pyproject]
912
codespell_skip = "*.min.js,*.min.js.map,*.svg,yarn.lock"

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ 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]
1414
- repo: https://github.com/pycqa/isort
15-
rev: 7.0.0
15+
rev: 8.0.0
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black-pre-commit-mirror
19-
rev: 25.9.0
19+
rev: 26.1.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

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
recursive-include resources *.js
2-
recursive-include plone *
2+
recursive-include src *
33
recursive-include docs *
4+
recursive-include news *
45
include *
56
global-exclude *.pyc
67
exclude *.toml

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ IMAGE_NAME=${PROJECT_NAME}
3838
CONSTRAINTS_IN=constraints.txt
3939
CONSTRAINTS_MXDEV=constraints-mxdev.txt
4040
PIP_REQUIREMENTS_IN_FILE=requirements.txt
41-
ADDONBASE=./
41+
ADDONBASE=./src
4242
ADDONFOLDER=${ADDONBASE}
4343
INSTANCE_YAML=instance.yaml
4444
INSTANCE_FOLDER=instance

README.rst

Lines changed: 2 additions & 1 deletion

plone/formwidget/geolocation/tests/__init__.py renamed to news/+update.breaking

File renamed without changes.

news/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)