Skip to content

Commit

Permalink
chore: upgrade requirements with py3.8 and add pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Oct 14, 2024
1 parent ca083fd commit a72397e
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 46 deletions.
21 changes: 14 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand All @@ -12,6 +12,12 @@ asgiref==3.8.1
# via django
attrs==24.2.0
# via openedx-events
backports-zoneinfo[tzdata]==0.2.1
# via
# celery
# django
# djangorestframework
# kombu
billiard==4.2.1
# via celery
celery==5.4.0
Expand All @@ -24,7 +30,7 @@ cffi==1.17.1
# via
# cryptography
# pynacl
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
Expand Down Expand Up @@ -124,7 +130,7 @@ edx-api-doc-tools==2.0.0
# via eox-core
edx-ccx-keys==1.3.0
# via openedx-events
edx-django-utils==5.15.0
edx-django-utils==6.0.0
# via
# edx-drf-extensions
# edx-rest-api-client
Expand All @@ -146,7 +152,7 @@ edx-opaque-keys[django]==2.11.0
# edx-when
# eox-core
# openedx-events
edx-proctoring==4.18.1
edx-proctoring==4.18.2
# via eox-core
edx-rest-api-client==6.0.0
# via edx-proctoring
Expand Down Expand Up @@ -185,7 +191,7 @@ markupsafe==2.1.5
# jinja2
# mako
# xblock
newrelic==9.13.0
newrelic==10.1.0
# via edx-django-utils
oauthlib==3.2.2
# via
Expand All @@ -206,7 +212,7 @@ psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pycryptodomex==3.20.0
pycryptodomex==3.21.0
# via edx-proctoring
pyjwt[crypto]==2.9.0
# via
Expand Down Expand Up @@ -284,10 +290,11 @@ typing-extensions==4.12.2
# asgiref
# edx-opaque-keys
# jwcrypto
# kombu
tzdata==2024.2
# via
# backports-zoneinfo
# celery
# kombu
uritemplate==4.1.1
# via drf-yasg
urllib3==2.2.3
Expand Down
1 change: 1 addition & 0 deletions requirements/django.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django==4.2.16
28 changes: 16 additions & 12 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
alabaster==1.0.0
alabaster==0.7.13
# via sphinx
babel==2.16.0
# via sphinx
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
docutils==0.21.2
docutils==0.20.1
# via sphinx
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.5.0
# via sphinx
jinja2==3.1.4
# via sphinx
markupsafe==2.1.5
Expand All @@ -26,25 +28,27 @@ packaging==24.1
# via sphinx
pygments==2.18.0
# via sphinx
pytz==2024.2
# via babel
requests==2.32.3
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==8.0.2
sphinx==7.1.2
# via -r requirements/docs.in
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-applehelp==1.0.4
# via sphinx
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-htmlhelp==2.0.1
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
sphinxcontrib-qthelp==1.0.3
# via sphinx
tomli==2.0.1
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==2.2.3
# via requests
zipp==3.20.2
# via importlib-metadata
12 changes: 8 additions & 4 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
build==1.2.2
build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==8.5.0
# via build
packaging==24.1
# via build
pip-tools==7.4.1
# via -r requirements/pip-tools.in
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
tomli==2.0.1
tomli==2.0.2
# via
# build
# pip-tools
wheel==0.44.0
# via pip-tools
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
5 changes: 3 additions & 2 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

Django
edx-opaque-keys[django]
# Use palm version for pylint to avoid errors
pylint==2.15.10
pylint
pytest
pytest-django
pycodestyle
coverage
django-fake-model
Expand Down
52 changes: 36 additions & 16 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand All @@ -16,12 +16,19 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
astroid==2.13.5
astroid==3.2.4
# via pylint
attrs==24.2.0
# via
# -r requirements/base.txt
# openedx-events
backports-zoneinfo[tzdata]==0.2.1
# via
# -r requirements/base.txt
# celery
# django
# djangorestframework
# kombu
billiard==4.2.1
# via
# -r requirements/base.txt
Expand All @@ -40,7 +47,7 @@ cffi==1.17.1
# -r requirements/base.txt
# cryptography
# pynacl
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via
# -r requirements/base.txt
# requests
Expand Down Expand Up @@ -83,7 +90,7 @@ defusedxml==0.8.0rc2
# -r requirements/base.txt
# python3-openid
# social-auth-core
dill==0.3.8
dill==0.3.9
# via pylint
# via
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
Expand Down Expand Up @@ -186,7 +193,7 @@ edx-ccx-keys==1.3.0
# via
# -r requirements/base.txt
# openedx-events
edx-django-utils==5.15.0
edx-django-utils==6.0.0
# via
# -r requirements/base.txt
# edx-drf-extensions
Expand All @@ -211,7 +218,7 @@ edx-opaque-keys[django]==2.11.0
# edx-when
# eox-core
# openedx-events
edx-proctoring==4.18.1
edx-proctoring==4.18.2
# via
# -r requirements/base.txt
# eox-core
Expand All @@ -234,6 +241,8 @@ event-tracking==2.4.0
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.txt
# edx-proctoring
exceptiongroup==1.2.2
# via pytest
fastavro==1.9.7
# via
# -r requirements/base.txt
Expand All @@ -250,6 +259,8 @@ inflection==0.5.1
# via
# -r requirements/base.txt
# drf-yasg
iniconfig==2.0.0
# via pytest
isort==5.13.2
# via pylint
jinja2==3.1.4
Expand All @@ -268,8 +279,6 @@ kombu==5.4.2
# via
# -r requirements/base.txt
# celery
lazy-object-proxy==1.10.0
# via astroid
lxml==5.3.0
# via
# -r requirements/base.txt
Expand All @@ -288,7 +297,7 @@ mccabe==0.7.0
# via pylint
mock==5.1.0
# via -r requirements/test.in
newrelic==9.13.0
newrelic==10.1.0
# via
# -r requirements/base.txt
# edx-django-utils
Expand All @@ -307,12 +316,15 @@ packaging==24.1
# via
# -r requirements/base.txt
# drf-yasg
# pytest
pbr==6.1.0
# via
# -r requirements/base.txt
# stevedore
platformdirs==4.3.6
# via pylint
pluggy==1.5.0
# via pytest
prompt-toolkit==3.0.48
# via
# -r requirements/base.txt
Expand All @@ -327,7 +339,7 @@ pycparser==2.22
# via
# -r requirements/base.txt
# cffi
pycryptodomex==3.20.0
pycryptodomex==3.21.0
# via
# -r requirements/base.txt
# edx-proctoring
Expand All @@ -339,7 +351,7 @@ pyjwt[crypto]==2.9.0
# edx-proctoring
# edx-rest-api-client
# social-auth-core
pylint==2.15.10
pylint==3.2.7
# via -r requirements/test.in
pymongo==3.13.0
# via
Expand All @@ -350,6 +362,12 @@ pynacl==1.5.0
# via
# -r requirements/base.txt
# edx-django-utils
pytest==8.3.3
# via
# -r requirements/test.in
# pytest-django
pytest-django==4.9.0
# via -r requirements/test.in
python-dateutil==2.9.0.post0
# via
# -r requirements/base.txt
Expand Down Expand Up @@ -437,8 +455,10 @@ text-unidecode==1.3
# via
# -r requirements/base.txt
# python-slugify
tomli==2.0.1
# via pylint
tomli==2.0.2
# via
# pylint
# pytest
tomlkit==0.13.2
# via pylint
typing-extensions==4.12.2
Expand All @@ -448,11 +468,13 @@ typing-extensions==4.12.2
# astroid
# edx-opaque-keys
# jwcrypto
# kombu
# pylint
tzdata==2024.2
# via
# -r requirements/base.txt
# backports-zoneinfo
# celery
# kombu
uritemplate==4.1.1
# via
# -r requirements/base.txt
Expand All @@ -479,8 +501,6 @@ webob==1.8.8
# via
# -r requirements/base.txt
# xblock
wrapt==1.16.0
# via astroid
xblock==5.1.0
# via
# -r requirements/base.txt
Expand Down
Loading

0 comments on commit a72397e

Please sign in to comment.