Skip to content

Commit f772b2f

Browse files
authored
Merge branch 'main' into plip-recyclebin-interface
2 parents 2beae74 + a2c9ab2 commit f772b2f

19 files changed

Lines changed: 253 additions & 45 deletions

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
#
55
# EditorConfig Configuration file, for more details see:

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
[flake8]
55
doctests = 1

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
version: 2
55
updates:

.github/workflows/meta.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
name: Meta
5+
56
on:
67
push:
7-
branches:
8-
- master
9-
- main
10-
pull_request:
11-
branches:
12-
- master
13-
- main
148
workflow_dispatch:
159

1610
##

.github/workflows/test-matrix.yml

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

66
on:
77
push:
8+
workflow_dispatch:
89

910
jobs:
1011
build:
@@ -29,11 +30,15 @@ jobs:
2930
- uses: actions/checkout@v6
3031
with:
3132
persist-credentials: false
32-
- name: Set up Python
33-
uses: actions/setup-python@v6
33+
- name: Install uv + caching
34+
uses: astral-sh/setup-uv@v8.1.0
3435
with:
36+
enable-cache: true
37+
cache-dependency-glob: |
38+
setup.*
39+
tox.ini
40+
pyproject.toml
3541
python-version: ${{ matrix.config[0] }}
36-
allow-prereleases: true
3742

3843
##
3944
# Add extra configuration options in .meta.toml:
@@ -42,25 +47,13 @@ jobs:
4247
# _your own configuration lines_
4348
# """
4449
##
45-
- name: Pip cache
46-
uses: actions/cache@v5
47-
with:
48-
path: ~/.cache/pip
49-
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
50-
restore-keys: |
51-
${{ runner.os }}-pip-${{ matrix.config[0] }}-
52-
${{ runner.os }}-pip-
53-
- name: Install dependencies
54-
run: |
55-
python -m pip install --upgrade pip
56-
pip install tox
5750
- name: Initialize tox
5851
# the bash one-liner below does not work on Windows
5952
if: contains(matrix.os, 'ubuntu')
6053
run: |
61-
if [ `tox list --no-desc -f init|wc -l` = 1 ]; then tox -e init;else true; fi
54+
if [ `uvx tox list --no-desc -f init|wc -l` = 1 ]; then uvx --with tox-uv tox -e init;else true; fi
6255
- name: Test
63-
run: tox -e ${{ matrix.config[2] }}
56+
run: uvx --with tox-uv tox -e ${{ matrix.config[2] }}
6457

6558

6659
##

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
# python related
55
*.egg-info

.meta.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
[meta]
55
template = "default"
6-
commit-id = "2.5.1"
6+
commit-id = "2.8.0"
77

88
[tox]
99
test_matrix = {"6.2" = ["*"]}

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/main/src/plone/meta/default
2+
# https://github.com/plone/meta/tree/2.x/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
ci:
55
autofix_prs: false
@@ -16,7 +16,7 @@ repos:
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black-pre-commit-mirror
19-
rev: 26.1.0
19+
rev: 26.3.1
2020
hooks:
2121
- id: black
2222
- repo: https://github.com/collective/zpretty
@@ -44,7 +44,7 @@ repos:
4444
# """
4545
##
4646
- repo: https://github.com/codespell-project/codespell
47-
rev: v2.4.1
47+
rev: v2.4.2
4848
hooks:
4949
- id: codespell
5050
additional_dependencies:
@@ -69,7 +69,7 @@ repos:
6969
rev: "0.24.0"
7070
hooks:
7171
- id: check-python-versions
72-
args: ['--only', 'setup.py,pyproject.toml']
72+
args: ['--only', 'pyproject.toml,tox.ini']
7373
- repo: https://github.com/collective/i18ndude
7474
rev: "6.3.0"
7575
hooks:

CHANGES.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,58 @@ Changelog
88
99
.. towncrier release notes start
1010
11+
4.0.0 (2026-04-21)
12+
------------------
13+
14+
Bug fixes:
15+
16+
17+
- Add missing `codesample` TinyMCE plugin. @petschki
18+
19+
20+
4.0.0a9 (2026-03-30)
21+
--------------------
22+
23+
Bug fixes:
24+
25+
26+
- Add ``munge_search_term``, ``BAD_CHARS``, and ``MULTISPACE`` as canonical location in ``plone.base.utils``.
27+
Fix multi-word search so all word parts get wildcard prefix matching, not just the last one.
28+
@jensens (#4205)
29+
30+
31+
4.0.0a8 (2026-03-25)
32+
--------------------
33+
34+
New features:
35+
36+
37+
- Add ``plone.base.interfaces.IAddonList``. [maurits] (#4155)
38+
39+
40+
Bug fixes:
41+
42+
43+
- Add ``s`` to default ``valid_tags`` so TinyMCE strikethrough is not stripped on save.
44+
@jensens (#3069)
45+
46+
47+
4.0.0a7 (2026-03-23)
48+
--------------------
49+
50+
New features:
51+
52+
53+
- Add boolean utils: is_truthy (improved), is_falsy and boolean_value. @cekk (#112)
54+
55+
56+
Internal:
57+
58+
59+
- Update configuration files.
60+
[plone devs]
61+
62+
1163
4.0.0a6 (2026-02-26)
1264
--------------------
1365

news/+meta.internal

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

0 commit comments

Comments
 (0)