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

chore: python requirements update #2

Open
wants to merge 3 commits into
base: iamsobanjaved/upgrade-pllow-10
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ upgrade: $(COMMON_CONSTRAINTS_TXT)
sed 's/Django<4.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp
mv requirements/common_constraints.tmp requirements/common_constraints.txt
pip install -q -r requirements/pip_tools.txt
pip-compile --allow-unsafe --upgrade -o requirements/pip.txt requirements/pip.in
pip-compile --upgrade -o requirements/pip_tools.txt requirements/pip_tools.in
pip-compile --allow-unsafe -o requirements/pip.txt requirements/pip.in
pip-compile -o requirements/pip_tools.txt requirements/pip_tools.in
pip install -q -r requirements/pip.txt
pip install -q -r requirements/pip_tools.txt
pip-compile --upgrade -o requirements/docs.txt requirements/docs.in
pip-compile --upgrade -o requirements/local.txt requirements/local.in
pip-compile --upgrade -o requirements/production.txt requirements/production.in
pip-compile -o requirements/docs.txt requirements/docs.in
pip-compile -o requirements/local.txt requirements/local.in
pip-compile -o requirements/production.txt requirements/production.in
# Let tox control the Django version for tests
grep -e "^django==" requirements/local.txt > requirements/django.txt
sed -i.tmp '/^[dD]jango==/d' requirements/local.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ lxml[html_clean]
jsonfield
markdown
openedx-atlas
pillow
pillow==10.0.1
pycountry
python-dateutil
pytz
Expand Down
4 changes: 2 additions & 2 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ requests-toolbelt==0.10.1
# https://pypi.org/project/backports.zoneinfo/
backports.zoneinfo;python_version<"3.9"

# Pillow 10 is causing django-stdimage to break when accessing ANTIALIAS variable on Image
pillow < 10.0.0
# Targetting 10.0.0 version for python 3.12, can be further upgraded later on
pillow < 10.1.0

# 4.2.0 is breaking django-elasticsearch-debug-toolbar
# Awaiting fix https://github.com/Benoss/django-elasticsearch-debug-toolbar/pull/21 to be merged
Expand Down
2 changes: 1 addition & 1 deletion requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ pbr==6.0.0
# via stevedore
peewee==3.17.3
# via semgrep
pillow==9.5.0
pillow==10.0.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ packaging==24.0
# snowflake-connector-python
pbr==6.0.0
# via stevedore
pillow==9.5.0
pillow==10.0.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand Down
Loading