From 3e2142325ea531da3f1ff822b64454572811f64d Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Wed, 21 Feb 2024 08:17:27 +0100 Subject: [PATCH] Make `PIP_CONSTRAINT` path absolute as learned in https://github.com/zopefoundation/zope.security/pull/105 --- config/c-code/tests.yml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/c-code/tests.yml.j2 b/config/c-code/tests.yml.j2 index f681bcf..2ada6bc 100644 --- a/config/c-code/tests.yml.j2 +++ b/config/c-code/tests.yml.j2 @@ -105,7 +105,7 @@ jobs: # cffi will probably have no public release until a Python 3.13 beta # or even RC release, see https://github.com/python-cffi/cffi/issues/23 echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt - PIP_CONSTRAINT=cffi_constraint.txt pip install cffi + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install cffi {% endif %} - name: Install Build Dependencies {% if with_future_python %} @@ -171,7 +171,7 @@ jobs: echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt # Use "--pre" here because dependencies with support for this future # Python release may only be available as pre-releases - PIP_CONSTRAINT=cffi_constraint.txt pip install --pre .[test] + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install --pre .[test] {% endif %} - name: Install %(package_name)s and dependencies {% if with_future_python %} @@ -270,7 +270,7 @@ jobs: unzip -n dist/%(package_name)s-*whl -d src # Use "--pre" here because dependencies with support for this future # Python release may only be available as pre-releases - PIP_CONSTRAINT=cffi_constraint.txt pip install --pre -U -e .[test] + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install --pre -U -e .[test] {% endif %} - name: Install %(package_name)s {% if with_future_python %}