Cache http-v2 pip directory

Since pip 23.3 the HTTP requests are cached in a new directory.
(grafted from 302a87c908d80c77b8e656aa1c3f215e8482caac)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2024-05-03 00:25:48 +02:00
parent ae970e9bb1
commit 3dfe2d5e88
+5 -5
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]
@@ -153,7 +153,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:
@@ -170,7 +170,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:
@@ -195,7 +195,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:
@@ -277,7 +277,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: