From aef8d5c33b6a00f3240de27bb44aa4728cd161e6 Mon Sep 17 00:00:00 2001 From: Alfredos-Panagiotis Damkalis Date: Sun, 12 Jul 2020 02:30:23 +0300 Subject: [PATCH] Update python libraries Signed-off-by: Alfredos-Panagiotis Damkalis --- db/settings.py | 9 ++++++--- requirements-dev.txt | 18 ++++++++--------- requirements.txt | 33 +++++++++++++++--------------- setup.cfg | 48 ++++++++++++++++++++++---------------------- 4 files changed, 56 insertions(+), 52 deletions(-) diff --git a/db/settings.py b/db/settings.py index ee86dae..8849945 100644 --- a/db/settings.py +++ b/db/settings.py @@ -162,9 +162,12 @@ SATELLITE_DEFAULT_IMAGE = '/static/img/sat.png' COMPRESS_ENABLED = config('COMPRESS_ENABLED', default=False, cast=bool) COMPRESS_OFFLINE = config('COMPRESS_OFFLINE', default=False, cast=bool) COMPRESS_CACHE_BACKEND = config('COMPRESS_CACHE_BACKEND', default='default') -COMPRESS_CSS_FILTERS = [ - 'compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter' -] +COMPRESS_FILTERS = { + 'css': [ + 'compressor.filters.css_default.CssAbsoluteFilter', + 'compressor.filters.cssmin.rCSSMinFilter' + ] +} # App conf ROOT_URLCONF = 'db.urls' diff --git a/requirements-dev.txt b/requirements-dev.txt index a534432..78e1db3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -13,22 +13,22 @@ docopt==0.6.1 docopts==0.6.1 execnet==1.7.1 factory-boy==2.12.0 -Faker==2.0.5 +Faker==4.1.1 filelock==3.0.12 -mock==3.0.5 +mock==4.0.2 more-itertools==8.4.0 packaging==20.4 pluggy==0.13.1 -pur==5.2.2 +pur==5.3.0 py==1.9.0 pyparsing==2.4.7 pytest==5.4.3 -pytest-cov==2.7.1 -pytest-django==3.5.1 -pytest-forked==1.0.2 -pytest-xdist==1.29.0 +pytest-cov==2.10.0 +pytest-django==3.9.0 +pytest-forked==1.2.0 +pytest-xdist==1.33.0 text-unidecode==1.3 toml==0.10.1 -tox==3.14.6 -virtualenv==20.0.25 +tox==3.16.1 +virtualenv==20.0.26 wcwidth==0.2.5 diff --git a/requirements.txt b/requirements.txt index 97a0dda..6cf5590 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,14 +15,14 @@ cryptography==2.9.2 defusedxml==0.6.0 dj-database-url==0.5.0 Django==2.2.14 -django-allauth==0.40.0 +django-allauth==0.42.0 django-appconf==1.0.4 -django-avatar==4.1.0 -django-compressor==2.3 -django-crispy-forms==1.7.2 -django-csp==3.5 -django-debug-toolbar==2.0 -django-filter==2.2.0 +django-avatar==5.0.0 +django-compressor==2.4 +django-crispy-forms==1.9.2 +django-csp==3.6 +django-debug-toolbar==2.2 +django-filter==2.3.0 django-jsonfield==1.3.1 django-redis-cache==2.0.0 django-shortuuidfield==0.1.3 @@ -35,13 +35,14 @@ greenlet==0.4.16 gunicorn==19.9.0 h5py==2.10.0 idna==2.10 -influxdb==5.2.3 +influxdb==5.3.0 kaitaistruct==0.8 kombu==4.6.11 Logbook==1.5.3 -lxml==4.5.1 -Markdown==3.1.1 +lxml==4.5.2 +Markdown==3.2.2 monotonic==1.5 +msgpack==0.6.1 mysqlclient==1.4.6 numpy==1.19.0 oauthlib==3.1.0 @@ -51,10 +52,10 @@ PyJWT==1.7.1 PyLD==2.0.2 python-dateutil==2.8.1 python-decouple==3.1 -python-dotenv==0.10.5 +python-dotenv==0.14.0 python3-openid==3.2.0 pytz==2020.1 -PyYAML==5.1.2 +PyYAML==5.3.1 rcssmin==1.0.6 redis==3.5.3 Represent==1.6.0 @@ -64,12 +65,12 @@ rjsmin==1.1.0 rush==2018.12.1 satellitetle==0.9.0 satnogs-decoders~=1.0 -sentry-sdk==0.14.4 -sgp4==1.4 +sentry-sdk==0.16.1 +sgp4==2.12 shortuuid==1.0.1 -simplejson==3.16.0 +simplejson==3.17.0 six==1.15.0 -social-auth-app-django==3.1.0 +social-auth-app-django==4.0.0 social-auth-core==3.3.3 spacetrack==0.14.0 sqlparse==0.3.1 diff --git a/setup.cfg b/setup.cfg index 96c4c44..55a50b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,55 +34,55 @@ install_requires = # Cache django-redis-cache~=2.0.0 # Logging - sentry-sdk~=0.14.0 + sentry-sdk~=0.16.0 # Configuration python-decouple~=3.1.0 dj-database-url~=0.5.0 pytz Unipath~=1.0 - python-dotenv~=0.10.0 + python-dotenv~=0.14.0 # Security - django_csp~=3.5.0 + django_csp~=3.6.0 # Users - django-allauth~=0.40.0 - django-avatar~=4.1.0 - django-crispy-forms~=1.7.0 - social-auth-app-django~=3.1.0 + django-allauth~=0.42.0 + django-avatar~=5.0.0 + django-crispy-forms~=1.9.0 + social-auth-app-django~=4.0.0 # Static - django_compressor~=2.3.0 + django_compressor~=2.4.0 # API djangorestframework~=3.10.0 - Markdown~=3.1.0 - django-filter~=2.2.0 + Markdown~=3.2.0 + django-filter~=2.3.0 # Astronomy - sgp4~=1.4.0 + sgp4~=2.12.0 satellitetle~=0.9.0 # Unsorted - influxdb~=5.2.0 + influxdb~=5.3.0 satnogs-decoders~=1.0 - simplejson~=3.16.0 + simplejson~=3.17.0 uritemplate~=3.0.0 - PyYAML~=5.1.0 + PyYAML~=5.3.0 h5py~=2.10.0 - PyLD~=2.0.2 + PyLD~=2.0.0 # Debugging - django-debug-toolbar~=2.0.0 + django-debug-toolbar~=2.2.0 # Conflict workarounds # django-allauth - sentry-sdk urllib3<1.25 [options.extras_require] dev = - pytest-cov~=2.7.0 - pytest-django~=3.5.0 - pytest-forked~=1.0.0 - pytest-xdist~=1.29.0 - mock~=3.0.0 - Faker~=2.0.0 + pytest-cov~=2.10.0 + pytest-django~=3.9.0 + pytest-forked~=1.2.0 + pytest-xdist~=1.33.0 + mock~=4.0.0 + Faker~=4.1.0 factory-boy~=2.12.0 - pur~=5.2.0 + pur~=5.3.0 docopts~=0.6.0 - tox~=3.14.0 + tox~=3.16.0 [flake8] max-complexity = 23