Skip to content

Commit 4cc885e

Browse files
committed
update plone/meta
1 parent 761f3f6 commit 4cc885e

19 files changed

Lines changed: 41 additions & 54 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.0.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.3.1"
6+
commit-id = "2.8.0"
77

88
[pyproject]
99
codespell_skip = "*.js,*.min.js,*.min.js.map,*.css.map,yarn.lock,robot_*,test_*"

.pre-commit-config.yaml

Lines changed: 7 additions & 7 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
@@ -10,13 +10,13 @@ repos:
1010
rev: v3.21.2
1111
hooks:
1212
- id: pyupgrade
13-
args: [--py38-plus]
13+
args: [--py310-plus]
1414
- repo: https://github.com/pycqa/isort
15-
rev: 7.0.0
15+
rev: 8.0.1
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black-pre-commit-mirror
19-
rev: 25.11.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:
@@ -62,14 +62,14 @@ 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
6969
rev: "0.24.0"
7070
hooks:
7171
- id: check-python-versions
72-
args: ['--only', 'setup.py,pyproject.toml']
72+
args: ['--only', 'setup.py,tox.ini']
7373
- repo: https://github.com/collective/i18ndude
7474
rev: "6.3.0"
7575
hooks:

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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
[build-system]
5-
requires = ["setuptools>=68.2,<80", "wheel"]
5+
requires = ["setuptools>=68.2,<83", "wheel"]
6+
7+
68

79
[tool.towncrier]
810
directory = "news/"
@@ -60,7 +62,7 @@ profile = "plone"
6062
##
6163

6264
[tool.black]
63-
target-version = ["py38"]
65+
target-version = ["py310"]
6466

6567
##
6668
# Add extra configuration options in .meta.toml:

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from setuptools import setup
22

3-
43
version = "4.0.1.dev0"
54

65

0 commit comments

Comments
 (0)