diff --git a/.github/workflows/test-plone-5.2.yml b/.github/workflows/test-plone-5.2.yml index 027294b..a1f5d10 100644 --- a/.github/workflows/test-plone-5.2.yml +++ b/.github/workflows/test-plone-5.2.yml @@ -29,10 +29,12 @@ jobs: # python setup - name: Set up Python ${{ matrix.python-version }} with Plone 5.2.5 - uses: plone/setup-plone@v1.0.0 - with: - python-version: ${{ matrix.python-version }} - plone-version: "5.2.5" + run: | + make install-plone-5.2 + + ## Note: setup-plone action is retired, because we need to force + ## an older pip version, but the action seems to fetch the new version + ## regardless what I try. # python cache - uses: actions/cache@v1 diff --git a/Makefile b/Makefile index 8df67d6..67dcae4 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,7 @@ install-plone-5.2: bin/mxdev config ## pip install Plone packages @echo "$(GREEN)==> Setup Build$(RESET)" cp constraints-5.2.txt constraints.txt cp requirements-5.2.txt requirements.txt + pip install pip\<24 bin/tox -e init bin/mxdev -c mx.ini bin/pip install -r requirements-mxdev.txt diff --git a/requirements-5.2.txt b/requirements-5.2.txt index 8c3fcef..625c554 100644 --- a/requirements-5.2.txt +++ b/requirements-5.2.txt @@ -1,4 +1,5 @@ -c constraints.txt +pip<24 # Cannot install new testing framework with 5.2 # -e ".[test]"