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
add pylint constraint
  • Loading branch information
magajh committed Oct 3, 2024
1 parent 004fee1 commit bc88383
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 81 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
4 changes: 4 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ backports.zoneinfo; python_version<'3.9'
# Adding pin to avoid any major upgrade.
# 3.15.1 is the latest version that works with Django 3.2
djangorestframework<3.15.2

# Versions >= 3.3.0 drop support for Python 3.8
# Ensures a consistent pylint version across all Python environments to avoid triggering varying warnings
pylint<3.3.0
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
Loading

0 comments on commit bc88383

Please sign in to comment.