From 33e4da35aaab9a6d2d4d11d68f7b26fe42fa930b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Tue, 14 Jan 2025 09:25:08 +0100 Subject: [PATCH] Workaround failing pip install pcre2 The command `pip install pcre2` fails which causes that CI jobs on Fedora latest can't run. We have reported it in https://github.com/grtetrault/pcre2.py/issues/12 We will workaround it by pin to previous version. --- .github/workflows/gate_fedora.yml | 2 +- .github/workflows/gate_thin_ds.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gate_fedora.yml b/.github/workflows/gate_fedora.yml index 9c33b710715..62c317889f2 100644 --- a/.github/workflows/gate_fedora.yml +++ b/.github/workflows/gate_fedora.yml @@ -21,7 +21,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Install deps python - run: pip install pcre2 -r requirements.txt -r test-requirements.txt + run: pip install pcre2==0.4.0 -r requirements.txt -r test-requirements.txt - name: Build run: |- ./build_product -j2 \ diff --git a/.github/workflows/gate_thin_ds.yml b/.github/workflows/gate_thin_ds.yml index 347422628a6..00e0f7d5c7b 100644 --- a/.github/workflows/gate_thin_ds.yml +++ b/.github/workflows/gate_thin_ds.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Install deps python # pytest-xdist is used for parallel execution of thin ds test - run: pip install pcre2 pytest-xdist -r requirements.txt -r test-requirements.txt + run: pip install pcre2==0.4.0 pytest-xdist -r requirements.txt -r test-requirements.txt - name: Build run: ./build_product rhel9 --thin - name: Test