Skip to content

Commit

Permalink
Merge pull request #12427 from RasaHQ/fix-install-on-poetry-1.1.13
Browse files Browse the repository at this point in the history
pin urllib3 version
  • Loading branch information
m-vdb committed May 22, 2023
2 parents d369b91 + 5bea8d8 commit f3e0947
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
- name: Set up virtual environment
run: poetry config virtualenvs.in-project true

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

- name: Install Dependencies 馃摝
run: |
make install-full
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ jobs:
if: needs.changes.outputs.backend == 'true'
run: poetry config virtualenvs.in-project true

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true'
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

- name: Install Dependencies 馃摝
if: needs.changes.outputs.backend == 'true'
run: |
Expand Down Expand Up @@ -286,6 +292,19 @@ jobs:
# that needs to be cached.
run: poetry config virtualenvs.in-project true

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-20.04'
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
run: C:/Users/runneradmin/AppData/Roaming/pypoetry/venv/Scripts/pip.exe install urllib3==1.26.15
shell: bash

- name: Install Dependencies (Linux) 馃摝
if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-20.04'
run: |
Expand Down Expand Up @@ -520,6 +539,13 @@ jobs:
# that needs to be cached.
run: poetry config virtualenvs.in-project true


# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true'
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

- name: Install Dependencies (Linux) 馃摝
if: needs.changes.outputs.backend == 'true'
run: |
Expand Down Expand Up @@ -615,6 +641,12 @@ jobs:
# that needs to be cached.
run: poetry config virtualenvs.in-project true

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true'
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

- name: Install Dependencies (Linux) 馃摝
if: needs.changes.outputs.backend == 'true'
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ jobs:
if: needs.changes.outputs.backend == 'true'
run: poetry config virtualenvs.in-project true

# WARNING: do not port this code to `main` or other release branches that use latest versions of poetry
# this workflow step is only relevant for poetry version 1.1.13
- name: Pin poetry's urllib3 version
if: needs.changes.outputs.backend == 'true'
run: ~/.local/share/pypoetry/venv/bin/pip install urllib3==1.26.15

- name: Install Dependencies (Linux) 馃摝
if: needs.changes.outputs.backend == 'true'
run: make install
Expand Down

0 comments on commit f3e0947

Please sign in to comment.