Skip to content

Commit ff0d126

Browse files
cekkmamico
andauthored
Plone 6 compatibility (#12)
* Plone 6 compatibility * cleanup * ci * ci * ci * ci * update changelog * remove unused tests * remove unused tests --------- Co-authored-by: Mauro Amico <mauro.amico@gmail.com>
1 parent 6b42372 commit ff0d126

16 files changed

Lines changed: 30 additions & 239 deletions

.github/workflows/black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: [3.8]
9+
python-version: [3.11]
1010

1111
steps:
1212
# git checkout
@@ -19,7 +19,7 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020

2121
# python cache
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/pip
2525
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: [3.8]
9+
python-version: [3.11]
1010

1111
steps:
1212
# git checkout
@@ -19,7 +19,7 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020

2121
# python cache
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/pip
2525
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

.github/workflows/pyroma.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: [3.8]
9+
python-version: [3.11]
1010

1111
steps:
1212
# git checkout
@@ -19,7 +19,7 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020

2121
# python cache
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/pip
2525
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -28,7 +28,7 @@ jobs:
2828
2929
# install pyroma
3030
- name: install pyroma
31-
run: pip install pyroma
31+
run: pip install pyroma==4.2
3232

3333
# run pyroma
3434
- name: run pyroma

.github/workflows/test.yml

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

.github/workflows/zpretty.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: [3.8]
9+
python-version: [3.11]
1010

1111
steps:
1212
# git checkout
@@ -19,7 +19,7 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020

2121
# python cache
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/pip
2525
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}

CHANGES.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Changelog
44
2.1.1 (unreleased)
55
------------------
66

7-
- Nothing changed yet.
7+
- Plone 6 compatibility. Use 2.x tags for Plone < 6. [cekk]
8+
[cekk]
89

910

1011
2.1.0 (2023-05-31)
@@ -50,10 +51,10 @@ Changelog
5051
- Add flag to control panel that allow to enable cookie banner
5152
- Add cookie prefix to control panel to control the js plugin option
5253
- Allow to select endpoint for consent registry
53-
- Add domain whitelist so in case you have site with multiple domain can show
54+
- Add domain whitelist so in case you have site with multiple domain can show
5455
the banner in selected domain
5556
- Add matomo
56-
- Some minor fix to prevent cases where site editor remove configuration lines
57+
- Some minor fix to prevent cases where site editor remove configuration lines
5758
partially
5859
- Add log tracking to new introduced actions
5960
- Fix problem loading twitter timeline in tile manager from

constraints_plone60.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-c https://dist.plone.org/release/6.0-latest/requirements.txt

constraints_plone61.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-c https://dist.plone.org/release/6.1-latest/requirements.txt

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
-c constraints.txt
21
setuptools
32
zc.buildout

src/redturtle/chefcookie/tests/robot/test_example.robot

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

0 commit comments

Comments
 (0)