From 172aa14b13a51fd92de5e6f593fe87f4c086bea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Tue, 10 Dec 2019 14:36:38 +0100 Subject: [PATCH] Updated requirements for python 3.8 support updated: channels to 2.3.1 channels-redis to 2.4.1 daphne to 2.4.0 Added python 3.8 test for travis --- .travis.yml | 11 +++++++++++ requirements/big_mode.txt | 2 +- requirements/production.txt | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e85b67eb0..2432d19ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -98,6 +98,17 @@ matrix: - mypy openslides/ tests/ - pytest --cov --cov-fail-under=73 + - name: "Server: Tests Python 3.8" + language: python + python: + - "3.8" + script: + - flake8 openslides tests + - isort --check-only --diff --recursive openslides tests + - black --check --diff --target-version py36 openslides tests + - mypy openslides/ tests/ + - pytest --cov --cov-fail-under=73 + - name: "Client: Linting" language: node_js node_js: "10.9" diff --git a/requirements/big_mode.txt b/requirements/big_mode.txt index 4b89a3b1f..65dab43c4 100644 --- a/requirements/big_mode.txt +++ b/requirements/big_mode.txt @@ -1,5 +1,5 @@ # Requirements for Redis and PostgreSQL support -channels-redis>=2.2,<2.4 +channels-redis>=2.2,<2.5 django-redis-sessions>=0.6.1,<0.7 psycopg2-binary>=2.7.3.2,<2.9 aioredis>=1.1.0,<1.3 diff --git a/requirements/production.txt b/requirements/production.txt index 76231f0d9..365f7194d 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -3,8 +3,8 @@ autobahn==19.5.1 # Requirements for OpenSlides in production in alphabetical order bleach>=1.5.0,<3.2 -channels>=2.1.2,<2.2 -daphne>=2.2,<2.3 +channels>=2.1.2,<2.4 +daphne>=2.2,<2.5 Django>=2.1,<2.3 djangorestframework>=3.9.4,<3.10 jsonfield2>=3.0,<3.1