Skip to content

Commit 4927071

Browse files
committed
Force to use pip<24 for Plone 5.2
``` WARNING: Ignoring version 5.2.5 of Products.CMFPlone since it has invalid metadata: Requested Products.CMFPlone from https://files.pythonhosted.org/packages/a8/b1/7f746d0ecf0fc95c3e81585aa4f6dddca04be643509aa803754d736ab7e6/Products.CMFPlone-5.2.5-py2.py3-none-any.whl (from plone.app.contentmenu==2.3.3->-r requirements-mxdev.txt (line 8)) has invalid metadata: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier plone.app.contentmenu (>=1.1.6dev-r22380) ~~~~~~~~~~~~^ Please use pip<24.1 if you need to use this version. ```
1 parent c46b671 commit 4927071

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
3030
# python setup
3131
- name: Set up Python ${{ matrix.python-version }} with Plone 5.2.5
32-
uses: plone/setup-plone@v1.0.0
32+
uses: plone/setup-plone@v2.0.0
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
plone-version: "5.2.5"
36+
additional-eggs: "pip\<24"
3637

3738
# python cache
3839
- uses: actions/cache@v1

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ install-plone-5.2: bin/mxdev config ## pip install Plone packages
106106
@echo "$(GREEN)==> Setup Build$(RESET)"
107107
cp constraints-5.2.txt constraints.txt
108108
cp requirements-5.2.txt requirements.txt
109+
pip install pip\<24
110+
pip install pip\<24
109111
bin/tox -e init
110112
bin/mxdev -c mx.ini
111113
bin/pip install -r requirements-mxdev.txt

requirements-5.2.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-c constraints.txt
2+
pip<24
23

34
# Cannot install new testing framework with 5.2
45
# -e ".[test]"

0 commit comments

Comments
 (0)