From e23c126c901a403e51273ef870e7ba7f1ab6acde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 3 May 2024 00:25:48 +0200 Subject: [PATCH] Cache http-v2 pip directory Since pip 23.3 the HTTP requests are cached in a new directory. --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea4d3597ec..1a44f7be9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: