diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index f576f97bf..c6aa6ebe0 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -27,13 +27,13 @@ jobs: - name: Install Poetry for Linux if: runner.os == 'Linux' run: | - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - --preview --version 1.1.0b2 + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - --preview --version 1.1.0b4 echo "::add-path::$HOME/.poetry/bin" - name: Install Poetry for Windows if: runner.os == 'Windows' run: | - (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - --preview --version 1.1.0b2 + (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - --preview --version 1.1.0b4 echo "::add-path::$env:USERPROFILE\.poetry\bin" - name: Install Python dependencies diff --git a/README.md b/README.md index 289f1d958..b4371f074 100644 --- a/README.md +++ b/README.md @@ -34,23 +34,28 @@ appear in your `PATH` before the Windows version, or this error will appear: This is a temporary workaround! The currently released version of Poetry (1.0.10) cannot handle the `azure-identity` package, so we need to install the -preview version (1.1.0b2). +preview version (1.1.0b4). On Linux (or WSL): ```bash -curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - --preview --version 1.1.0b2 +curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - --preview --version 1.1.0b4 source $HOME/.poetry/env ``` On Windows (in PowerShell): ```powershell -(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - --preview --version 1.1.0a2 +(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - --preview --version 1.1.0b4 # the path can be added to system, so it applies to every terminal. $env:PATH += ";$env:USERPROFILE\.poetry\bin" ``` +If you already have Poetry installed, you can update it like: +```bash +poetry self update --preview 1.1.0b4 +``` + ### Install Python packages Then use Poetry to install LISAv3's Python package dependencies: