Skip to content

Commit

Permalink
chore: update requirements and remove constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed Feb 15, 2024
1 parent 236a893 commit 2beeb07
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 129 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
$(PIP_COMPILE) -o requirements/test.txt requirements/test.in
$(PIP_COMPILE) -o requirements/tox.txt requirements/tox.in

grep -e "^django==" requirements/test.txt > requirements/django.txt
grep -e "^django==" requirements/test.txt > requirements/django42.txt
sed '/^[dD]jango==/d;' requirements/test.txt > requirements/test.tmp
mv requirements/test.tmp requirements/test.txt

Expand Down
56 changes: 21 additions & 35 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#
asgiref==3.7.2
# via django
django==3.2.23
backports-zoneinfo==0.2.1
# via django
django==4.2.10
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand All @@ -16,46 +18,30 @@ django==3.2.23
# jsonfield
# openedx-filters
django-crum==0.7.9
# via
# -c requirements/constraints.txt
# -r requirements/base.in
django-mysql==4.7.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
djangorestframework==3.13.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
edx-opaque-keys[django]==2.3.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# via -r requirements/base.in
django-mysql==4.12.0
# via -r requirements/base.in
djangorestframework==3.14.0
# via -r requirements/base.in
edx-opaque-keys[django]==2.5.1
# via -r requirements/base.in
jsonfield==3.1.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
openedx-filters==1.2.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# via -r requirements/base.in
openedx-filters==1.6.0
# via -r requirements/base.in
pbr==6.0.0
# via stevedore
pymongo==3.13.0
# via
# -c requirements/constraints.txt
# edx-opaque-keys
pytz==2023.3.post1
# via
# django
# djangorestframework
# via edx-opaque-keys
pytz==2024.1
# via djangorestframework
six==1.16.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# via -r requirements/base.in
sqlparse==0.4.4
# via django
stevedore==5.1.0
# via edx-opaque-keys
typing-extensions==4.8.0
# via asgiref
typing-extensions==4.9.0
# via
# asgiref
# edx-opaque-keys
18 changes: 1 addition & 17 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,4 @@
# pin when possible. Writing an issue against the offending project and
# linking to it here is good.

Django<4.0
pymongo<4.0.0
coverage[toml]==6.5.0
ddt==1.6.0
six==1.16.0
edx-opaque-keys==2.3.0
django-crum==0.7.9
django-fake-model==0.1.4
django-mysql==4.9.0
djangorestframework==3.13.1
jsonfield==3.1.0
mock<5.0.3
path-py==12.5.0
pycodestyle<2.9.0
pylint<3.0.0
testfixtures==7.0.0
openedx_filters==1.2.0
Django<5
2 changes: 1 addition & 1 deletion requirements/django42.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Django==4.2.8
django==4.2.10
4 changes: 2 additions & 2 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build==1.0.3
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.8.0
importlib-metadata==7.0.1
# via build
packaging==23.2
# via build
Expand All @@ -21,7 +21,7 @@ tomli==2.0.1
# build
# pip-tools
# pyproject-hooks
wheel==0.41.3
wheel==0.42.0
# via pip-tools
zipp==3.17.0
# via importlib-metadata
Expand Down
106 changes: 38 additions & 68 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ asgiref==3.7.2
# via
# -r requirements/base.txt
# django
astroid==2.11.7
astroid==3.0.3
# via pylint
coverage==6.5.0
backports-zoneinfo==0.2.1
# via
# -c requirements/constraints.txt
# -r requirements/test.in
ddt==1.6.0
# via
# -c requirements/constraints.txt
# -r requirements/test.in
dill==0.3.7
# -r requirements/base.txt
# django
coverage==7.4.1
# via -r requirements/test.in
ddt==1.7.1
# via -r requirements/test.in
dill==0.3.8
# via pylint
# via
# -c requirements/constraints.txt
Expand All @@ -29,77 +29,51 @@ dill==0.3.7
# jsonfield
# openedx-filters
django-crum==0.7.9
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# via -r requirements/base.txt
django-fake-model==0.1.4
# via -r requirements/test.in
django-mysql==4.12.0
# via -r requirements/base.txt
djangorestframework==3.14.0
# via -r requirements/base.txt
edx-opaque-keys[django]==2.5.1
# via
# -c requirements/constraints.txt
# -r requirements/test.in
django-mysql==4.7.1
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
djangorestframework==3.13.1
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
edx-opaque-keys[django]==2.3.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
isort==5.12.0
# edx-opaque-keys
isort==5.13.2
# via pylint
jsonfield==3.1.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
lazy-object-proxy==1.9.0
# via astroid
# via -r requirements/base.txt
mccabe==0.7.0
# via pylint
mock==4.0.3
# via
# -c requirements/constraints.txt
# -r requirements/test.in
openedx-filters==1.2.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
path==16.7.1
mock==5.1.0
# via -r requirements/test.in
openedx-filters==1.6.0
# via -r requirements/base.txt
path==16.10.0
# via path-py
path-py==12.5.0
# via
# -c requirements/constraints.txt
# -r requirements/test.in
# via -r requirements/test.in
pbr==6.0.0
# via
# -r requirements/base.txt
# stevedore
platformdirs==4.0.0
platformdirs==4.2.0
# via pylint
pycodestyle==2.8.0
# via
# -c requirements/constraints.txt
# -r requirements/test.in
pylint==2.13.9
# via
# -c requirements/constraints.txt
# -r requirements/test.in
pycodestyle==2.11.1
# via -r requirements/test.in
pylint==3.0.3
# via -r requirements/test.in
pymongo==3.13.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# edx-opaque-keys
pytz==2023.3.post1
pytz==2024.1
# via
# -r requirements/base.txt
# django
# djangorestframework
six==1.16.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# via -r requirements/base.txt
sqlparse==0.4.4
# via
# -r requirements/base.txt
Expand All @@ -108,20 +82,16 @@ stevedore==5.1.0
# via
# -r requirements/base.txt
# edx-opaque-keys
testfixtures==7.0.0
# via
# -c requirements/constraints.txt
# -r requirements/test.in
testfixtures==7.2.2
# via -r requirements/test.in
tomli==2.0.1
# via pylint
typing-extensions==4.8.0
tomlkit==0.12.3
# via pylint
typing-extensions==4.9.0
# via
# -r requirements/base.txt
# asgiref
# astroid
# edx-opaque-keys
# pylint
wrapt==1.16.0
# via astroid

# The following packages are considered to be unsafe in a requirements file:
# setuptools
10 changes: 5 additions & 5 deletions requirements/tox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.7
distlib==0.3.8
# via virtualenv
filelock==3.13.1
# via
Expand All @@ -20,19 +20,19 @@ packaging==23.2
# via
# pyproject-api
# tox
platformdirs==3.11.0
platformdirs==4.2.0
# via
# tox
# virtualenv
pluggy==1.3.0
pluggy==1.4.0
# via tox
pyproject-api==1.6.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.11.3
tox==4.12.1
# via -r requirements/tox.in
virtualenv==20.24.6
virtualenv==20.25.0
# via tox

0 comments on commit 2beeb07

Please sign in to comment.