Skip to content

Commit

Permalink
Drop python 3.6 and update sanic, httpx, websockets dependencies (#810)
Browse files Browse the repository at this point in the history
* drop python 3.6 and update sanic

* more updates

* add changelog entry

* fix code quality fail

* make mypy happy

* add missing docstring
  • Loading branch information
ancalita authored Jul 1, 2022
1 parent a227e17 commit 04a7027
Show file tree
Hide file tree
Showing 12 changed files with 579 additions and 901 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8]

steps:
- name: Checkout git repository 🕝
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: make test

- name: Send Coverage Report 📊
if: matrix.python-version == 3.6
if: matrix.python-version == 3.7
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
Expand Down Expand Up @@ -286,10 +286,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@v1
with:
python-version: 3.6
python-version: 3.7

- name: Read Poetry Version 🔢
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
rev: 22.6.0
hooks:
- id: black
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ clean:
types:
poetry run mypy rasa_sdk

formatter:
poetry run black rasa_sdk tests

lint:
poetry run flake8 rasa_sdk tests --extend-ignore D
poetry run black --check rasa_sdk tests
Expand Down
2 changes: 2 additions & 0 deletions changelog/810.removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Removed Python 3.6 support.
Updated several dependencies: `sanic`, `httpx`, `websockets`.
Loading

0 comments on commit 04a7027

Please sign in to comment.