Skip to content

Commit

Permalink
chore: add pytest and pytest-django to test requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Oct 3, 2024
1 parent 004fee1 commit 2492d02
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 80 deletions.
43 changes: 19 additions & 24 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# make upgrade
#
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
certifi==2024.6.2
certifi==2024.8.30
# via requests
cffi==1.16.0
cffi==1.17.1
# via
# cryptography
# pynacl
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via edx-django-utils
cryptography==42.0.8
cryptography==43.0.1
# via
# pyjwt
# social-auth-core
defusedxml==0.8.0rc2
# via
# python3-openid
# social-auth-core
django==4.2.13
django==4.2.16
# via
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
# -c requirements/constraints.txt
Expand All @@ -49,7 +44,7 @@ django-crum==0.7.9
# via
# -r requirements/base.in
# edx-django-utils
django-model-utils==4.5.1
django-model-utils==5.0.0
# via edx-organizations
django-mysql==4.14.0
# via -r requirements/base.in
Expand All @@ -72,45 +67,45 @@ dnspython==2.6.1
# via pymongo
drf-jwt==1.19.2
# via edx-drf-extensions
edx-django-utils==5.14.2
edx-django-utils==5.16.0
# via edx-drf-extensions
edx-drf-extensions==10.3.0
edx-drf-extensions==10.4.0
# via
# -r requirements/base.in
# edx-organizations
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.in
# edx-drf-extensions
# edx-organizations
edx-organizations==6.13.0
edx-organizations==7.0.0
# via -r requirements/base.in
idna==3.7
idna==3.10
# via requests
jsonfield==3.1.0
# via -r requirements/base.in
newrelic==9.11.0
newrelic==10.0.0
# via edx-django-utils
oauthlib==3.2.2
# via
# requests-oauthlib
# social-auth-core
openedx-filters==1.9.0
# via -r requirements/base.in
pbr==6.0.0
pbr==6.1.0
# via stevedore
pillow==10.3.0
pillow==10.4.0
# via edx-organizations
psutil==6.0.0
# via edx-django-utils
pycparser==2.22
# via cffi
pyjwt[crypto]==2.8.0
pyjwt[crypto]==2.9.0
# via
# drf-jwt
# edx-drf-extensions
# social-auth-core
pymongo==4.7.3
pymongo==4.10.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -129,17 +124,17 @@ six==1.16.0
# via -r requirements/base.in
social-auth-core==4.5.4
# via -r requirements/base.in
sqlparse==0.5.0
sqlparse==0.5.1
# via django
stevedore==5.2.0
stevedore==5.3.0
# via
# edx-django-utils
# edx-opaque-keys
typing-extensions==4.12.2
# via
# asgiref
# edx-opaque-keys
urllib3==2.2.2
urllib3==2.2.3
# via requests

# The following packages are considered to be unsafe in a requirements file:
Expand Down
2 changes: 1 addition & 1 deletion requirements/django42.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django==4.2.13
django==4.2.16
16 changes: 5 additions & 11 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# make upgrade
#
build==1.2.1
build==1.2.2
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
# 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.43.0
wheel==0.44.0
# via pip-tools
zipp==3.19.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
2 changes: 2 additions & 0 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ django-fake-model
ddt
pycodestyle
pylint
pytest
pytest-django
coverage
mock
testfixtures
Expand Down
81 changes: 45 additions & 36 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.8
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# make upgrade
Expand All @@ -8,19 +8,13 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
astroid==3.2.2
astroid==3.3.4
# via pylint
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# django
# djangorestframework
certifi==2024.6.2
certifi==2024.8.30
# via
# -r requirements/base.txt
# requests
cffi==1.16.0
cffi==1.17.1
# via
# -r requirements/base.txt
# cryptography
Expand All @@ -33,9 +27,9 @@ click==8.1.7
# via
# -r requirements/base.txt
# edx-django-utils
coverage==7.5.3
coverage==7.6.1
# via -r requirements/test.in
cryptography==42.0.8
cryptography==43.0.1
# via
# -r requirements/base.txt
# pyjwt
Expand All @@ -47,7 +41,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 All @@ -70,7 +64,7 @@ django-crum==0.7.9
# edx-django-utils
django-fake-model==0.1.4
# via -r requirements/test.in
django-model-utils==4.5.1
django-model-utils==5.0.0
# via
# -r requirements/base.txt
# edx-organizations
Expand Down Expand Up @@ -101,25 +95,29 @@ drf-jwt==1.19.2
# via
# -r requirements/base.txt
# edx-drf-extensions
edx-django-utils==5.14.2
edx-django-utils==5.16.0
# via
# -r requirements/base.txt
# edx-drf-extensions
edx-drf-extensions==10.3.0
edx-drf-extensions==10.4.0
# via
# -r requirements/base.txt
# edx-organizations
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.txt
# edx-drf-extensions
# edx-organizations
edx-organizations==6.13.0
edx-organizations==7.0.0
# via -r requirements/base.txt
idna==3.7
exceptiongroup==1.2.2
# via pytest
idna==3.10
# via
# -r requirements/base.txt
# requests
iniconfig==2.0.0
# via pytest
isort==5.13.2
# via pylint
jsonfield==3.1.0
Expand All @@ -128,7 +126,7 @@ mccabe==0.7.0
# via pylint
mock==5.1.0
# via -r requirements/test.in
newrelic==9.11.0
newrelic==10.0.0
# via
# -r requirements/base.txt
# edx-django-utils
Expand All @@ -139,51 +137,61 @@ oauthlib==3.2.2
# social-auth-core
openedx-filters==1.9.0
# via -r requirements/base.txt
path==16.14.0
packaging==24.1
# via pytest
path==17.0.0
# via path-py
path-py==12.5.0
# via -r requirements/test.in
pbr==6.0.0
pbr==6.1.0
# via
# -r requirements/base.txt
# stevedore
pillow==10.3.0
pillow==10.4.0
# via
# -r requirements/base.txt
# edx-organizations
platformdirs==4.2.2
platformdirs==4.3.6
# via pylint
pluggy==1.5.0
# via pytest
psutil==6.0.0
# via
# -r requirements/base.txt
# edx-django-utils
pycodestyle==2.12.0
pycodestyle==2.12.1
# via -r requirements/test.in
pycparser==2.22
# via
# -r requirements/base.txt
# cffi
pyjwt[crypto]==2.8.0
pyjwt[crypto]==2.9.0
# via
# -r requirements/base.txt
# drf-jwt
# edx-drf-extensions
# social-auth-core
pylint==3.2.3
pylint==3.3.1
# via -r requirements/test.in
pymongo==4.7.3
pymongo==4.10.1
# via
# -r requirements/base.txt
# edx-opaque-keys
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
python3-openid==3.2.0
# via
# -r requirements/base.txt
# social-auth-core
pyyaml==6.0.1
pyyaml==6.0.2
# via -r requirements/test.in
requests==2.32.3
# via
Expand All @@ -203,29 +211,30 @@ six==1.16.0
# via -r requirements/base.txt
social-auth-core==4.5.4
# via -r requirements/base.txt
sqlparse==0.5.0
sqlparse==0.5.1
# via
# -r requirements/base.txt
# django
stevedore==5.2.0
stevedore==5.3.0
# via
# -r requirements/base.txt
# edx-django-utils
# edx-opaque-keys
testfixtures==8.3.0
# via -r requirements/test.in
tomli==2.0.1
# via pylint
tomlkit==0.12.5
tomli==2.0.2
# via
# pylint
# pytest
tomlkit==0.13.2
# via pylint
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# asgiref
# astroid
# edx-opaque-keys
# pylint
urllib3==2.2.2
urllib3==2.2.3
# via
# -r requirements/base.txt
# requests
Expand Down
Loading

0 comments on commit 2492d02

Please sign in to comment.