From 5c19cfbd9e6dab97023ac0878d11305d8887a203 Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Wed, 27 Sep 2023 20:47:54 +0500 Subject: [PATCH] chore: upgrade django-simple-history package version feat: add new migrations with simple-history package --- Makefile | 10 ++- .../migrations/0020_auto_20231010_1442.py | 21 ++++++ edx_exams/settings/base.py | 3 + requirements/base.txt | 28 ++++--- requirements/ci.txt | 4 +- requirements/common_constraints.txt | 28 +++++++ requirements/constraints.txt | 4 +- requirements/dev.txt | 53 +++++++++++--- requirements/doc.txt | 73 +++++++++++++------ requirements/pip-tools.txt | 9 +++ requirements/production.txt | 23 ++++-- requirements/quality.txt | 52 +++++++++---- requirements/test.txt | 42 +++++++---- requirements/validation.txt | 46 ++++++++++-- 14 files changed, 303 insertions(+), 93 deletions(-) create mode 100644 edx_exams/apps/core/migrations/0020_auto_20231010_1442.py create mode 100644 requirements/common_constraints.txt diff --git a/Makefile b/Makefile index 27064c30..6b17a108 100644 --- a/Makefile +++ b/Makefile @@ -98,8 +98,16 @@ migrate: ## apply database migrations html_coverage: ## generate and view HTML coverage report coverage html && open htmlcov/index.html +COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt +.PHONY: $(COMMON_CONSTRAINTS_TXT) +$(COMMON_CONSTRAINTS_TXT): + wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt || touch "$(@)" + echo "$(COMMON_CONSTRAINTS_TEMP_COMMENT)" | cat - $(@) > temp && mv temp $(@) + upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade -upgrade: piptools ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in +upgrade: piptools $(COMMON_CONSTRAINTS_TXT) ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in + sed 's/django-simple-history==3.0.0//g' requirements/common_constraints.txt > requirements/common_constraints.tmp + mv requirements/common_constraints.tmp requirements/common_constraints.txt # Make sure to compile files after any other files they include! pip-compile --upgrade --allow-unsafe --rebuild -o requirements/pip.txt requirements/pip.in pip-compile --upgrade -o requirements/pip-tools.txt requirements/pip-tools.in diff --git a/edx_exams/apps/core/migrations/0020_auto_20231010_1442.py b/edx_exams/apps/core/migrations/0020_auto_20231010_1442.py new file mode 100644 index 00000000..1d9a75e4 --- /dev/null +++ b/edx_exams/apps/core/migrations/0020_auto_20231010_1442.py @@ -0,0 +1,21 @@ +# Generated by Django 3.2.22 on 2023-10-10 14:42 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0019_alter_user_full_name'), + ] + + operations = [ + migrations.AlterModelOptions( + name='historicalexam', + options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical exam', 'verbose_name_plural': 'historical exams'}, + ), + migrations.AlterModelOptions( + name='historicalexamattempt', + options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical exam attempt', 'verbose_name_plural': 'historical exam attempts'}, + ), + ] diff --git a/edx_exams/settings/base.py b/edx_exams/settings/base.py index 2b5aae05..63a933e9 100644 --- a/edx_exams/settings/base.py +++ b/edx_exams/settings/base.py @@ -280,3 +280,6 @@ def root(*path_fragments): # Event Bus Settings EXAM_ATTEMPT_EVENTS_KAFKA_TOPIC_NAME = 'learning-exam-attempt-lifecycle' + +# disable indexing on history_date +SIMPLE_HISTORY_DATE_INDEX = False diff --git a/requirements/base.txt b/requirements/base.txt index f43abf2b..3bafc8f7 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -8,15 +8,17 @@ appdirs==1.4.4 # via fs asgiref==3.7.2 # via django +async-timeout==4.0.3 + # via redis attrs==23.1.0 # via # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # boto3 # s3transfer @@ -50,7 +52,7 @@ defusedxml==0.8.0rc2 # social-auth-core django==3.2.22 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/base.in # django-appconf # django-config-models @@ -97,10 +99,8 @@ django-model-utils==4.3.1 # via -r requirements/base.in django-rest-swagger==2.2.0 # via -r requirements/base.in -django-simple-history==3.0.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/base.in +django-simple-history==3.4.0 + # via -r requirements/base.in django-statici18n==2.4.0 # via lti-consumer-xblock django-waffle==4.0.0 @@ -200,6 +200,7 @@ lxml==4.9.3 mako==1.2.4 # via # lti-consumer-xblock + # xblock # xblock-utils markupsafe==2.1.3 # via @@ -221,7 +222,7 @@ openedx-django-pyfs==3.4.0 # via # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/base.in # edx-event-bus-kafka @@ -293,9 +294,10 @@ s3transfer==0.7.0 # via boto3 semantic-version==2.10.0 # via edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -325,7 +327,9 @@ stevedore==5.1.0 text-unidecode==1.3 # via python-slugify typing-extensions==4.8.0 - # via edx-opaque-keys + # via + # asgiref + # edx-opaque-keys uritemplate==4.1.1 # via # coreapi @@ -344,7 +348,7 @@ webencodings==0.5.1 # via bleach webob==1.8.7 # via xblock -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # lti-consumer-xblock # xblock-utils diff --git a/requirements/ci.txt b/requirements/ci.txt index f8691ab2..d611fd0c 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -20,9 +20,11 @@ py==1.11.0 # via tox six==1.16.0 # via tox +tomli==2.0.1 + # via tox tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/ci.in virtualenv==20.24.5 # via tox diff --git a/requirements/common_constraints.txt b/requirements/common_constraints.txt new file mode 100644 index 00000000..5a86f013 --- /dev/null +++ b/requirements/common_constraints.txt @@ -0,0 +1,28 @@ + +# A central location for most common version constraints +# (across edx repos) for pip-installation. +# +# Similar to other constraint files this file doesn't install any packages. +# It specifies version constraints that will be applied if a package is needed. +# When pinning something here, please provide an explanation of why it is a good +# idea to pin this package across all edx repos, Ideally, link to other information +# that will help people in the future to remove the pin when possible. +# Writing an issue against the offending project and linking to it here is good. +# +# Note: Changes to this file will automatically be used by other repos, referencing +# this file from Github directly. It does not require packaging in edx-lint. + + +# using LTS django version +Django<4.0 + +# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process. +# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html +elasticsearch<7.14.0 + +# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected + + +# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos. +# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810 +tox<4.0.0 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 2ebd6ea6..a51cb08b 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -9,6 +9,4 @@ # linking to it here is good. # Common constraints for edx repos --c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - - +-c common_constraints.txt diff --git a/requirements/dev.txt b/requirements/dev.txt index a298fb15..7133337b 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -17,20 +17,24 @@ astroid==2.15.8 # -r requirements/validation.txt # pylint # pylint-celery +async-timeout==4.0.3 + # via + # -r requirements/validation.txt + # redis attrs==23.1.0 # via # -r requirements/validation.txt # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/validation.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/validation.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/validation.txt # boto3 @@ -168,7 +172,7 @@ django-model-utils==4.3.1 # via -r requirements/validation.txt django-rest-swagger==2.2.0 # via -r requirements/validation.txt -django-simple-history==3.0.0 +django-simple-history==3.4.0 # via -r requirements/validation.txt django-statici18n==2.4.0 # via @@ -226,7 +230,7 @@ edx-event-bus-kafka==5.5.0 # via -r requirements/validation.txt edx-event-bus-redis==0.3.2 # via -r requirements/validation.txt -edx-i18n-tools==1.2.0 +edx-i18n-tools==1.3.0 # via -r requirements/dev.in edx-lint==5.3.4 # via -r requirements/validation.txt @@ -246,9 +250,13 @@ edx-toggles==5.1.0 # edx-event-bus-redis edx-token-utils==0.2.1 # via -r requirements/validation.txt +exceptiongroup==1.1.3 + # via + # -r requirements/validation.txt + # pytest factory-boy==3.3.0 # via -r requirements/validation.txt -faker==19.6.2 +faker==19.8.0 # via # -r requirements/validation.txt # factory-boy @@ -283,9 +291,15 @@ idna==3.4 # requests importlib-metadata==6.8.0 # via + # -r requirements/pip-tools.txt # -r requirements/validation.txt + # build # keyring # twine +importlib-resources==6.1.0 + # via + # -r requirements/validation.txt + # keyring inflection==0.5.1 # via # -r requirements/validation.txt @@ -339,12 +353,14 @@ lti-consumer-xblock==9.6.2 lxml==4.9.3 # via # -r requirements/validation.txt + # edx-i18n-tools # lti-consumer-xblock # xblock mako==1.2.4 # via # -r requirements/validation.txt # lti-consumer-xblock + # xblock # xblock-utils markdown-it-py==3.0.0 # via @@ -395,7 +411,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/validation.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/validation.txt # edx-event-bus-kafka @@ -596,10 +612,11 @@ semantic-version==2.10.0 # via # -r requirements/validation.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/validation.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -646,6 +663,17 @@ text-unidecode==1.3 # via # -r requirements/validation.txt # python-slugify +tomli==2.0.1 + # via + # -r requirements/pip-tools.txt + # -r requirements/validation.txt + # build + # coverage + # pip-tools + # pylint + # pyproject-hooks + # pytest + # tox tomlkit==0.12.1 # via # -r requirements/validation.txt @@ -661,7 +689,12 @@ types-pyyaml==6.0.12.12 typing-extensions==4.8.0 # via # -r requirements/validation.txt + # asgiref + # astroid # edx-opaque-keys + # faker + # pylint + # rich uritemplate==4.1.1 # via # -r requirements/validation.txt @@ -703,7 +736,7 @@ wrapt==1.15.0 # via # -r requirements/validation.txt # astroid -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/validation.txt # lti-consumer-xblock @@ -714,8 +747,10 @@ xblock-utils==4.0.0 # lti-consumer-xblock zipp==3.17.0 # via + # -r requirements/pip-tools.txt # -r requirements/validation.txt # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.txt b/requirements/doc.txt index 6ecc9aa0..edf86d13 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -19,6 +19,10 @@ astroid==2.15.8 # -r requirements/test.txt # pylint # pylint-celery +async-timeout==4.0.3 + # via + # -r requirements/test.txt + # redis attrs==23.1.0 # via # -r requirements/test.txt @@ -26,15 +30,15 @@ attrs==23.1.0 # openedx-events babel==2.13.0 # via sphinx -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/test.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/test.txt # boto3 @@ -105,7 +109,7 @@ distlib==0.3.7 # virtualenv django==3.2.22 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/test.txt # django-appconf # django-config-models @@ -161,10 +165,8 @@ django-model-utils==4.3.1 # via -r requirements/test.txt django-rest-swagger==2.2.0 # via -r requirements/test.txt -django-simple-history==3.0.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/test.txt +django-simple-history==3.4.0 + # via -r requirements/test.txt django-statici18n==2.4.0 # via # -r requirements/test.txt @@ -245,9 +247,13 @@ edx-toggles==5.1.0 # edx-event-bus-redis edx-token-utils==0.2.1 # via -r requirements/test.txt +exceptiongroup==1.1.3 + # via + # -r requirements/test.txt + # pytest factory-boy==3.3.0 # via -r requirements/test.txt -faker==19.6.2 +faker==19.8.0 # via # -r requirements/test.txt # factory-boy @@ -284,8 +290,12 @@ imagesize==1.4.1 # via sphinx importlib-metadata==6.8.0 # via + # build # keyring + # sphinx # twine +importlib-resources==6.1.0 + # via keyring inflection==0.5.1 # via # -r requirements/test.txt @@ -341,6 +351,7 @@ mako==1.2.4 # via # -r requirements/test.txt # lti-consumer-xblock + # xblock # xblock-utils markdown-it-py==3.0.0 # via rich @@ -383,7 +394,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/test.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/test.txt # edx-event-bus-kafka @@ -509,6 +520,7 @@ python3-openid==3.2.0 pytz==2023.3.post1 # via # -r requirements/test.txt + # babel # django # djangorestframework # drf-yasg @@ -563,10 +575,11 @@ semantic-version==2.10.0 # via # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/test.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -601,22 +614,17 @@ sphinx==5.3.0 # via # -r requirements/doc.in # edx-sphinx-theme - # sphinxcontrib-applehelp - # sphinxcontrib-devhelp - # sphinxcontrib-htmlhelp - # sphinxcontrib-qthelp - # sphinxcontrib-serializinghtml -sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-applehelp==1.0.4 # via sphinx -sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-htmlhelp==2.0.1 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-qthelp==1.0.3 # via sphinx -sphinxcontrib-serializinghtml==1.1.9 +sphinxcontrib-serializinghtml==1.1.5 # via sphinx sqlparse==0.4.4 # via @@ -633,13 +641,23 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify +tomli==2.0.1 + # via + # -r requirements/test.txt + # build + # coverage + # doc8 + # pylint + # pyproject-hooks + # pytest + # tox tomlkit==0.12.1 # via # -r requirements/test.txt # pylint tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/test.txt twine==4.0.2 # via -r requirements/doc.in @@ -650,7 +668,12 @@ types-pyyaml==6.0.12.12 typing-extensions==4.8.0 # via # -r requirements/test.txt + # asgiref + # astroid # edx-opaque-keys + # faker + # pylint + # rich uritemplate==4.1.1 # via # -r requirements/test.txt @@ -688,7 +711,7 @@ wrapt==1.15.0 # via # -r requirements/test.txt # astroid -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/test.txt # lti-consumer-xblock @@ -698,7 +721,9 @@ xblock-utils==4.0.0 # -r requirements/test.txt # lti-consumer-xblock zipp==3.17.0 - # via importlib-metadata + # via + # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 243899dc..50d35f22 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -8,14 +8,23 @@ build==1.0.3 # via pip-tools click==8.1.7 # via pip-tools +importlib-metadata==6.8.0 + # via build packaging==23.2 # via build pip-tools==7.3.0 # via -r requirements/pip-tools.in pyproject-hooks==1.0.0 # via build +tomli==2.0.1 + # via + # build + # pip-tools + # pyproject-hooks wheel==0.41.2 # via pip-tools +zipp==3.17.0 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/production.txt b/requirements/production.txt index 01d3386a..5df28691 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -12,20 +12,24 @@ asgiref==3.7.2 # via # -r requirements/base.txt # django +async-timeout==4.0.3 + # via + # -r requirements/base.txt + # redis attrs==23.1.0 # via # -r requirements/base.txt # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/base.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/base.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/base.txt # boto3 @@ -126,7 +130,7 @@ django-model-utils==4.3.1 # via -r requirements/base.txt django-rest-swagger==2.2.0 # via -r requirements/base.txt -django-simple-history==3.0.0 +django-simple-history==3.4.0 # via -r requirements/base.txt django-statici18n==2.4.0 # via @@ -262,6 +266,7 @@ mako==1.2.4 # via # -r requirements/base.txt # lti-consumer-xblock + # xblock # xblock-utils markupsafe==2.1.3 # via @@ -292,7 +297,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/base.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/base.txt # edx-event-bus-kafka @@ -400,10 +405,11 @@ semantic-version==2.10.0 # via # -r requirements/base.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/base.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -447,6 +453,7 @@ text-unidecode==1.3 typing-extensions==4.8.0 # via # -r requirements/base.txt + # asgiref # edx-opaque-keys uritemplate==4.1.1 # via @@ -475,7 +482,7 @@ webob==1.8.7 # via # -r requirements/base.txt # xblock -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/base.txt # lti-consumer-xblock @@ -486,7 +493,7 @@ xblock-utils==4.0.0 # lti-consumer-xblock zope-event==5.0 # via gevent -zope-interface==6.0 +zope-interface==6.1 # via gevent # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/quality.txt b/requirements/quality.txt index 7e97f787..84d43fd9 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -17,20 +17,24 @@ astroid==2.15.8 # -r requirements/test.txt # pylint # pylint-celery +async-timeout==4.0.3 + # via + # -r requirements/test.txt + # redis attrs==23.1.0 # via # -r requirements/test.txt # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/test.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/test.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/test.txt # boto3 @@ -99,7 +103,7 @@ distlib==0.3.7 # virtualenv django==3.2.22 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/test.txt # django-appconf # django-config-models @@ -155,10 +159,8 @@ django-model-utils==4.3.1 # via -r requirements/test.txt django-rest-swagger==2.2.0 # via -r requirements/test.txt -django-simple-history==3.0.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/test.txt +django-simple-history==3.4.0 + # via -r requirements/test.txt django-statici18n==2.4.0 # via # -r requirements/test.txt @@ -233,9 +235,13 @@ edx-toggles==5.1.0 # edx-event-bus-redis edx-token-utils==0.2.1 # via -r requirements/test.txt +exceptiongroup==1.1.3 + # via + # -r requirements/test.txt + # pytest factory-boy==3.3.0 # via -r requirements/test.txt -faker==19.6.2 +faker==19.8.0 # via # -r requirements/test.txt # factory-boy @@ -272,6 +278,8 @@ importlib-metadata==6.8.0 # via # keyring # twine +importlib-resources==6.1.0 + # via keyring inflection==0.5.1 # via # -r requirements/test.txt @@ -327,6 +335,7 @@ mako==1.2.4 # via # -r requirements/test.txt # lti-consumer-xblock + # xblock # xblock-utils markdown-it-py==3.0.0 # via rich @@ -369,7 +378,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/test.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/test.txt # edx-event-bus-kafka @@ -544,10 +553,11 @@ semantic-version==2.10.0 # via # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/test.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -591,13 +601,20 @@ text-unidecode==1.3 # via # -r requirements/test.txt # python-slugify +tomli==2.0.1 + # via + # -r requirements/test.txt + # coverage + # pylint + # pytest + # tox tomlkit==0.12.1 # via # -r requirements/test.txt # pylint tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/test.txt twine==4.0.2 # via -r requirements/quality.in @@ -608,7 +625,12 @@ types-pyyaml==6.0.12.12 typing-extensions==4.8.0 # via # -r requirements/test.txt + # asgiref + # astroid # edx-opaque-keys + # faker + # pylint + # rich uritemplate==4.1.1 # via # -r requirements/test.txt @@ -646,7 +668,7 @@ wrapt==1.15.0 # via # -r requirements/test.txt # astroid -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/test.txt # lti-consumer-xblock @@ -656,7 +678,9 @@ xblock-utils==4.0.0 # -r requirements/test.txt # lti-consumer-xblock zipp==3.17.0 - # via importlib-metadata + # via + # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/test.txt b/requirements/test.txt index 656bb4b9..db37bc39 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,20 +16,24 @@ astroid==2.15.8 # via # pylint # pylint-celery +async-timeout==4.0.3 + # via + # -r requirements/base.txt + # redis attrs==23.1.0 # via # -r requirements/base.txt # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/base.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/base.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/base.txt # boto3 @@ -92,7 +96,7 @@ dill==0.3.7 distlib==0.3.7 # via virtualenv # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/base.txt # django-appconf # django-config-models @@ -148,10 +152,8 @@ django-model-utils==4.3.1 # via -r requirements/base.txt django-rest-swagger==2.2.0 # via -r requirements/base.txt -django-simple-history==3.0.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/base.txt +django-simple-history==3.4.0 + # via -r requirements/base.txt django-statici18n==2.4.0 # via # -r requirements/base.txt @@ -222,9 +224,11 @@ edx-toggles==5.1.0 # edx-event-bus-redis edx-token-utils==0.2.1 # via -r requirements/base.txt +exceptiongroup==1.1.3 + # via pytest factory-boy==3.3.0 # via -r requirements/test.in -faker==19.6.2 +faker==19.8.0 # via factory-boy fastavro==1.8.4 # via @@ -298,6 +302,7 @@ mako==1.2.4 # via # -r requirements/base.txt # lti-consumer-xblock + # xblock # xblock-utils markupsafe==2.1.3 # via @@ -330,7 +335,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/base.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/base.txt # edx-event-bus-kafka @@ -474,10 +479,11 @@ semantic-version==2.10.0 # via # -r requirements/base.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/base.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -519,18 +525,28 @@ text-unidecode==1.3 # via # -r requirements/base.txt # python-slugify +tomli==2.0.1 + # via + # coverage + # pylint + # pytest + # tox tomlkit==0.12.1 # via pylint tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + # -c requirements/common_constraints.txt # -r requirements/test.in types-pyyaml==6.0.12.12 # via responses typing-extensions==4.8.0 # via # -r requirements/base.txt + # asgiref + # astroid # edx-opaque-keys + # faker + # pylint uritemplate==4.1.1 # via # -r requirements/base.txt @@ -563,7 +579,7 @@ webob==1.8.7 # xblock wrapt==1.15.0 # via astroid -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/base.txt # lti-consumer-xblock diff --git a/requirements/validation.txt b/requirements/validation.txt index 728d0a35..fad16ae0 100644 --- a/requirements/validation.txt +++ b/requirements/validation.txt @@ -20,23 +20,28 @@ astroid==2.15.8 # -r requirements/test.txt # pylint # pylint-celery +async-timeout==4.0.3 + # via + # -r requirements/quality.txt + # -r requirements/test.txt + # redis attrs==23.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock # openedx-events -bleach==6.0.0 +bleach==6.1.0 # via # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock -boto3==1.28.59 +boto3==1.28.62 # via # -r requirements/quality.txt # -r requirements/test.txt # fs-s3fs -botocore==1.31.59 +botocore==1.31.62 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -191,7 +196,7 @@ django-rest-swagger==2.2.0 # via # -r requirements/quality.txt # -r requirements/test.txt -django-simple-history==3.0.0 +django-simple-history==3.4.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -296,11 +301,16 @@ edx-token-utils==0.2.1 # via # -r requirements/quality.txt # -r requirements/test.txt +exceptiongroup==1.1.3 + # via + # -r requirements/quality.txt + # -r requirements/test.txt + # pytest factory-boy==3.3.0 # via # -r requirements/quality.txt # -r requirements/test.txt -faker==19.6.2 +faker==19.8.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -347,6 +357,10 @@ importlib-metadata==6.8.0 # -r requirements/quality.txt # keyring # twine +importlib-resources==6.1.0 + # via + # -r requirements/quality.txt + # keyring inflection==0.5.1 # via # -r requirements/quality.txt @@ -418,6 +432,7 @@ mako==1.2.4 # -r requirements/quality.txt # -r requirements/test.txt # lti-consumer-xblock + # xblock # xblock-utils markdown-it-py==3.0.0 # via @@ -478,7 +493,7 @@ openedx-django-pyfs==3.4.0 # -r requirements/test.txt # lti-consumer-xblock # xblock -openedx-events==8.9.0 +openedx-events==9.0.0 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -699,11 +714,12 @@ semantic-version==2.10.0 # -r requirements/quality.txt # -r requirements/test.txt # edx-drf-extensions -simplejson==3.19.1 +simplejson==3.19.2 # via # -r requirements/quality.txt # -r requirements/test.txt # django-rest-swagger + # xblock # xblock-utils six==1.16.0 # via @@ -756,6 +772,14 @@ text-unidecode==1.3 # -r requirements/quality.txt # -r requirements/test.txt # python-slugify +tomli==2.0.1 + # via + # -r requirements/quality.txt + # -r requirements/test.txt + # coverage + # pylint + # pytest + # tox tomlkit==0.12.1 # via # -r requirements/quality.txt @@ -776,7 +800,12 @@ typing-extensions==4.8.0 # via # -r requirements/quality.txt # -r requirements/test.txt + # asgiref + # astroid # edx-opaque-keys + # faker + # pylint + # rich uritemplate==4.1.1 # via # -r requirements/quality.txt @@ -822,7 +851,7 @@ wrapt==1.15.0 # -r requirements/quality.txt # -r requirements/test.txt # astroid -xblock[django]==1.8.0 +xblock[django]==1.8.1 # via # -r requirements/quality.txt # -r requirements/test.txt @@ -837,6 +866,7 @@ zipp==3.17.0 # via # -r requirements/quality.txt # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # setuptools