Skip to content

Commit

Permalink
fix failing builds by upgrading pip-tools after latest pip release
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft committed Apr 19, 2023
1 parent 887bd2d commit 5cc529a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-e2e-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/CI-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/CI-rai_core_flask-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI-raiwidgets-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5cc529a

Please sign in to comment.