Skip to content

Commit

Permalink
Required upgrades in preparation for Python 3.10 support (#884)
Browse files Browse the repository at this point in the history
* upgrade poetry version and installer in the CI

* update typing-extensions
  • Loading branch information
ancalita authored Nov 14, 2022
1 parent a03bf29 commit 5b2e341
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .github/poetry_version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# The poetry version is stored in a separate file due to the https://github.com/python-poetry/poetry/issues/3316
poetry-version=1.1.13
poetry-version=1.2.2
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
shell: bash

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v4
uses: Gr1N/setup-poetry@09236184f6c1ab47c0dc9c1001c7fe200cf2afb0 # v7
with:
poetry-version: ${{ env.POETRY_VERSION }}

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
shell: bash

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v4
uses: Gr1N/setup-poetry@09236184f6c1ab47c0dc9c1001c7fe200cf2afb0 # v7
with:
poetry-version: ${{ env.POETRY_VERSION }}

Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
shell: bash

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v4
uses: Gr1N/setup-poetry@09236184f6c1ab47c0dc9c1001c7fe200cf2afb0 # v7
with:
poetry-version: ${{ env.POETRY_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
shell: bash

- name: Install poetry 🦄
uses: Gr1N/setup-poetry@v4
uses: Gr1N/setup-poetry@09236184f6c1ab47c0dc9c1001c7fe200cf2afb0 # v7
with:
poetry-version: ${{ env.POETRY_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update -qq \

# install poetry
# keep this in sync with the version in pyproject.toml and Dockerfile
ENV POETRY_VERSION 1.1.13
ENV POETRY_VERSION 1.2.2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH "/root/.local/bin:/opt/venv/bin:${PATH}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Rasa SDK uses Poetry for packaging and dependency management. If you want to bui
you have to install Poetry first. This is how it can be done:

```
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
curl -sSL https://install.python-poetry.org | python3 -
```

There are several other ways to install Poetry. Please, follow
Expand Down
2 changes: 2 additions & 0 deletions changelog/884.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Upgraded poetry version and poetry installer used in the CI.
Amended lower bound constraint for typing-extensions dependency.
131 changes: 28 additions & 103 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ showcontent = false
python = ">=3.7,<3.10"
coloredlogs = ">=10,<16"
sanic = "^21.12.0"
typing-extensions = ">=3.7.4,<5.0.0"
typing-extensions = ">=4.1.1,<5.0.0"
Sanic-Cors = "^2.0.0"
# there is currently an issue with 3.0.29 as it changes the unit test
# interface for testing CLI interactions. this change breaks our unit
Expand Down

0 comments on commit 5b2e341

Please sign in to comment.