Skip to content

Commit 05a637f

Browse files
ricwotabergma
andauthored
Add support for python 3.8 (RasaHQ#5962)
* add support for python 3.8 * max 3 parallel * fix types * remove unused import * Fix missing shape information in SparseDrouput. * remove unused import * poetry update Co-authored-by: Tanja Bergmann <[email protected]>
1 parent 90db27b commit 05a637f

16 files changed

+209
-186
lines changed

.github/workflows/continous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ jobs:
112112
name: Run Tests
113113
runs-on: ubuntu-latest
114114
strategy:
115-
max-parallel: 2
115+
max-parallel: 3
116116
matrix:
117-
python-version: [3.6, 3.7]
117+
python-version: [3.6, 3.7, 3.8]
118118

119119
steps:
120120
- name: Checkout git repository 🕝

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626

2727
# install poetry
2828
# keep this in sync with the version in pyproject.toml and Dockerfile
29-
ENV POETRY_VERSION 1.0.3
29+
ENV POETRY_VERSION 1.0.5
3030
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3131
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}"
3232

changelog/4536.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add support for Python 3.8.
File renamed without changes.

docker/Dockerfile_full

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626

2727
# install poetry
2828
# keep this in sync with the version in pyproject.toml and Dockerfile
29-
ENV POETRY_VERSION 1.0.3
29+
ENV POETRY_VERSION 1.0.5
3030
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3131
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}"
3232

docker/Dockerfile_pretrained_embeddings_mitie_en

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626

2727
# install poetry
2828
# keep this in sync with the version in pyproject.toml and Dockerfile
29-
ENV POETRY_VERSION 1.0.3
29+
ENV POETRY_VERSION 1.0.5
3030
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3131
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}"
3232

docker/Dockerfile_pretrained_embeddings_spacy_de

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626

2727
# install poetry
2828
# keep this in sync with the version in pyproject.toml and Dockerfile
29-
ENV POETRY_VERSION 1.0.3
29+
ENV POETRY_VERSION 1.0.5
3030
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3131
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}"
3232

docker/Dockerfile_pretrained_embeddings_spacy_en

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626

2727
# install poetry
2828
# keep this in sync with the version in pyproject.toml and Dockerfile
29-
ENV POETRY_VERSION 1.0.3
29+
ENV POETRY_VERSION 1.0.5
3030
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
3131
ENV PATH "/root/.poetry/bin:/opt/venv/bin:${PATH}"
3232

0 commit comments

Comments
 (0)