Cache http-v2 pip directory

Since pip 23.3 the HTTP requests are cached in a new directory.
This commit is contained in:
Cédric Krier
2024-05-03 00:25:48 +02:00
parent 4a6e8e5823
commit e23c126c90
+6 -6
View File
@@ -56,7 +56,7 @@ documentation:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install -r "${PACKAGE}/${DOC_DIR}/requirements-doc.txt"
- pip install sphinx-lint rstcheck[sphinx]
@@ -155,7 +155,7 @@ check-cookiecutter-module:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install cookiecutter
script:
@@ -172,7 +172,7 @@ check-template-modules:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install cookiecutter
script:
@@ -197,7 +197,7 @@ check-template-modules:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install tox
script:
@@ -279,7 +279,7 @@ check-trytond-rng:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install rnc2rng
script:
@@ -354,7 +354,7 @@ test-demo:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip/http
- .cache/pip/http-v2
before_script:
- pip install packages/trytond* packages/proteus*
script: