Skip to content

Commit

Permalink
Merge pull request #9116 from RasaHQ/8569-drop-py36-support
Browse files Browse the repository at this point in the history
8569 drop py36 support
  • Loading branch information
m-vdb authored Jul 29, 2021
2 parents d3084a1 + 20bd14c commit 3f3c883
Show file tree
Hide file tree
Showing 8 changed files with 210 additions and 303 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
- test-other-unit-tests
- test-performance
os: [ ubuntu-latest, windows-latest ]
python-version: [ 3.6, 3.7, 3.8 ]
python-version: [ 3.7, 3.8 ]

steps:
- name: Checkout git repository 🕝
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
make prepare-tests-windows-gha
- name: Add github workflow problem matchers
if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.6 && matrix.os == 'ubuntu-latest'
if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.7 && matrix.os == 'ubuntu-latest'
# only annotate based on test runs on ubuntu: otherwise
# all errors will be duplicated for each python / os combination
# therefore, we only enable for the one where most tests are run
Expand All @@ -303,7 +303,7 @@ jobs:
make ${{ matrix.test }}
- name: Send Coverage Report 📊
if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.6 && matrix.os != 'windows-latest'
if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.7 && matrix.os != 'windows-latest'
continue-on-error: true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -718,10 +718,10 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v2

- name: Set up Python 3.6 🐍
- name: Set up Python 3.7 🐍
uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 # v2.2.2
with:
python-version: 3.6
python-version: 3.7

- name: Read Poetry Version 🔢
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.6-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
restore-keys: ${{ runner.os }}-poetry-3.6-non-full
key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.7-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}
restore-keys: ${{ runner.os }}-poetry-3.7-non-full

- name: Load Yarn Cached Packages ⬇
uses: actions/cache@v1
Expand Down
1 change: 1 addition & 0 deletions changelog/8569.removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed Python 3.6 support as [it reaches its end of life in December 2021](https://www.python.org/dev/peps/pep-0494/#lifespan).
2 changes: 1 addition & 1 deletion docs/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ your machine and continue development locally.

## Quick Installation

You can install Rasa Open Source using pip (requires Python 3.6, 3.7 or 3.8).
You can install Rasa Open Source using pip (requires Python 3.7 or 3.8).

```bash
pip3 install -U pip
Expand Down
Loading

0 comments on commit 3f3c883

Please sign in to comment.