From 990a5ef1c9efe2776fb383e57dd822232cd810de Mon Sep 17 00:00:00 2001 From: Jay Varner Date: Tue, 26 Sep 2023 08:37:22 -0400 Subject: [PATCH] dependencies --- requirements/base.txt | 6 +++--- requirements/local.txt | 36 +++++++++++++++++------------------- requirements/production.txt | 2 +- 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 046341c84..33b64facc 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,6 +1,6 @@ pytz==2023.3 # https://github.com/stub42/pytz python-slugify==8.0.1 # https://github.com/un33k/python-slugify -Pillow==9.4.0 +Pillow==9.4.0 # wagtail 4.2.4 depends on Pillow<10.0.0 and >=4.0.0 argon2-cffi==23.1.0 # https://github.com/hynek/argon2_cffi beautifulsoup4==4.9.3 # CANNOT UPDATE DUE TO WAGTAIL lxml==4.9.3 @@ -54,11 +54,11 @@ django-import-export==2.8.0 gitpython==3.1.37 # S3 Uploads -boto3==1.26.92 +boto3==1.28.54 django-storages==1.14 # https://github.com/jschneier/django-storages # SFTP Uploads -pysftp>=0.2.9,<1.0 # https://pysftp.readthedocs.io/ +pysftp==0.2.9 # https://pysftp.readthedocs.io/ # Python function to stream unzip all the files in a ZIP archive, without loading the entire ZIP file into memory or any of its uncompressed files. stream-unzip>=0.0.58 diff --git a/requirements/local.txt b/requirements/local.txt index 16e72ce59..b93c5d788 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -2,45 +2,43 @@ # TODO: Upgrade after https://github.com/django-extensions/django-extensions/issues/1715 is fixed Werkzeug<2.4.0 # https://github.com/pallets/werkzeug -ipdb==0.13.13 # https://github.com/gotcha/ipdb -Sphinx==5.0.2 # https://github.com/sphinx-doc/sphinx +ipdb~=0.13.13 # https://github.com/gotcha/ipdb # TODO: Upgrade after moving to Django 3 psycopg2-binary==2.9.3 # https://github.com/psycopg/psycopg2 # Testing # ------------------------------------------------------------------------------ -mypy==0.961 # https://github.com/python/mypy +mypy==1.5.1 # https://github.com/python/mypy pytest==7.4.2 # https://github.com/pytest-dev/pytest pytest-sugar==0.9.7 # https://github.com/Frozenball/pytest-sugar -pytest-cov==4.0.0 -py==1.11.0 # https://github.com/pytest-dev/pytest/issues/10420 -requests==2.31.0 -iiif-prezi==0.3.0 # https://github.com/iiif-prezi/iiif-prezi -httpretty==1.1.4 # https://pypi.org/project/httpretty/ -#mock==4.0.2 -cssutils==2.6.0 # https://pypi.org/project/cssutils/ +pytest-cov==4.1.0 pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django +py==1.11.0 # https://github.com/pytest-dev/pytest/issues/10420 +requests~=2.31.0 +iiif-prezi~=0.3.0 # https://github.com/iiif-prezi/iiif-prezi +httpretty~=1.1.4 # https://pypi.org/project/httpretty/ +#mock~=4.0.2 +cssutils~=2.6.0 # https://pypi.org/project/cssutils/ moto==4.2.0 # https://github.com/spulec/moto sftpserver==0.3 # Code quality # ------------------------------------------------------------------------------ coverage==6.5.0 # https://github.com/nedbat/coveragepy -coveralls==3.3.1 # Django # ------------------------------------------------------------------------------ -factory-boy==3.2.1 # https://github.com/FactoryBoy/factory_boy -faker==19.6.2 +factory-boy~=3.2.1 # https://github.com/FactoryBoy/factory_boy +faker~=19.6.2 -django-debug-toolbar==4.2.0 # https://github.com/jazzband/django-debug-toolbar -django-extensions==3.2.3 # https://github.com/django-extensions/django-extensions -django-coverage-plugin==2.0.3 # https://github.com/nedbat/django_coverage_plugin +django-debug-toolbar~=4.2.0 # https://github.com/jazzband/django-debug-toolbar +django-extensions~=3.2.3 # https://github.com/django-extensions/django-extensions +django-coverage-plugin~=2.0.3 # https://github.com/nedbat/django_coverage_plugin pyopenssl # for running dev server under https # Deployment # ------------------------------------------------------------------------------ -Fabric==1.15 # https://github.com/fabric/fabric +Fabric~=1.15 # https://github.com/fabric/fabric -celery==5.2.7 -django-celery-results==2.4.0 +celery~=5.3.4 +django-celery-results~=2.4.0 diff --git a/requirements/production.txt b/requirements/production.txt index 4e2edaff6..4783f0d77 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -2,7 +2,7 @@ -r ./base.txt -gunicorn==20.1.0 # https://github.com/benoitc/gunicorn +gunicorn==21.2.0 # https://github.com/benoitc/gunicorn Collectfast==2.2.0 # https://github.com/antonagestam/collectfast raven==6.10.0 # https://github.com/getsentry/raven-python