From 5cc529ac242faab78f7661a3288ca2e7d3c11d60 Mon Sep 17 00:00:00 2001 From: Ilya Matiach Date: Wed, 19 Apr 2023 14:36:27 -0400 Subject: [PATCH] fix failing builds by upgrading pip-tools after latest pip release --- .github/workflows/CI-e2e-notebooks.yml | 2 +- .github/workflows/CI-notebook.yml | 2 +- .github/workflows/CI-python.yml | 14 ++++++++------ .github/workflows/CI-rai_core_flask-pytest.yml | 12 ++++++------ .github/workflows/CI-raiwidgets-pytest.yml | 2 +- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI-e2e-notebooks.yml b/.github/workflows/CI-e2e-notebooks.yml index 983bbb2219..944d6eac41 100644 --- a/.github/workflows/CI-e2e-notebooks.yml +++ b/.github/workflows/CI-e2e-notebooks.yml @@ -88,7 +88,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade setuptools - pip install --upgrade "pip-tools<6.12.2" + pip install --upgrade "pip-tools<=6.13.0" - name: Install dependencies shell: bash -l {0} diff --git a/.github/workflows/CI-notebook.yml b/.github/workflows/CI-notebook.yml index 13971fd871..f65fcb58bf 100644 --- a/.github/workflows/CI-notebook.yml +++ b/.github/workflows/CI-notebook.yml @@ -58,7 +58,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade setuptools - pip install --upgrade "pip-tools<6.12.2" + pip install --upgrade "pip-tools<=6.13.0" - name: Install dependencies shell: bash -l {0} diff --git a/.github/workflows/CI-python.yml b/.github/workflows/CI-python.yml index 77a3b2d384..492a29a0a1 100644 --- a/.github/workflows/CI-python.yml +++ b/.github/workflows/CI-python.yml @@ -29,6 +29,8 @@ jobs: pythonVersion: "3.8" - operatingSystem: ubuntu-20.04 pythonVersion: "3.9" + - operatingSystem: ubuntu-20.04 + pythonVersion: "3.10" - operatingSystem: ubuntu-latest pythonVersion: "3.6" @@ -50,23 +52,23 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade setuptools - pip install --upgrade "pip-tools<6.12.2" + pip install --upgrade "pip-tools<=6.13.0" - name: Pip compile run: | - pip-compile requirements-dev.txt - cat requirements-dev.txt + pip-compile requirements-dev.txt -o requirements-dev-comp.txt + cat requirements-dev-comp.txt working-directory: ${{ matrix.packageDirectory }} - name: Upload requirements uses: actions/upload-artifact@v3 with: - name: requirements-dev.txt - path: ${{ matrix.packageDirectory }}/requirements-dev.txt + name: requirements-dev-comp.txt + path: ${{ matrix.packageDirectory }}/requirements-dev-comp.txt - name: Install dependencies run: | - pip-sync requirements-dev.txt + pip-sync requirements-dev-comp.txt working-directory: ${{ matrix.packageDirectory }} - name: Install package diff --git a/.github/workflows/CI-rai_core_flask-pytest.yml b/.github/workflows/CI-rai_core_flask-pytest.yml index 41291e6b9e..1eed97bcac 100644 --- a/.github/workflows/CI-rai_core_flask-pytest.yml +++ b/.github/workflows/CI-rai_core_flask-pytest.yml @@ -49,23 +49,23 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade setuptools - pip install --upgrade "pip-tools<6.12.2" + pip install --upgrade "pip-tools<=6.13.0" - name: Pip compile run: | - pip-compile requirements-dev.txt - cat requirements-dev.txt + pip-compile requirements-dev.txt -o requirements-dev-comp.txt + cat requirements-dev-comp.txt working-directory: rai_core_flask - name: Upload requirements uses: actions/upload-artifact@v3 with: - name: requirements-dev.txt - path: rai_core_flask/requirements-dev.txt + name: requirements-dev-comp.txt + path: rai_core_flask/requirements-dev-comp.txt - name: Install dependencies run: | - pip-sync requirements-dev.txt + pip-sync requirements-dev-comp.txt working-directory: rai_core_flask - name: Install package diff --git a/.github/workflows/CI-raiwidgets-pytest.yml b/.github/workflows/CI-raiwidgets-pytest.yml index 516cd2aea4..bca1aa4985 100644 --- a/.github/workflows/CI-raiwidgets-pytest.yml +++ b/.github/workflows/CI-raiwidgets-pytest.yml @@ -67,7 +67,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --upgrade setuptools - pip install --upgrade "pip-tools<6.12.2" + pip install --upgrade "pip-tools<=6.13.0" - name: Install dependencies shell: bash -l {0}