From 26868462233faa6d8e4180fcc9b532c88216a1a1 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Thu, 18 May 2023 09:54:52 +0530 Subject: [PATCH 1/3] docs: update readme --- README.rst | 133 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 104 insertions(+), 29 deletions(-) diff --git a/README.rst b/README.rst index c3d55c5..6a86676 100644 --- a/README.rst +++ b/README.rst @@ -1,29 +1,112 @@ skill_tagging ############################# -.. note:: - - This README was auto-generated. Maintainer: please review its contents and - update all relevant sections. Instructions to you are marked with - "PLACEHOLDER" or "TODO". Update or remove those sections, and remove this - note when you are done. - |pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge| |license-badge| |status-badge| -Purpose -******* +Overview +******** + +Django app for fetching and verifying tags/skills for video and vertical/unit +XBlocks. It implements two openedx_filters pipelines to inject a form into the end +unit XBlocks and video XBlocks. -Django app plugin for fetching and verifying tags for xblock skills. +.. image:: https://user-images.githubusercontent.com/10894099/210078679-3cbac3d1-55a7-4fba-b841-7fb4468f32c5.png + :target: https://user-images.githubusercontent.com/10894099/210078679-3cbac3d1-55a7-4fba-b841-7fb4468f32c5.png + :alt: vertical block verification form + +.. image:: https://user-images.githubusercontent.com/10894099/212285572-efa5cfd5-e9c5-411d-8d15-541c43445ec0.png + :target: https://user-images.githubusercontent.com/10894099/212285572-efa5cfd5-e9c5-411d-8d15-541c43445ec0.png + :alt: video block verification form + +More information about the XBlock skill tagging design can be found in this +`ADR`_. + +.. _ADR: https://github.com/openedx/taxonomy-connector/blob/master/docs/decisions/0001-xblock-skill-tagging-design.rst -Set ``SHOW_SKILL_VERIFICATION_PROBABILITY`` in your django settings to configure -probability of displaying verification form. Values in range 0 to 1 are -allowed, where 0 means never and 1 means always display. Default value is 0.5 -i.e. 50% chance of displaying the form. Getting Started *************** +To install ``skill_tagging`` in `edx-platform`_, run + +.. code-block:: + + pip install skill_tagging + + # to install a development version locally in devstack + # clone this repo in `/src` directory and run + pip install -e /edx/src/xblock-skill-tagging + +.. _edx-platform: https://github.com/openedx/edx-platform + +This repo depends on discovery service for fetching skills/tags for a given +XBlock which depends on `taxonomy-connector`_ plugin for generating and serving these +tags. Setup ``taxonomy-connector`` plugin in `course-discovery`_ by installing it +via pip: + +.. code-block:: + + pip install taxonomy-connector + + # to install a development version locally in devstack + # clone this repo in `/src` directory and run + pip install -e /edx/src/taxonomy_connector + +.. _taxonomy-connector: https://github.com/openedx/taxonomy-connector +.. _course-discovery: https://github.com/openedx/course-discovery + +Whenever a user verifies tags/skills for an XBlock, ``skill_tagging`` `emits`_ an +openedx_event called ``XBLOCK_SKILL_VERIFIED``. This event needs to be consumed +by course discovery to make sure that the verification count is incremented for +that skill/tag. + +To produce and consume this event, setup an implementation of event bus +like `event_bus_kafka`_ or `event_bus_redis`_. `How to start using the Event Bus`_ +has detailed information on setting up event bus. The host would be +``edx-platform`` while ``course-discovery`` will be the consumer for the event +bus. + +.. _emits: https://github.com/openedx/xblock-skill-tagging/blob/b323d8b13b66a69326b8fad77ccba4631dbdece9/skill_tagging/skill_tagging_mixin.py#L103 +.. _event_bus_kafka: https://github.com/openedx/event-bus-kafka +.. _event_bus_redis: https://github.com/openedx/event-bus-redis +.. _How to start using the Event Bus: https://openedx.atlassian.net/wiki/spaces/AC/pages/3508699151/How+to+start+using+the+Event+Bus + +Configuration +============= + +Add following configuration values to the host django settings, i.e. LMS +settings: ``lms/envs/common.py`` + +.. code-block:: python + + from .common import XBLOCK_MIXINS + # Below mixin adds the ability to fetch skills/tags from discovery and update them. + XBLOCK_MIXINS += ('skill_tagging.skill_tagging_mixin.SkillTaggingMixin',) + # Set below url to point to discovery service. + TAXONOMY_API_BASE_URL='http://edx.devstack.discovery:18381' + # Configure the maximum number skills/tags to display in the form for a given xblock. + TAXONOMY_API_SKILL_PAGE_SIZE=20 + # Copy this as is, this configures the required openedx_filters. + OPEN_EDX_FILTERS_CONFIG = { + "org.openedx.learning.vertical_block.render.completed.v1": { + "fail_silently": False, + "pipeline": [ + "skill_tagging.pipeline.AddVerticalBlockSkillVerificationSection", + ] + }, + "org.openedx.learning.vertical_block_child.render.started.v1": { + "fail_silently": False, + "pipeline": [ + "skill_tagging.pipeline.AddVideoBlockSkillVerificationComponent", + ] + } + } + # helps to configure probability of displaying the verification forms. Values in range 0 to 1 are allowed, where 0 + # means never and 1 means always display. Default value is 0.5 i.e. 50% chance of displaying the form. + SHOW_SKILL_VERIFICATION_PROBABILITY = 0.5 + + Developing ========== @@ -74,15 +157,11 @@ Every time you develop something in this repo # Open a PR and ask for review. + Deploying ========= -TODO: How can a new user go about deploying this component? Is it just a few -commands? Is there a larger how-to that should be linked here? - -PLACEHOLDER: For details on how to deploy this component, see the `deployment how-to`_ - -.. _deployment how-to: https://docs.openedx.org/projects/xblock-skill-tagging/how-tos/how-to-deploy-this-component.html +This package is automatically published to pypi whenever a new tag is pushed to the repository. Getting Help ************ @@ -90,11 +169,7 @@ Getting Help Documentation ============= -PLACEHOLDER: Start by going through `the documentation`_. If you need more help see below. - -.. _the documentation: https://docs.openedx.org/projects/xblock-skill-tagging - -(TODO: `Set up documentation `_) +Published documentation is not available. More Help ========= @@ -160,8 +235,8 @@ Reporting Security Issues Please do not report security issues in public. Please email security@tcril.org. -.. |pypi-badge| image:: https://img.shields.io/pypi/v/xblock-skill-tagging.svg - :target: https://pypi.python.org/pypi/xblock-skill-tagging/ +.. |pypi-badge| image:: https://img.shields.io/pypi/v/skill_tagging.svg + :target: https://pypi.python.org/pypi/skill_tagging/ :alt: PyPI .. |ci-badge| image:: https://github.com/openedx/xblock-skill-tagging/workflows/Python%20CI/badge.svg?branch=main @@ -176,8 +251,8 @@ Please do not report security issues in public. Please email security@tcril.org. :target: https://xblock-skill-tagging.readthedocs.io/en/latest/ :alt: Documentation -.. |pyversions-badge| image:: https://img.shields.io/pypi/pyversions/xblock-skill-tagging.svg - :target: https://pypi.python.org/pypi/xblock-skill-tagging/ +.. |pyversions-badge| image:: https://img.shields.io/pypi/pyversions/skill_tagging.svg + :target: https://pypi.python.org/pypi/skill_tagging/ :alt: Supported Python versions .. |license-badge| image:: https://img.shields.io/github/license/openedx/xblock-skill-tagging.svg From d826d47261bcc4f54eeb875378403ffac2e0d732 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Fri, 19 May 2023 13:03:23 +0530 Subject: [PATCH 2/3] chore: add authors file --- AUTHORS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 AUTHORS diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..cfc3e51 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +Navin Karkera +Pooja Kulkarni From e917d69c0a7d9b2191e9a77f2c7d63d4231d6291 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Wed, 14 Jun 2023 12:33:10 +0530 Subject: [PATCH 3/3] build: remove deprecated codecov package codecov package has been deleted from pypi. We are already using a github action for coverage so removing the package. --- requirements/base.txt | 20 ++++---- requirements/ci.in | 1 - requirements/ci.txt | 22 ++------ requirements/dev.txt | 100 ++++++++++++++++--------------------- requirements/doc.txt | 84 +++++++++++++++---------------- requirements/pip-tools.txt | 6 +-- requirements/pip.txt | 6 +-- requirements/quality.txt | 77 ++++++++++++++-------------- requirements/test.txt | 59 +++++++++++----------- 9 files changed, 172 insertions(+), 203 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index fbc6ea7..b0adcf4 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,11 +4,11 @@ # # make upgrade # -asgiref==3.6.0 +asgiref==3.7.2 # via django -attrs==22.2.0 +attrs==23.1.0 # via openedx-events -django==3.2.18 +django==3.2.19 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/base.in @@ -19,19 +19,21 @@ django-model-utils==4.3.1 # via -r requirements/base.in edx-opaque-keys[django]==2.3.0 # via openedx-events -fastavro==1.7.1 +fastavro==1.7.4 # via openedx-events -openedx-events==5.1.0 +openedx-events==8.0.1 # via -r requirements/base.in -openedx-filters==1.1.0 +openedx-filters==1.3.0 # via -r requirements/base.in pbr==5.11.1 # via stevedore pymongo==3.13.0 # via edx-opaque-keys -pytz==2022.7.1 +pytz==2023.3 # via django -sqlparse==0.4.3 +sqlparse==0.4.4 # via django -stevedore==5.0.0 +stevedore==5.1.0 # via edx-opaque-keys +typing-extensions==4.6.3 + # via asgiref diff --git a/requirements/ci.in b/requirements/ci.in index a99051b..3797849 100644 --- a/requirements/ci.in +++ b/requirements/ci.in @@ -2,6 +2,5 @@ -c constraints.txt -codecov # Code coverage reporting tox # Virtualenv management for tests tox-battery # Makes tox aware of requirements file changes diff --git a/requirements/ci.txt b/requirements/ci.txt index 62115af..0989b5e 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -4,32 +4,20 @@ # # make upgrade # -certifi==2022.12.7 - # via requests -charset-normalizer==3.0.1 - # via requests -codecov==2.1.12 - # via -r requirements/ci.in -coverage==7.1.0 - # via codecov distlib==0.3.6 # via virtualenv -filelock==3.9.0 +filelock==3.12.2 # via # tox # virtualenv -idna==3.4 - # via requests -packaging==23.0 +packaging==23.1 # via tox -platformdirs==3.0.0 +platformdirs==3.5.3 # via virtualenv pluggy==1.0.0 # via tox py==1.11.0 # via tox -requests==2.28.2 - # via codecov six==1.16.0 # via tox tomli==2.0.1 @@ -41,7 +29,5 @@ tox==3.28.0 # tox-battery tox-battery==0.6.1 # via -r requirements/ci.in -urllib3==1.26.14 - # via requests -virtualenv==20.19.0 +virtualenv==20.23.0 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 14ba739..5cf39a0 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -12,33 +12,28 @@ arrow==1.2.3 # via # -r requirements/quality.txt # jinja2-time -asgiref==3.6.0 +asgiref==3.7.2 # via # -r requirements/quality.txt # django -astroid==2.14.2 +astroid==2.15.5 # via # -r requirements/quality.txt # pylint # pylint-celery -attrs==22.2.0 +attrs==23.1.0 # via # -r requirements/quality.txt # openedx-events - # pytest binaryornot==0.4.4 # via # -r requirements/quality.txt # cookiecutter -boto==2.49.0 - # via - # -r requirements/quality.txt - # xblock-sdk -boto3==1.26.74 +boto3==1.26.153 # via # -r requirements/quality.txt # fs-s3fs -botocore==1.29.74 +botocore==1.29.153 # via # -r requirements/quality.txt # boto3 @@ -47,9 +42,8 @@ build==0.10.0 # via # -r requirements/pip-tools.txt # pip-tools -certifi==2022.12.7 +certifi==2023.5.7 # via - # -r requirements/ci.txt # -r requirements/quality.txt # requests chardet==5.1.0 @@ -57,9 +51,8 @@ chardet==5.1.0 # -r requirements/quality.txt # binaryornot # diff-cover -charset-normalizer==3.0.1 +charset-normalizer==3.1.0 # via - # -r requirements/ci.txt # -r requirements/quality.txt # requests click==8.1.3 @@ -79,19 +72,15 @@ code-annotations==1.3.0 # via # -r requirements/quality.txt # edx-lint -codecov==2.1.12 - # via -r requirements/ci.txt cookiecutter==2.1.1 # via # -r requirements/quality.txt # xblock-sdk -coverage[toml]==7.1.0 +coverage[toml]==7.2.7 # via - # -r requirements/ci.txt # -r requirements/quality.txt - # codecov # pytest-cov -diff-cover==7.4.0 +diff-cover==7.6.0 # via -r requirements/dev.in dill==0.3.6 # via @@ -101,7 +90,7 @@ distlib==0.3.6 # via # -r requirements/ci.txt # virtualenv -django==3.2.18 +django==3.2.19 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/quality.txt @@ -118,21 +107,21 @@ djangorestframework==3.14.0 # via -r requirements/quality.txt edx-i18n-tools==0.9.2 # via -r requirements/dev.in -edx-lint==5.3.2 +edx-lint==5.3.4 # via -r requirements/quality.txt edx-opaque-keys[django]==2.3.0 # via # -r requirements/quality.txt # openedx-events -exceptiongroup==1.1.0 +exceptiongroup==1.1.1 # via # -r requirements/quality.txt # pytest -fastavro==1.7.1 +fastavro==1.7.4 # via # -r requirements/quality.txt # openedx-events -filelock==3.9.0 +filelock==3.12.2 # via # -r requirements/ci.txt # tox @@ -150,7 +139,6 @@ fs-s3fs==1.1.1 # xblock-sdk idna==3.4 # via - # -r requirements/ci.txt # -r requirements/quality.txt # requests iniconfig==2.0.0 @@ -190,7 +178,7 @@ lxml==4.9.2 # -r requirements/quality.txt # xblock # xblock-sdk -markupsafe==2.1.2 +markupsafe==2.1.3 # via # -r requirements/quality.txt # jinja2 @@ -199,17 +187,17 @@ mccabe==0.7.0 # via # -r requirements/quality.txt # pylint -mock==5.0.1 +mock==5.0.2 # via -r requirements/quality.txt -openedx-django-pyfs==3.2.1 +openedx-django-pyfs==3.3.0 # via # -r requirements/quality.txt # xblock -openedx-events==5.1.0 +openedx-events==8.0.1 # via -r requirements/quality.txt -openedx-filters==1.1.0 +openedx-filters==1.3.0 # via -r requirements/quality.txt -packaging==23.0 +packaging==23.1 # via # -r requirements/ci.txt # -r requirements/pip-tools.txt @@ -223,9 +211,9 @@ pbr==5.11.1 # via # -r requirements/quality.txt # stevedore -pip-tools==6.12.2 +pip-tools==6.13.0 # via -r requirements/pip-tools.txt -platformdirs==3.0.0 +platformdirs==3.5.3 # via # -r requirements/ci.txt # -r requirements/quality.txt @@ -238,7 +226,7 @@ pluggy==1.0.0 # diff-cover # pytest # tox -polib==1.1.1 +polib==1.2.0 # via edx-i18n-tools py==1.11.0 # via @@ -248,9 +236,9 @@ pycodestyle==2.10.0 # via -r requirements/quality.txt pydocstyle==6.3.0 # via -r requirements/quality.txt -pygments==2.14.0 +pygments==2.15.1 # via diff-cover -pylint==2.16.2 +pylint==2.17.4 # via # -r requirements/quality.txt # edx-lint @@ -265,7 +253,7 @@ pylint-django==2.5.3 # via # -r requirements/quality.txt # edx-lint -pylint-plugin-utils==0.7 +pylint-plugin-utils==0.8.2 # via # -r requirements/quality.txt # pylint-celery @@ -282,12 +270,12 @@ pyproject-hooks==1.0.0 # via # -r requirements/pip-tools.txt # build -pytest==7.2.1 +pytest==7.3.2 # via # -r requirements/quality.txt # pytest-cov # pytest-django -pytest-cov==4.0.0 +pytest-cov==4.1.0 # via -r requirements/quality.txt pytest-django==4.5.2 # via -r requirements/quality.txt @@ -297,12 +285,12 @@ python-dateutil==2.8.2 # arrow # botocore # xblock -python-slugify==8.0.0 +python-slugify==8.0.1 # via # -r requirements/quality.txt # code-annotations # cookiecutter -pytz==2022.7.1 +pytz==2023.3 # via # -r requirements/quality.txt # django @@ -315,18 +303,16 @@ pyyaml==6.0 # cookiecutter # edx-i18n-tools # xblock -requests==2.28.2 +requests==2.31.0 # via - # -r requirements/ci.txt # -r requirements/quality.txt - # codecov # cookiecutter # xblock-sdk -s3transfer==0.6.0 +s3transfer==0.6.1 # via # -r requirements/quality.txt # boto3 -simplejson==3.18.3 +simplejson==3.19.1 # via # -r requirements/quality.txt # xblock-sdk @@ -343,11 +329,11 @@ snowballstemmer==2.2.0 # via # -r requirements/quality.txt # pydocstyle -sqlparse==0.4.3 +sqlparse==0.4.4 # via # -r requirements/quality.txt # django -stevedore==5.0.0 +stevedore==5.1.0 # via # -r requirements/quality.txt # code-annotations @@ -367,7 +353,7 @@ tomli==2.0.1 # pyproject-hooks # pytest # tox -tomlkit==0.11.6 +tomlkit==0.11.8 # via # -r requirements/quality.txt # pylint @@ -378,18 +364,18 @@ tox==3.28.0 # tox-battery tox-battery==0.6.1 # via -r requirements/ci.txt -typing-extensions==4.5.0 +typing-extensions==4.6.3 # via # -r requirements/quality.txt + # asgiref # astroid # pylint -urllib3==1.26.14 +urllib3==1.26.16 # via - # -r requirements/ci.txt # -r requirements/quality.txt # botocore # requests -virtualenv==20.19.0 +virtualenv==20.23.0 # via # -r requirements/ci.txt # tox @@ -403,11 +389,11 @@ webob==1.8.7 # -r requirements/quality.txt # xblock # xblock-sdk -wheel==0.38.4 +wheel==0.40.0 # via # -r requirements/pip-tools.txt # pip-tools -wrapt==1.14.1 +wrapt==1.15.0 # via # -r requirements/quality.txt # astroid @@ -415,7 +401,7 @@ xblock[django]==1.6.2 # via # -r requirements/quality.txt # xblock-sdk -xblock-sdk==0.5.4 +xblock-sdk==0.6.0 # via -r requirements/quality.txt # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/doc.txt b/requirements/doc.txt index ae84b5e..11774ae 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -14,16 +14,15 @@ arrow==1.2.3 # via # -r requirements/test.txt # jinja2-time -asgiref==3.6.0 +asgiref==3.7.2 # via # -r requirements/test.txt # django -attrs==22.2.0 +attrs==23.1.0 # via # -r requirements/test.txt # openedx-events - # pytest -babel==2.11.0 +babel==2.12.1 # via sphinx binaryornot==0.4.4 # via @@ -31,22 +30,18 @@ binaryornot==0.4.4 # cookiecutter bleach==6.0.0 # via readme-renderer -boto==2.49.0 - # via - # -r requirements/test.txt - # xblock-sdk -boto3==1.26.74 +boto3==1.26.153 # via # -r requirements/test.txt # fs-s3fs -botocore==1.29.74 +botocore==1.29.153 # via # -r requirements/test.txt # boto3 # s3transfer build==0.10.0 # via -r requirements/doc.in -certifi==2022.12.7 +certifi==2023.5.7 # via # -r requirements/test.txt # requests @@ -56,7 +51,7 @@ chardet==5.1.0 # via # -r requirements/test.txt # binaryornot -charset-normalizer==3.0.1 +charset-normalizer==3.1.0 # via # -r requirements/test.txt # requests @@ -71,13 +66,13 @@ cookiecutter==2.1.1 # via # -r requirements/test.txt # xblock-sdk -coverage[toml]==7.1.0 +coverage[toml]==7.2.7 # via # -r requirements/test.txt # pytest-cov -cryptography==39.0.1 +cryptography==41.0.1 # via secretstorage -django==3.2.18 +django==3.2.19 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/test.txt @@ -103,11 +98,11 @@ edx-opaque-keys[django]==2.3.0 # via # -r requirements/test.txt # openedx-events -exceptiongroup==1.1.0 +exceptiongroup==1.1.1 # via # -r requirements/test.txt # pytest -fastavro==1.7.1 +fastavro==1.7.4 # via # -r requirements/test.txt # openedx-events @@ -128,7 +123,7 @@ idna==3.4 # requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.0.0 +importlib-metadata==6.6.0 # via # keyring # sphinx @@ -172,28 +167,28 @@ lxml==4.9.2 # -r requirements/test.txt # xblock # xblock-sdk -markdown-it-py==2.1.0 +markdown-it-py==3.0.0 # via rich -markupsafe==2.1.2 +markupsafe==2.1.3 # via # -r requirements/test.txt # jinja2 # xblock mdurl==0.1.2 # via markdown-it-py -mock==5.0.1 +mock==5.0.2 # via -r requirements/test.txt -more-itertools==9.0.0 +more-itertools==9.1.0 # via jaraco-classes -openedx-django-pyfs==3.2.1 +openedx-django-pyfs==3.3.0 # via # -r requirements/test.txt # xblock -openedx-events==5.1.0 +openedx-events==8.0.1 # via -r requirements/test.txt -openedx-filters==1.1.0 +openedx-filters==1.3.0 # via -r requirements/test.txt -packaging==23.0 +packaging==23.1 # via # -r requirements/test.txt # build @@ -211,7 +206,7 @@ pluggy==1.0.0 # pytest pycparser==2.21 # via cffi -pygments==2.14.0 +pygments==2.15.1 # via # doc8 # readme-renderer @@ -227,12 +222,12 @@ pypng==0.20220715.0 # xblock-sdk pyproject-hooks==1.0.0 # via build -pytest==7.2.1 +pytest==7.3.2 # via # -r requirements/test.txt # pytest-cov # pytest-django -pytest-cov==4.0.0 +pytest-cov==4.1.0 # via -r requirements/test.txt pytest-django==4.5.2 # via -r requirements/test.txt @@ -242,12 +237,12 @@ python-dateutil==2.8.2 # arrow # botocore # xblock -python-slugify==8.0.0 +python-slugify==8.0.1 # via # -r requirements/test.txt # code-annotations # cookiecutter -pytz==2022.7.1 +pytz==2023.3 # via # -r requirements/test.txt # babel @@ -262,7 +257,7 @@ pyyaml==6.0 # xblock readme-renderer==37.3 # via twine -requests==2.28.2 +requests==2.31.0 # via # -r requirements/test.txt # cookiecutter @@ -270,21 +265,21 @@ requests==2.28.2 # sphinx # twine # xblock-sdk -requests-toolbelt==0.10.1 +requests-toolbelt==1.0.0 # via twine restructuredtext-lint==1.4.0 # via doc8 rfc3986==2.0.0 # via twine -rich==13.3.1 +rich==13.4.2 # via twine -s3transfer==0.6.0 +s3transfer==0.6.1 # via # -r requirements/test.txt # boto3 secretstorage==3.3.3 # via keyring -simplejson==3.18.3 +simplejson==3.19.1 # via # -r requirements/test.txt # xblock-sdk @@ -313,11 +308,11 @@ sphinxcontrib-qthelp==1.0.3 # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -sqlparse==0.4.3 +sqlparse==0.4.4 # via # -r requirements/test.txt # django -stevedore==5.0.0 +stevedore==5.1.0 # via # -r requirements/test.txt # code-annotations @@ -337,9 +332,12 @@ tomli==2.0.1 # pytest twine==4.0.2 # via -r requirements/doc.in -typing-extensions==4.5.0 - # via rich -urllib3==1.26.14 +typing-extensions==4.6.3 + # via + # -r requirements/test.txt + # asgiref + # rich +urllib3==1.26.16 # via # -r requirements/test.txt # botocore @@ -361,9 +359,9 @@ xblock[django]==1.6.2 # via # -r requirements/test.txt # xblock-sdk -xblock-sdk==0.5.4 +xblock-sdk==0.6.0 # via -r requirements/test.txt -zipp==3.14.0 +zipp==3.15.0 # via # importlib-metadata # importlib-resources diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index e40369c..fd0cc1c 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -8,15 +8,15 @@ build==0.10.0 # via pip-tools click==8.1.3 # via pip-tools -packaging==23.0 +packaging==23.1 # via build -pip-tools==6.12.2 +pip-tools==6.13.0 # via -r requirements/pip-tools.in pyproject-hooks==1.0.0 # via build tomli==2.0.1 # via build -wheel==0.38.4 +wheel==0.40.0 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/pip.txt b/requirements/pip.txt index f1d6482..5a5ce22 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -4,11 +4,11 @@ # # make upgrade # -wheel==0.38.4 +wheel==0.40.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==23.0.1 +pip==23.1.2 # via -r requirements/pip.in -setuptools==67.3.2 +setuptools==67.8.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 480fc88..fe02305 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -12,37 +12,32 @@ arrow==1.2.3 # via # -r requirements/test.txt # jinja2-time -asgiref==3.6.0 +asgiref==3.7.2 # via # -r requirements/test.txt # django -astroid==2.14.2 +astroid==2.15.5 # via # pylint # pylint-celery -attrs==22.2.0 +attrs==23.1.0 # via # -r requirements/test.txt # openedx-events - # pytest binaryornot==0.4.4 # via # -r requirements/test.txt # cookiecutter -boto==2.49.0 - # via - # -r requirements/test.txt - # xblock-sdk -boto3==1.26.74 +boto3==1.26.153 # via # -r requirements/test.txt # fs-s3fs -botocore==1.29.74 +botocore==1.29.153 # via # -r requirements/test.txt # boto3 # s3transfer -certifi==2022.12.7 +certifi==2023.5.7 # via # -r requirements/test.txt # requests @@ -50,7 +45,7 @@ chardet==5.1.0 # via # -r requirements/test.txt # binaryornot -charset-normalizer==3.0.1 +charset-normalizer==3.1.0 # via # -r requirements/test.txt # requests @@ -71,13 +66,13 @@ cookiecutter==2.1.1 # via # -r requirements/test.txt # xblock-sdk -coverage[toml]==7.1.0 +coverage[toml]==7.2.7 # via # -r requirements/test.txt # pytest-cov dill==0.3.6 # via pylint -django==3.2.18 +django==3.2.19 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/test.txt @@ -91,17 +86,17 @@ django-model-utils==4.3.1 # via -r requirements/test.txt djangorestframework==3.14.0 # via -r requirements/test.txt -edx-lint==5.3.2 +edx-lint==5.3.4 # via -r requirements/quality.in edx-opaque-keys[django]==2.3.0 # via # -r requirements/test.txt # openedx-events -exceptiongroup==1.1.0 +exceptiongroup==1.1.1 # via # -r requirements/test.txt # pytest -fastavro==1.7.1 +fastavro==1.7.4 # via # -r requirements/test.txt # openedx-events @@ -154,24 +149,24 @@ lxml==4.9.2 # -r requirements/test.txt # xblock # xblock-sdk -markupsafe==2.1.2 +markupsafe==2.1.3 # via # -r requirements/test.txt # jinja2 # xblock mccabe==0.7.0 # via pylint -mock==5.0.1 +mock==5.0.2 # via -r requirements/test.txt -openedx-django-pyfs==3.2.1 +openedx-django-pyfs==3.3.0 # via # -r requirements/test.txt # xblock -openedx-events==5.1.0 +openedx-events==8.0.1 # via -r requirements/test.txt -openedx-filters==1.1.0 +openedx-filters==1.3.0 # via -r requirements/test.txt -packaging==23.0 +packaging==23.1 # via # -r requirements/test.txt # pytest @@ -179,7 +174,7 @@ pbr==5.11.1 # via # -r requirements/test.txt # stevedore -platformdirs==3.0.0 +platformdirs==3.5.3 # via pylint pluggy==1.0.0 # via @@ -189,7 +184,7 @@ pycodestyle==2.10.0 # via -r requirements/quality.in pydocstyle==6.3.0 # via -r requirements/quality.in -pylint==2.16.2 +pylint==2.17.4 # via # edx-lint # pylint-celery @@ -199,7 +194,7 @@ pylint-celery==0.3 # via edx-lint pylint-django==2.5.3 # via edx-lint -pylint-plugin-utils==0.7 +pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django @@ -211,12 +206,12 @@ pypng==0.20220715.0 # via # -r requirements/test.txt # xblock-sdk -pytest==7.2.1 +pytest==7.3.2 # via # -r requirements/test.txt # pytest-cov # pytest-django -pytest-cov==4.0.0 +pytest-cov==4.1.0 # via -r requirements/test.txt pytest-django==4.5.2 # via -r requirements/test.txt @@ -226,12 +221,12 @@ python-dateutil==2.8.2 # arrow # botocore # xblock -python-slugify==8.0.0 +python-slugify==8.0.1 # via # -r requirements/test.txt # code-annotations # cookiecutter -pytz==2022.7.1 +pytz==2023.3 # via # -r requirements/test.txt # django @@ -243,16 +238,16 @@ pyyaml==6.0 # code-annotations # cookiecutter # xblock -requests==2.28.2 +requests==2.31.0 # via # -r requirements/test.txt # cookiecutter # xblock-sdk -s3transfer==0.6.0 +s3transfer==0.6.1 # via # -r requirements/test.txt # boto3 -simplejson==3.18.3 +simplejson==3.19.1 # via # -r requirements/test.txt # xblock-sdk @@ -265,11 +260,11 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.4.3 +sqlparse==0.4.4 # via # -r requirements/test.txt # django -stevedore==5.0.0 +stevedore==5.1.0 # via # -r requirements/test.txt # code-annotations @@ -284,13 +279,15 @@ tomli==2.0.1 # coverage # pylint # pytest -tomlkit==0.11.6 +tomlkit==0.11.8 # via pylint -typing-extensions==4.5.0 +typing-extensions==4.6.3 # via + # -r requirements/test.txt + # asgiref # astroid # pylint -urllib3==1.26.14 +urllib3==1.26.16 # via # -r requirements/test.txt # botocore @@ -305,13 +302,13 @@ webob==1.8.7 # -r requirements/test.txt # xblock # xblock-sdk -wrapt==1.14.1 +wrapt==1.15.0 # via astroid xblock[django]==1.6.2 # via # -r requirements/test.txt # xblock-sdk -xblock-sdk==0.5.4 +xblock-sdk==0.6.0 # via -r requirements/test.txt # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/test.txt b/requirements/test.txt index e1434b5..6a82293 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -8,30 +8,27 @@ appdirs==1.4.4 # via fs arrow==1.2.3 # via jinja2-time -asgiref==3.6.0 +asgiref==3.7.2 # via # -r requirements/base.txt # django -attrs==22.2.0 +attrs==23.1.0 # via # -r requirements/base.txt # openedx-events - # pytest binaryornot==0.4.4 # via cookiecutter -boto==2.49.0 - # via xblock-sdk -boto3==1.26.74 +boto3==1.26.153 # via fs-s3fs -botocore==1.29.74 +botocore==1.29.153 # via # boto3 # s3transfer -certifi==2022.12.7 +certifi==2023.5.7 # via requests chardet==5.1.0 # via binaryornot -charset-normalizer==3.0.1 +charset-normalizer==3.1.0 # via requests click==8.1.3 # via @@ -41,7 +38,7 @@ code-annotations==1.3.0 # via -r requirements/test.in cookiecutter==2.1.1 # via xblock-sdk -coverage[toml]==7.1.0 +coverage[toml]==7.2.7 # via pytest-cov # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt @@ -60,9 +57,9 @@ edx-opaque-keys[django]==2.3.0 # via # -r requirements/base.txt # openedx-events -exceptiongroup==1.1.0 +exceptiongroup==1.1.1 # via pytest -fastavro==1.7.1 +fastavro==1.7.4 # via # -r requirements/base.txt # openedx-events @@ -96,19 +93,19 @@ lxml==4.9.2 # via # xblock # xblock-sdk -markupsafe==2.1.2 +markupsafe==2.1.3 # via # jinja2 # xblock -mock==5.0.1 +mock==5.0.2 # via -r requirements/test.in -openedx-django-pyfs==3.2.1 +openedx-django-pyfs==3.3.0 # via xblock -openedx-events==5.1.0 +openedx-events==8.0.1 # via -r requirements/base.txt -openedx-filters==1.1.0 +openedx-filters==1.3.0 # via -r requirements/base.txt -packaging==23.0 +packaging==23.1 # via pytest pbr==5.11.1 # via @@ -122,11 +119,11 @@ pymongo==3.13.0 # edx-opaque-keys pypng==0.20220715.0 # via xblock-sdk -pytest==7.2.1 +pytest==7.3.2 # via # pytest-cov # pytest-django -pytest-cov==4.0.0 +pytest-cov==4.1.0 # via -r requirements/test.in pytest-django==4.5.2 # via -r requirements/test.in @@ -135,11 +132,11 @@ python-dateutil==2.8.2 # arrow # botocore # xblock -python-slugify==8.0.0 +python-slugify==8.0.1 # via # code-annotations # cookiecutter -pytz==2022.7.1 +pytz==2023.3 # via # -r requirements/base.txt # django @@ -150,24 +147,24 @@ pyyaml==6.0 # code-annotations # cookiecutter # xblock -requests==2.28.2 +requests==2.31.0 # via # cookiecutter # xblock-sdk -s3transfer==0.6.0 +s3transfer==0.6.1 # via boto3 -simplejson==3.18.3 +simplejson==3.19.1 # via xblock-sdk six==1.16.0 # via # fs # fs-s3fs # python-dateutil -sqlparse==0.4.3 +sqlparse==0.4.4 # via # -r requirements/base.txt # django -stevedore==5.0.0 +stevedore==5.1.0 # via # -r requirements/base.txt # code-annotations @@ -178,7 +175,11 @@ tomli==2.0.1 # via # coverage # pytest -urllib3==1.26.14 +typing-extensions==4.6.3 + # via + # -r requirements/base.txt + # asgiref +urllib3==1.26.16 # via # botocore # requests @@ -192,7 +193,7 @@ webob==1.8.7 # xblock-sdk xblock[django]==1.6.2 # via xblock-sdk -xblock-sdk==0.5.4 +xblock-sdk==0.6.0 # via -r requirements/test.in # The following packages are considered to be unsafe in a requirements file: