Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #2466

Merged
merged 5 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/onadata-uwsgi/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN mkdir -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
# hadolint ignore=DL3013
RUN --mount=type=ssh if [ -n "$optional_packages" ]; then pip install ${optional_packages} ; fi

FROM ubuntu:focal-20230412
FROM ubuntu:focal-20230801

ARG release_version=v3.7.1

Expand Down
2 changes: 1 addition & 1 deletion onadata/libs/utils/image_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _save_thumbnails(image, path, size, suffix, extension):

try:
# Ensure conversion to float in operations
image.thumbnail(get_dimensions(image.size, float(size)), Image.ANTIALIAS)
image.thumbnail(get_dimensions(image.size, float(size)), Image.LANCZOS)
except ZeroDivisionError:
pass

Expand Down
2 changes: 1 addition & 1 deletion onadata/libs/utils/project_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def propagate_project_permissions(
max_retries=Retry(
total=5,
backoff_factor=2,
method_whitelist=["GET", "POST", "DELETE"],
allowed_methods=["GET", "POST", "DELETE"],
status_forcelist=[502, 503, 504],
)
),
Expand Down
19 changes: 10 additions & 9 deletions requirements/azure.pip
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# pip-compile --output-file=requirements/azure.pip requirements/azure.in
#
asgiref==3.6.0
asgiref==3.7.2
# via django
azure-core==1.26.3
azure-core==1.29.0
# via azure-storage-blob
azure-storage-blob==12.15.0
azure-storage-blob==12.17.0
# via django-storages
certifi==2022.12.7
certifi==2023.7.22
# via requests
cffi==1.15.1
# via cryptography
charset-normalizer==3.1.0
charset-normalizer==3.2.0
# via requests
cryptography==40.0.1
cryptography==41.0.3
# via
# -r requirements/azure.in
# azure-storage-blob
Expand All @@ -34,17 +34,18 @@ pycparser==2.21
# via cffi
pytz==2023.3
# via django
requests==2.28.2
requests==2.31.0
# via azure-core
six==1.16.0
# via
# azure-core
# isodate
sqlparse==0.4.4
# via django
typing-extensions==4.5.0
typing-extensions==4.7.1
# via
# asgiref
# azure-core
# azure-storage-blob
urllib3==1.26.15
urllib3==2.0.4
# via requests
Loading
Loading