diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec742ca..cc37766 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Python CI on: push: - branches: + branches: - 'main' pull_request: branches: @@ -16,8 +16,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [quality, docs, pii_check, django32, django42] + python-version: ['3.12', '3.11'] + toxenv: [quality, docs, pii_check, django42] steps: - uses: actions/checkout@v2 @@ -40,8 +40,8 @@ jobs: - name: Run coverage # Although code coverage is a "quality" concern, we need the coverage report that only exists after running the # test suite, and this allows us to not run it twice. - if: matrix.python-version == '3.8' && matrix.toxenv == 'django42' + if: matrix.python-version == '3.12' && matrix.toxenv == 'django42' uses: codecov/codecov-action@v3 with: flags: unittests - fail_ci_if_error: true + fail_ci_if_error: false diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 945310d..90482c8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -2,7 +2,7 @@ name: Publish package to PyPi on: push: - tags: + tags: - "*" jobs: @@ -16,7 +16,7 @@ jobs: - name: setup python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index 7cfab6a..1bbbda8 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - python-version: ["3.8"] + python-version: ["3.12"] steps: - name: setup target branch diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0f029d2..e1d54e1 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,6 @@ sphinx: configuration: docs/conf.py python: - version: 3.8 + version: 3.12 install: - requirements: requirements/doc.txt diff --git a/docs/conf.py b/docs/conf.py index 3a78367..65e1189 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ import sys from subprocess import check_call -import edx_theme +import sphinx_book_theme from django import setup as django_setup from django.conf import settings @@ -62,7 +62,7 @@ def get_version(*file_paths): # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - "edx_theme", + "sphinx_book_theme", "sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.intersphinx", @@ -93,8 +93,8 @@ def get_version(*file_paths): # General information about the project. project = "platform-plugin-notices" -copyright = edx_theme.COPYRIGHT # pylint: disable=redefined-builtin -author = edx_theme.AUTHOR +copyright = "2024, edX LLC" # pylint: disable=redefined-builtin +author = "edX LLC" project_title = "platform-plugin-notices" documentation_title = "{project_title}".format(project_title=project_title) @@ -165,16 +165,49 @@ def get_version(*file_paths): # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = "edx_theme" +html_theme = "sphinx_book_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # -# html_theme_options = {} +html_theme_options = { + "repository_url": "https://github.com/edx/platform-plugin-notices", + "repository_branch": "main", + "path_to_docs": "docs/", + "use_repository_button": True, + "use_issues_button": True, + "use_edit_page_button": True, + # Please don't change unless you know what you're doing. + "extra_footer": """ + + Creative Commons License + +
+ These works by + edX LLC + are licensed under a + Creative Commons Attribution-ShareAlike 4.0 International License. + """, +} + +html_logo = "https://logos.openedx.org/open-edx-logo-color.png" +html_favicon = "https://logos.openedx.org/open-edx-favicon.ico" + +if not os.environ.get("DJANGO_SETTINGS_MODULE"): + os.environ["DJANGO_SETTINGS_MODULE"] = "test_utils.test_settings" -# Add any paths that contain custom themes here, relative to this directory. -html_theme_path = [edx_theme.get_html_theme_path()] # The name for this set of Sphinx documents. # " v documentation" by default. diff --git a/notices/admin.py b/notices/admin.py index 1e57f97..0a571e9 100644 --- a/notices/admin.py +++ b/notices/admin.py @@ -1,4 +1,5 @@ """Admin pages for the notices app.""" + from django.contrib import admin from .models import AcknowledgedNotice, Notice, TranslatedNoticeContent diff --git a/notices/api.py b/notices/api.py index 4ab5daa..446732d 100644 --- a/notices/api.py +++ b/notices/api.py @@ -1,6 +1,7 @@ """ Python API for Notice data. """ + import datetime import logging diff --git a/notices/context_api.py b/notices/context_api.py index c4e88ea..43ce45a 100644 --- a/notices/context_api.py +++ b/notices/context_api.py @@ -1,6 +1,7 @@ """ Functions to add context to LMS pages via the plugins context feature. """ + from notices.api import get_unacknowledged_notices_for_user from notices.toggles import ENABLE_NOTICES diff --git a/notices/data.py b/notices/data.py index 8dca1ad..7850305 100644 --- a/notices/data.py +++ b/notices/data.py @@ -3,6 +3,7 @@ See OEP-49 for details """ + from enum import Enum diff --git a/notices/models.py b/notices/models.py index ff8cfce..0916fda 100644 --- a/notices/models.py +++ b/notices/models.py @@ -1,6 +1,7 @@ """ Database models for notices. """ + from django.contrib.auth import get_user_model from django.db import models from django.utils import timezone diff --git a/notices/rest_api/urls.py b/notices/rest_api/urls.py index 663a627..51abda1 100644 --- a/notices/rest_api/urls.py +++ b/notices/rest_api/urls.py @@ -3,6 +3,7 @@ All API URLs should be versioned, so urlpatterns should only contain namespaces for the active versions of the API. """ + from django.urls import include, path diff --git a/notices/rest_api/v1/urls.py b/notices/rest_api/v1/urls.py index 3da6f6a..e12a92a 100644 --- a/notices/rest_api/v1/urls.py +++ b/notices/rest_api/v1/urls.py @@ -1,4 +1,5 @@ """v1 API URLS""" + from django.urls import path from notices.rest_api.v1 import views diff --git a/notices/rest_api/v1/views.py b/notices/rest_api/v1/views.py index 9b0d219..a189791 100644 --- a/notices/rest_api/v1/views.py +++ b/notices/rest_api/v1/views.py @@ -1,4 +1,5 @@ """API views for the notices app""" + import logging from django.conf import settings diff --git a/notices/selectors.py b/notices/selectors.py index 1c2a4f0..1c3c1c4 100644 --- a/notices/selectors.py +++ b/notices/selectors.py @@ -1,6 +1,7 @@ """ Utility functions for pulling Notice data. """ + import datetime from django.conf import settings diff --git a/notices/toggles.py b/notices/toggles.py index 3bad4a7..3693974 100644 --- a/notices/toggles.py +++ b/notices/toggles.py @@ -1,4 +1,5 @@ """This file houses all the toggles, namely waffle switches and flags.""" + from edx_toggles.toggles import WaffleFlag diff --git a/notices/urls.py b/notices/urls.py index 60f48c7..ff93c75 100644 --- a/notices/urls.py +++ b/notices/urls.py @@ -1,6 +1,7 @@ """ URLs for notices. """ + from django.urls import include, path from notices.views import RenderNotice diff --git a/pylintrc b/pylintrc index 006233a..8ec7466 100644 --- a/pylintrc +++ b/pylintrc @@ -2,14 +2,14 @@ # ** DO NOT EDIT THIS FILE ** # *************************** # -# This file was generated by edx-lint: https://github.com/edx/edx-lint +# This file was generated by edx-lint: https://github.com/openedx/edx-lint # # If you want to change this file, you have two choices, depending on whether # you want to make a local change that applies only to this repo, or whether # you want to make a central change that applies to all repos using edx-lint. # # Note: If your pylintrc file is simply out-of-date relative to the latest -# pylintrc rules in edx-lint, ensure you have the latest edx-lint installed +# pylintrc in edx-lint, ensure you have the latest edx-lint installed # and then follow the steps for a "LOCAL CHANGE". # # LOCAL CHANGE: @@ -28,7 +28,7 @@ # CENTRAL CHANGE: # # 1. Edit the pylintrc file in the edx-lint repo at -# https://github.com/edx/edx-lint/blob/master/edx_lint/files/pylintrc +# https://github.com/openedx/edx-lint/blob/master/edx_lint/files/pylintrc # # 2. install the updated version of edx-lint (in edx-lint): # @@ -36,19 +36,16 @@ # # 3. Run (in edx-lint): # -# # uses pylintrc_tweaks from edx-lint for linting in edx-lint -# # NOTE: Use Python 3.x, which no longer includes comments in the output file # $ edx_lint write pylintrc # # 4. Make a new version of edx_lint, submit and review a pull request with the -# pylintrc update, and after merging, update the edx-lint version by -# creating a new tag in the repo (uses pbr). +# pylintrc update, and after merging, update the edx-lint version and +# publish the new version. # # 5. In your local repo, install the newer version of edx-lint. # # 6. Run: # -# # uses local pylintrc_tweaks # $ edx_lint write pylintrc # # 7. This will modify the local file. Submit a pull request to get it @@ -67,7 +64,7 @@ # SERIOUSLY. # # ------------------------------ -# Generated by edx-lint version: 5.1.0 +# Generated by edx-lint version: 5.4.1 # ------------------------------ [MASTER] ignore = migrations @@ -105,20 +102,12 @@ enable = cell-var-from-loop, confusing-with-statement, continue-in-finally, - cyclical-import, dangerous-default-value, - dict-items-not-iterating, - dict-keys-not-iterating, - dict-values-not-iterating, duplicate-argument-name, duplicate-bases, duplicate-except, duplicate-key, - eq-without-hash, - exception-escape, - exception-message-attribute, expression-not-assigned, - filter-builtin-not-iterating, format-combined-specification, format-needs-mapping, function-redefined, @@ -126,33 +115,26 @@ enable = import-error, import-self, inconsistent-mro, - indexing-exception, inherit-non-class, init-is-generator, invalid-all-object, - invalid-encoded-data, invalid-format-index, invalid-length-returned, invalid-sequence-index, invalid-slice-index, invalid-slots-object, invalid-slots, - invalid-str-codec, invalid-unary-operand-type, logging-too-few-args, logging-too-many-args, logging-unsupported-format, lost-exception, - map-builtin-not-iterating, method-hidden, misplaced-bare-raise, misplaced-future, missing-format-argument-key, missing-format-attribute, missing-format-string-key, - missing-super-argument, - mixed-fomat-string, - model-unicode-not-callable, no-member, no-method-argument, no-name-in-module, @@ -161,8 +143,6 @@ enable = non-iterator-returned, non-parent-method-called, nonexistent-operator, - nonimplemented-raised, - nonstandard-exception, not-a-mapping, not-an-iterable, not-callable, @@ -170,35 +150,25 @@ enable = not-in-loop, pointless-statement, pointless-string-statement, - property-on-old-class, raising-bad-type, raising-non-exception, - raising-string, - range-builtin-not-iterating, redefined-builtin, - redefined-in-handler, redefined-outer-name, - redefined-variable-type, redundant-keyword-arg, - relative-import, repeated-keyword, return-arg-in-generator, return-in-init, return-outside-function, signature-differs, - slots-on-old-class, super-init-not-called, super-method-not-called, - super-on-old-class, syntax-error, - sys-max-int, test-inherits-tests, too-few-format-args, too-many-format-args, too-many-function-args, translation-of-non-string, truncated-format-string, - unbalance-tuple-unpacking, undefined-all-variable, undefined-loop-variable, undefined-variable, @@ -214,11 +184,8 @@ enable = used-before-assignment, using-constant-test, yield-outside-function, - zip-builtin-not-iterating, astroid-error, - django-not-available-placeholder, - django-not-available, fatal, method-check-failed, parse-error, @@ -240,7 +207,6 @@ enable = bad-classmethod-argument, bad-mcs-classmethod-argument, bad-mcs-method-argument, - bad-whitespace, bare-except, broad-except, consider-iterating-dictionary, @@ -250,16 +216,10 @@ enable = literal-used-as-attribute, logging-format-interpolation, logging-not-lazy, - metaclass-assignment, - model-has-unicode, - model-missing-unicode, - model-no-explicit-unicode, multiple-imports, multiple-statements, no-classmethod-decorator, no-staticmethod-decorator, - old-raise-syntax, - old-style-class, protected-access, redundant-unittest-assert, reimported, @@ -287,7 +247,6 @@ enable = wrong-import-position, missing-final-newline, - mixed-indentation, mixed-line-endings, trailing-newlines, trailing-whitespace, @@ -298,38 +257,17 @@ enable = deprecated-pragma, unrecognized-inline-option, useless-suppression, - - cmp-method, - coerce-method, - delslice-method, - dict-iter-method, - dict-view-method, - div-method, - getslice-method, - hex-method, - idiv-method, - next-method-called, - next-method-defined, - nonzero-method, - oct-method, - rdiv-method, - setslice-method, - using-cmp-argument, disable = - bad-continuation, bad-indentation, + broad-exception-raised, + consider-using-f-string, duplicate-code, file-ignored, fixme, global-statement, invalid-name, locally-disabled, - locally-enabled, - lowercase-l-suffix, - misplaced-comparison-constant, no-else-return, - no-init, - no-self-use, suppressed-message, too-few-public-methods, too-many-ancestors, @@ -348,54 +286,15 @@ disable = feature-toggle-needs-doc, illegal-waffle-usage, - apply-builtin, - backtick, - bad-python3-import, - basestring-builtin, - buffer-builtin, - cmp-builtin, - coerce-builtin, - deprecated-itertools-function, - deprecated-operator-function, - deprecated-str-translate-call, - deprecated-string-function, - deprecated-sys-function, - deprecated-types-field, - deprecated-urllib-function, - execfile-builtin, - file-builtin, - import-star-module-level, - input-builtin, - intern-builtin, - long-builtin, - long-suffix, - no-absolute-import, - non-ascii-bytes-literal, - old-division, - old-ne-operator, - old-octal-literal, - parameter-unpacking, - print-statement, - raw_input-builtin, - reduce-builtin, - reload-builtin, - round-builtin, - standarderror-builtin, - unichr-builtin, - unicode-builtin, - unpacking-in-except, - xrange-builtin, - - logging-fstring-interpolation,,django-not-configured,consider-using-f-string + logging-fstring-interpolation,,django-not-configured,consider-using-f-string, + useless-option-value [REPORTS] output-format = text -files-output = no reports = no score = no [BASIC] -bad-functions = map,filter,apply,input module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$ class-rgx = [A-Z_][a-zA-Z0-9]+$ @@ -415,7 +314,6 @@ docstring-min-length = 5 max-line-length = 120 ignore-long-lines = ^\s*(# )?((?)|(\.\. \w+: .*))$ single-line-if-stmt = no -no-space-check = trailing-comma,dict-separator max-module-lines = 1000 indent-string = ' ' @@ -484,6 +382,6 @@ ext-import-graph = int-import-graph = [EXCEPTIONS] -overgeneral-exceptions = Exception +overgeneral-exceptions = builtins.Exception -# 55b5e6cb0b3d43a804e059e4466e2e7cd91944bc +# 47ba344fd215b57232762d9dbf14fc6ddaf63cc6 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index 72ae96a..52faff3 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -4,4 +4,5 @@ ignore = migrations load-plugins = edx_lint.pylint,pylint_django,pylint_celery [MESSAGES CONTROL] -DISABLE+= ,django-not-configured,consider-using-f-string +DISABLE+= ,django-not-configured,consider-using-f-string, + useless-option-value diff --git a/requirements/base.txt b/requirements/base.txt index bab170f..ada9db3 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,28 +1,28 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via django -certifi==2023.7.22 +certifi==2024.8.30 # via requests -cffi==1.16.0 +cffi==1.17.1 # via # cryptography # pynacl -charset-normalizer==3.3.1 +charset-normalizer==3.4.0 # via requests click==8.1.7 # via # code-annotations # edx-django-utils -code-annotations==1.5.0 +code-annotations==1.8.0 # via edx-toggles -cryptography==41.0.4 +cryptography==43.0.3 # via pyjwt -django==3.2.22 +django==4.2.16 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/base.in @@ -38,7 +38,7 @@ django-crum==0.7.9 # via # edx-django-utils # edx-toggles -django-model-utils==4.3.1 +django-model-utils==5.0.0 # via -r requirements/base.in django-rest-framework==0.1.0 # via -r requirements/base.in @@ -46,75 +46,70 @@ 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-waffle==4.0.0 +django-waffle==4.1.0 # via # edx-django-utils # edx-drf-extensions # edx-toggles -djangorestframework==3.14.0 +djangorestframework==3.15.2 # via # django-rest-framework # drf-jwt # edx-drf-extensions +dnspython==2.7.0 + # via pymongo drf-jwt==1.19.2 # via edx-drf-extensions -edx-django-utils==5.7.0 +edx-django-utils==7.0.0 # via # edx-drf-extensions # edx-toggles -edx-drf-extensions==8.12.0 +edx-drf-extensions==10.5.0 # via -r requirements/base.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.11.0 # via edx-drf-extensions -edx-toggles==5.1.0 +edx-toggles==5.2.0 # via -r requirements/base.in -idna==3.4 +idna==3.10 # via requests -jinja2==3.1.2 +jinja2==3.1.4 # via code-annotations -markupsafe==2.1.3 +markupsafe==3.0.2 # via jinja2 -newrelic==9.1.1 +newrelic==10.2.0 # via edx-django-utils -pbr==5.11.1 +pbr==6.1.0 # via stevedore -psutil==5.9.6 +psutil==6.1.0 # via edx-django-utils -pycparser==2.21 +pycparser==2.22 # via cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via # drf-jwt # edx-drf-extensions - # pyjwt -pymongo==3.13.0 +pymongo==4.10.1 # via edx-opaque-keys pynacl==1.5.0 # via edx-django-utils -python-slugify==8.0.1 +python-slugify==8.0.4 # via code-annotations -pytz==2023.3.post1 - # via - # django - # djangorestframework -pyyaml==6.0.1 +pyyaml==6.0.2 # via code-annotations -requests==2.31.0 +requests==2.32.3 # via edx-drf-extensions semantic-version==2.10.0 # via edx-drf-extensions -sqlparse==0.4.4 +sqlparse==0.5.1 # via django -stevedore==5.1.0 +stevedore==5.3.0 # via # code-annotations # edx-django-utils # edx-opaque-keys text-unidecode==1.3 # via python-slugify -typing-extensions==4.8.0 - # via - # asgiref - # edx-opaque-keys -urllib3==2.0.7 +typing-extensions==4.12.2 + # via edx-opaque-keys +urllib3==2.2.3 # via requests diff --git a/requirements/ci.txt b/requirements/ci.txt index 267f554..dc61486 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,30 +1,34 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -distlib==0.3.7 +cachetools==5.5.0 + # via tox +chardet==5.2.0 + # via tox +colorama==0.4.6 + # via tox +distlib==0.3.9 # via virtualenv -filelock==3.12.4 +filelock==3.16.1 # via # tox # virtualenv -packaging==23.2 - # via tox -platformdirs==3.11.0 - # via virtualenv -pluggy==1.3.0 - # via tox -py==1.11.0 - # via tox -six==1.16.0 +packaging==24.1 + # via + # pyproject-api + # tox +platformdirs==4.3.6 + # via + # tox + # virtualenv +pluggy==1.5.0 # via tox -tomli==2.0.1 +pyproject-api==1.8.0 # via tox -tox==3.28.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/ci.in -virtualenv==20.24.5 +tox==4.23.2 + # via -r requirements/ci.in +virtualenv==20.27.1 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index dfe32ea..e48bf35 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,43 +1,50 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # django -astroid==3.0.1 +astroid==3.3.5 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint # pylint-celery -black==23.10.0 - # via -r requirements/quality.txt -build==1.0.3 +black==24.10.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +build==1.2.2.post1 # via - # -r requirements/pip-tools.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt # pip-tools -certifi==2023.7.22 +cachetools==5.5.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # tox +certifi==2024.8.30 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # cryptography # pynacl chardet==5.2.0 - # via diff-cover -charset-normalizer==3.3.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # diff-cover + # tox +charset-normalizer==3.4.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # requests click==8.1.7 # via - # -r requirements/pip-tools.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # black # click-log # code-annotations @@ -46,37 +53,39 @@ click==8.1.7 # pip-tools click-log==0.4.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint -code-annotations==1.5.0 +code-annotations==1.8.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint # edx-toggles -coverage[toml]==7.3.2 +colorama==0.4.6 # via - # -r requirements/quality.txt - # coverage + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # tox +coverage[toml]==7.6.4 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pytest-cov -cryptography==41.0.4 +cryptography==43.0.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pyjwt - # secretstorage -diff-cover==8.0.0 +diff-cover==9.2.0 # via -r requirements/dev.in -dill==0.3.7 +dill==0.3.9 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint -distlib==0.3.7 +distlib==0.3.9 # via - # -r requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt # virtualenv -django==3.2.22 +django==4.2.16 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # django-crum # django-model-utils # django-waffle @@ -88,379 +97,349 @@ django==3.2.22 # edx-toggles django-crum==0.7.9 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-django-utils # edx-toggles -django-model-utils==4.3.1 - # via -r requirements/quality.txt +django-model-utils==5.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt django-rest-framework==0.1.0 - # via -r requirements/quality.txt + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.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/quality.txt -django-waffle==4.0.0 + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +django-waffle==4.1.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-django-utils # edx-drf-extensions # edx-toggles -djangorestframework==3.14.0 +djangorestframework==3.15.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # django-rest-framework # drf-jwt # edx-drf-extensions -docutils==0.20.1 +dnspython==2.7.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt + # pymongo +docutils==0.21.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # readme-renderer drf-jwt==1.19.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-drf-extensions -edx-django-utils==5.7.0 +edx-django-utils==7.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-drf-extensions # edx-toggles -edx-drf-extensions==8.12.0 - # via -r requirements/quality.txt -edx-i18n-tools==1.3.0 +edx-drf-extensions==10.5.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +edx-i18n-tools==1.6.3 # via -r requirements/dev.in -edx-lint==5.3.4 - # via -r requirements/quality.txt -edx-opaque-keys==2.5.1 +edx-lint==5.4.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +edx-opaque-keys==2.11.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-drf-extensions -edx-toggles==5.1.0 - # via -r requirements/quality.txt -exceptiongroup==1.1.3 +edx-toggles==5.2.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +factory-boy==3.3.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +faker==30.8.1 # via - # -r requirements/quality.txt - # pytest -factory-boy==3.3.0 - # via -r requirements/quality.txt -faker==19.11.0 - # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # factory-boy -filelock==3.12.4 +filelock==3.16.1 # via - # -r requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt # tox # virtualenv -idna==3.4 +idna==3.10 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # requests -importlib-metadata==6.8.0 +importlib-metadata==8.5.0 # via - # -r requirements/pip-tools.txt - # -r requirements/quality.txt - # build - # keyring + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -importlib-resources==6.1.0 - # via - # -r requirements/quality.txt - # keyring iniconfig==2.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pytest -isort==5.12.0 +isort==5.13.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint -jaraco-classes==3.3.0 +jaraco-classes==3.4.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # keyring -jeepney==0.8.0 +jaraco-context==6.0.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # keyring - # secretstorage -jinja2==3.1.2 +jaraco-functools==4.1.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt + # keyring +jinja2==3.1.4 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # code-annotations # diff-cover -keyring==24.2.0 +keyring==25.5.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -lxml==4.9.3 - # via edx-i18n-tools +lxml[html-clean,html_clean]==5.3.0 + # via + # edx-i18n-tools + # lxml-html-clean +lxml-html-clean==0.3.1 + # via lxml markdown-it-py==3.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # rich -markupsafe==2.1.3 +markupsafe==3.0.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # jinja2 mccabe==0.7.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint mdurl==0.1.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # markdown-it-py -more-itertools==10.1.0 +more-itertools==10.5.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # jaraco-classes + # jaraco-functools mypy-extensions==1.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # black -newrelic==9.1.1 +newrelic==10.2.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-django-utils -nh3==0.2.14 +nh3==0.2.18 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # readme-renderer -packaging==23.2 +packaging==24.1 # via - # -r requirements/ci.txt - # -r requirements/pip-tools.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # black # build + # pyproject-api # pytest # tox -path==16.7.1 +path==16.16.0 # via edx-i18n-tools -pathspec==0.11.2 +pathspec==0.12.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # black -pbr==5.11.1 +pbr==6.1.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # stevedore -pip-tools==7.3.0 - # via -r requirements/pip-tools.txt -pkginfo==1.9.6 +pip-tools==7.4.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt +pkginfo==1.10.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -platformdirs==3.11.0 +platformdirs==4.3.6 # via - # -r requirements/ci.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # black # pylint + # tox # virtualenv -pluggy==1.3.0 +pluggy==1.5.0 # via - # -r requirements/ci.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # diff-cover # pytest # tox polib==1.2.0 # via edx-i18n-tools -psutil==5.9.6 +psutil==6.1.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-django-utils -py==1.11.0 - # via - # -r requirements/ci.txt - # tox -pycodestyle==2.11.1 - # via -r requirements/quality.txt -pycparser==2.21 +pycodestyle==2.12.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +pycparser==2.22 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # cffi pydocstyle==6.3.0 - # via -r requirements/quality.txt -pygments==2.16.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +pygments==2.18.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # diff-cover # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # drf-jwt # edx-drf-extensions - # pyjwt -pylint==3.0.2 +pylint==3.3.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint # pylint-celery # pylint-django # pylint-plugin-utils pylint-celery==0.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint -pylint-django==2.5.4 +pylint-django==2.6.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint pylint-plugin-utils==0.8.2 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint-celery # pylint-django -pymongo==3.13.0 +pymongo==4.10.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-opaque-keys pynacl==1.5.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-django-utils -pyproject-hooks==1.0.0 +pyproject-api==1.8.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt + # tox +pyproject-hooks==1.2.0 # via - # -r requirements/pip-tools.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt # build -pytest==7.4.2 + # pip-tools +pytest==8.3.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pytest-cov # pytest-django -pytest-cov==4.1.0 - # via -r requirements/quality.txt -pytest-django==4.5.2 - # via -r requirements/quality.txt -python-dateutil==2.8.2 +pytest-cov==6.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +pytest-django==4.9.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +python-dateutil==2.9.0.post0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # faker -python-slugify==8.0.1 +python-slugify==8.0.4 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # code-annotations -pytz==2023.3.post1 +pyyaml==6.0.2 # via - # -r requirements/quality.txt - # django - # djangorestframework -pyyaml==6.0.1 - # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # code-annotations # edx-i18n-tools -readme-renderer==42.0 +readme-renderer==44.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -requests==2.31.0 +requests==2.32.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-drf-extensions # requests-toolbelt # twine requests-toolbelt==1.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine rfc3986==2.0.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -rich==13.6.0 +rich==13.9.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # twine -secretstorage==3.3.3 - # via - # -r requirements/quality.txt - # keyring semantic-version==2.10.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-drf-extensions six==1.16.0 # via - # -r requirements/ci.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-lint # python-dateutil - # tox snowballstemmer==2.2.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pydocstyle -sqlparse==0.4.4 +sqlparse==0.5.1 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # django -stevedore==5.1.0 +stevedore==5.3.0 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # code-annotations # edx-django-utils # edx-opaque-keys text-unidecode==1.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # python-slugify -tomli==2.0.1 +tomlkit==0.13.2 # via - # -r requirements/ci.txt - # -r requirements/pip-tools.txt - # -r requirements/quality.txt - # black - # build - # coverage - # pip-tools - # pylint - # pyproject-hooks - # pytest - # tox -tomlkit==0.12.1 - # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # pylint -tox==3.28.0 +tox==4.23.2 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt +twine==5.1.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt +typing-extensions==4.12.2 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/ci.txt -twine==4.0.2 - # via -r requirements/quality.txt -typing-extensions==4.8.0 - # via - # -r requirements/quality.txt - # asgiref - # astroid - # black + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # edx-opaque-keys # faker - # pylint - # rich -urllib3==2.0.7 +urllib3==2.2.3 # via - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # requests # twine -virtualenv==20.24.5 +virtualenv==20.27.1 # via - # -r requirements/ci.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/ci.txt # tox -wheel==0.41.2 +wheel==0.44.0 # via - # -r requirements/pip-tools.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/pip-tools.txt # pip-tools -zipp==3.17.0 +zipp==3.20.2 # via - # -r requirements/pip-tools.txt - # -r requirements/quality.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/quality.txt # importlib-metadata - # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.in b/requirements/doc.in index 690e8e1..8e4b483 100644 --- a/requirements/doc.in +++ b/requirements/doc.in @@ -4,6 +4,6 @@ -r test.txt # Core and testing dependencies for this package doc8 # reStructuredText style checker -edx_sphinx_theme # edX theme for Sphinx output +sphinx-book-theme # edX theme for Sphinx output readme_renderer # Validates README.rst for usage on PyPI Sphinx # Documentation builder diff --git a/requirements/doc.txt b/requirements/doc.txt index e6a5806..88e978a 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,52 +1,57 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -alabaster==0.7.13 +accessible-pygments==0.0.5 + # via pydata-sphinx-theme +alabaster==0.7.16 # via sphinx -asgiref==3.7.2 +asgiref==3.8.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django -babel==2.13.0 - # via sphinx -certifi==2023.7.22 +babel==2.16.0 + # via + # pydata-sphinx-theme + # sphinx +beautifulsoup4==4.12.3 + # via pydata-sphinx-theme +certifi==2024.8.30 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # cryptography # pynacl -charset-normalizer==3.3.1 +charset-normalizer==3.4.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests click==8.1.7 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations # edx-django-utils -code-annotations==1.5.0 +code-annotations==1.8.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-toggles -coverage[toml]==7.3.2 +coverage[toml]==7.6.4 # via - # -r requirements/test.txt - # coverage + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest-cov -cryptography==41.0.4 +cryptography==43.0.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pyjwt -django==3.2.22 +django==4.2.16 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django-crum # django-model-utils # django-waffle @@ -57,227 +62,218 @@ django==3.2.22 # edx-toggles django-crum==0.7.9 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils # edx-toggles -django-model-utils==4.3.1 - # via -r requirements/test.txt +django-model-utils==5.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt django-rest-framework==0.1.0 - # via -r requirements/test.txt + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/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-waffle==4.0.0 + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +django-waffle==4.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils # edx-drf-extensions # edx-toggles -djangorestframework==3.14.0 +djangorestframework==3.15.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django-rest-framework # drf-jwt # edx-drf-extensions -doc8==1.1.1 +dnspython==2.7.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt + # pymongo +doc8==1.1.2 # via -r requirements/doc.in docutils==0.19 # via # doc8 + # pydata-sphinx-theme # readme-renderer # restructuredtext-lint # sphinx drf-jwt==1.19.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions -edx-django-utils==5.7.0 +edx-django-utils==7.0.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions # edx-toggles -edx-drf-extensions==8.12.0 - # via -r requirements/test.txt -edx-opaque-keys==2.5.1 +edx-drf-extensions==10.5.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +edx-opaque-keys==2.11.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions -edx-sphinx-theme==3.1.0 - # via -r requirements/doc.in -edx-toggles==5.1.0 - # 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.11.0 +edx-toggles==5.2.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +factory-boy==3.3.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +faker==30.8.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # factory-boy -idna==3.4 +idna==3.10 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.8.0 - # via sphinx iniconfig==2.0.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest -jinja2==3.1.2 +jinja2==3.1.4 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations # sphinx -markupsafe==2.1.3 +markupsafe==3.0.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # jinja2 -newrelic==9.1.1 +newrelic==10.2.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -nh3==0.2.14 +nh3==0.2.18 # via readme-renderer -packaging==23.2 +packaging==24.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt + # pydata-sphinx-theme # pytest # sphinx -pbr==5.11.1 +pbr==6.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # stevedore -pluggy==1.3.0 +pluggy==1.5.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest -psutil==5.9.6 +psutil==6.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -pycparser==2.21 +pycparser==2.22 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # cffi -pygments==2.16.1 +pydata-sphinx-theme==0.15.4 + # via sphinx-book-theme +pygments==2.18.0 # via + # accessible-pygments # doc8 + # pydata-sphinx-theme # readme-renderer # sphinx -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # drf-jwt # edx-drf-extensions - # pyjwt -pymongo==3.13.0 +pymongo==4.10.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-opaque-keys pynacl==1.5.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -pytest==7.4.2 +pytest==8.3.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest-cov # pytest-django -pytest-cov==4.1.0 - # via -r requirements/test.txt -pytest-django==4.5.2 - # via -r requirements/test.txt -python-dateutil==2.8.2 +pytest-cov==6.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +pytest-django==4.9.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +python-dateutil==2.9.0.post0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # faker -python-slugify==8.0.1 +python-slugify==8.0.4 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations -pytz==2023.3.post1 - # via - # -r requirements/test.txt - # babel - # django - # djangorestframework -pyyaml==6.0.1 +pyyaml==6.0.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations -readme-renderer==42.0 +readme-renderer==43.0 # via -r requirements/doc.in -requests==2.31.0 +requests==2.32.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions # sphinx restructuredtext-lint==1.4.0 # via doc8 semantic-version==2.10.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions six==1.16.0 # via - # -r requirements/test.txt - # edx-sphinx-theme + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # python-dateutil snowballstemmer==2.2.0 # via sphinx +soupsieve==2.6 + # via beautifulsoup4 sphinx==5.3.0 # via - # -c requirements/constraints.txt + # -c /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/constraints.txt # -r requirements/doc.in - # edx-sphinx-theme -sphinxcontrib-applehelp==1.0.4 + # pydata-sphinx-theme + # sphinx-book-theme +sphinx-book-theme==1.1.3 + # via -r requirements/doc.in +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -sqlparse==0.4.4 +sqlparse==0.5.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django -stevedore==5.1.0 +stevedore==5.3.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations # doc8 # edx-django-utils # edx-opaque-keys text-unidecode==1.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/test.txt - # coverage - # doc8 - # pytest -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via - # -r requirements/test.txt - # asgiref + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-opaque-keys # faker -urllib3==2.0.7 + # pydata-sphinx-theme +urllib3==2.2.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests -zipp==3.17.0 - # via importlib-metadata diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 50d35f2..cf4131e 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,30 +1,23 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -build==1.0.3 +build==1.2.2.post1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==6.8.0 +packaging==24.1 # via build -packaging==23.2 - # via build -pip-tools==7.3.0 +pip-tools==7.4.1 # via -r requirements/pip-tools.in -pyproject-hooks==1.0.0 - # via build -tomli==2.0.1 +pyproject-hooks==1.2.0 # via # build # pip-tools - # pyproject-hooks -wheel==0.41.2 +wheel==0.44.0 # 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/pip.txt b/requirements/pip.txt index 0c788d6..9f8c141 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -wheel==0.41.2 +wheel==0.44.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==23.3.1 +pip==24.3.1 # via -r requirements/pip.in -setuptools==68.2.2 +setuptools==75.3.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index d4d572e..6de65a9 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -1,35 +1,35 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django -astroid==3.0.1 +astroid==3.3.5 # via # pylint # pylint-celery -black==23.10.0 +black==24.10.0 # via -r requirements/quality.in -certifi==2023.7.22 +certifi==2024.8.30 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # cryptography # pynacl -charset-normalizer==3.3.1 +charset-normalizer==3.4.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests click==8.1.7 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # black # click-log # code-annotations @@ -37,27 +37,25 @@ click==8.1.7 # edx-lint click-log==0.4.0 # via edx-lint -code-annotations==1.5.0 +code-annotations==1.8.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-lint # edx-toggles -coverage[toml]==7.3.2 +coverage[toml]==7.6.4 # via - # -r requirements/test.txt - # coverage + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest-cov -cryptography==41.0.4 +cryptography==43.0.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pyjwt - # secretstorage -dill==0.3.7 +dill==0.3.9 # via pylint -django==3.2.22 +django==4.2.16 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django-crum # django-model-utils # django-waffle @@ -68,154 +66,151 @@ django==3.2.22 # edx-toggles django-crum==0.7.9 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils # edx-toggles -django-model-utils==4.3.1 - # via -r requirements/test.txt +django-model-utils==5.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt django-rest-framework==0.1.0 - # via -r requirements/test.txt + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/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-waffle==4.0.0 + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +django-waffle==4.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils # edx-drf-extensions # edx-toggles -djangorestframework==3.14.0 +djangorestframework==3.15.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django-rest-framework # drf-jwt # edx-drf-extensions -docutils==0.20.1 +dnspython==2.7.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt + # pymongo +docutils==0.21.2 # via readme-renderer drf-jwt==1.19.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions -edx-django-utils==5.7.0 +edx-django-utils==7.0.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions # edx-toggles -edx-drf-extensions==8.12.0 - # via -r requirements/test.txt -edx-lint==5.3.4 +edx-drf-extensions==10.5.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +edx-lint==5.4.1 # via -r requirements/quality.in -edx-opaque-keys==2.5.1 +edx-opaque-keys==2.11.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions -edx-toggles==5.1.0 - # 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.11.0 +edx-toggles==5.2.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +factory-boy==3.3.1 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +faker==30.8.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # factory-boy -idna==3.4 +idna==3.10 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests -importlib-metadata==6.8.0 - # via - # keyring - # twine -importlib-resources==6.1.0 - # via keyring +importlib-metadata==8.5.0 + # via twine iniconfig==2.0.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest -isort==5.12.0 +isort==5.13.2 # via # -r requirements/quality.in # pylint -jaraco-classes==3.3.0 +jaraco-classes==3.4.0 # via keyring -jeepney==0.8.0 - # via - # keyring - # secretstorage -jinja2==3.1.2 +jaraco-context==6.0.1 + # via keyring +jaraco-functools==4.1.0 + # via keyring +jinja2==3.1.4 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations -keyring==24.2.0 +keyring==25.5.0 # via twine markdown-it-py==3.0.0 # via rich -markupsafe==2.1.3 +markupsafe==3.0.2 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # jinja2 mccabe==0.7.0 # via pylint mdurl==0.1.2 # via markdown-it-py -more-itertools==10.1.0 - # via jaraco-classes +more-itertools==10.5.0 + # via + # jaraco-classes + # jaraco-functools mypy-extensions==1.0.0 # via black -newrelic==9.1.1 +newrelic==10.2.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -nh3==0.2.14 +nh3==0.2.18 # via readme-renderer -packaging==23.2 +packaging==24.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # black # pytest -pathspec==0.11.2 +pathspec==0.12.1 # via black -pbr==5.11.1 +pbr==6.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # stevedore -pkginfo==1.9.6 +pkginfo==1.10.0 # via twine -platformdirs==3.11.0 +platformdirs==4.3.6 # via # black # pylint -pluggy==1.3.0 +pluggy==1.5.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest -psutil==5.9.6 +psutil==6.1.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/quality.in -pycparser==2.21 +pycparser==2.22 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # cffi pydocstyle==6.3.0 # via -r requirements/quality.in -pygments==2.16.1 +pygments==2.18.0 # via # readme-renderer # rich -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # drf-jwt # edx-drf-extensions - # pyjwt -pylint==3.0.2 +pylint==3.3.1 # via # edx-lint # pylint-celery @@ -223,51 +218,46 @@ pylint==3.0.2 # pylint-plugin-utils pylint-celery==0.3 # via edx-lint -pylint-django==2.5.4 +pylint-django==2.6.1 # via edx-lint pylint-plugin-utils==0.8.2 # via # pylint-celery # pylint-django -pymongo==3.13.0 +pymongo==4.10.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-opaque-keys pynacl==1.5.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-django-utils -pytest==7.4.2 +pytest==8.3.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # pytest-cov # pytest-django -pytest-cov==4.1.0 - # via -r requirements/test.txt -pytest-django==4.5.2 - # via -r requirements/test.txt -python-dateutil==2.8.2 +pytest-cov==6.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +pytest-django==4.9.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt +python-dateutil==2.9.0.post0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # faker -python-slugify==8.0.1 +python-slugify==8.0.4 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations -pytz==2023.3.post1 +pyyaml==6.0.2 # via - # -r requirements/test.txt - # django - # djangorestframework -pyyaml==6.0.1 - # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations -readme-renderer==42.0 +readme-renderer==44.0 # via twine -requests==2.31.0 +requests==2.32.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions # requests-toolbelt # twine @@ -275,62 +265,46 @@ requests-toolbelt==1.0.0 # via twine rfc3986==2.0.0 # via twine -rich==13.6.0 +rich==13.9.3 # via twine -secretstorage==3.3.3 - # via keyring semantic-version==2.10.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-drf-extensions six==1.16.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-lint # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -sqlparse==0.4.4 +sqlparse==0.5.1 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # django -stevedore==5.1.0 +stevedore==5.3.0 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # code-annotations # edx-django-utils # edx-opaque-keys text-unidecode==1.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # python-slugify -tomli==2.0.1 - # via - # -r requirements/test.txt - # black - # coverage - # pylint - # pytest -tomlkit==0.12.1 +tomlkit==0.13.2 # via pylint -twine==4.0.2 +twine==5.1.1 # via -r requirements/quality.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via - # -r requirements/test.txt - # asgiref - # astroid - # black + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # edx-opaque-keys # faker - # pylint - # rich -urllib3==2.0.7 +urllib3==2.2.3 # via - # -r requirements/test.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/test.txt # requests # twine -zipp==3.17.0 - # via - # importlib-metadata - # importlib-resources +zipp==3.20.2 + # via importlib-metadata diff --git a/requirements/test.txt b/requirements/test.txt index a5ba018..cb3f205 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,47 +1,45 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # make upgrade # -asgiref==3.7.2 +asgiref==3.8.1 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # django -certifi==2023.7.22 +certifi==2024.8.30 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # requests -cffi==1.16.0 +cffi==1.17.1 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # cryptography # pynacl -charset-normalizer==3.3.1 +charset-normalizer==3.4.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # requests click==8.1.7 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # code-annotations # edx-django-utils -code-annotations==1.5.0 +code-annotations==1.8.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # -r requirements/test.in # edx-toggles -coverage[toml]==7.3.2 +coverage[toml]==7.6.4 + # via pytest-cov +cryptography==43.0.3 # via - # coverage - # pytest-cov -cryptography==41.0.4 - # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # pyjwt # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # django-crum # django-model-utils # django-waffle @@ -52,158 +50,149 @@ cryptography==41.0.4 # edx-toggles django-crum==0.7.9 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-django-utils # edx-toggles -django-model-utils==4.3.1 - # via -r requirements/base.txt +django-model-utils==5.0.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt django-rest-framework==0.1.0 - # via -r requirements/base.txt + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/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-waffle==4.0.0 + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt +django-waffle==4.1.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-django-utils # edx-drf-extensions # edx-toggles -djangorestframework==3.14.0 +djangorestframework==3.15.2 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # django-rest-framework # drf-jwt # edx-drf-extensions +dnspython==2.7.0 + # via + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt + # pymongo drf-jwt==1.19.2 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-drf-extensions -edx-django-utils==5.7.0 +edx-django-utils==7.0.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-drf-extensions # edx-toggles -edx-drf-extensions==8.12.0 - # via -r requirements/base.txt -edx-opaque-keys==2.5.1 +edx-drf-extensions==10.5.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt +edx-opaque-keys==2.11.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-drf-extensions -edx-toggles==5.1.0 - # via -r requirements/base.txt -exceptiongroup==1.1.3 - # via pytest -factory-boy==3.3.0 +edx-toggles==5.2.0 + # via -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt +factory-boy==3.3.1 # via -r requirements/test.in -faker==19.11.0 +faker==30.8.1 # via factory-boy -idna==3.4 +idna==3.10 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # requests iniconfig==2.0.0 # via pytest -jinja2==3.1.2 +jinja2==3.1.4 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # code-annotations -markupsafe==2.1.3 +markupsafe==3.0.2 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # jinja2 -newrelic==9.1.1 +newrelic==10.2.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-django-utils -packaging==23.2 +packaging==24.1 # via pytest -pbr==5.11.1 +pbr==6.1.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # stevedore -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -psutil==5.9.6 +psutil==6.1.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-django-utils -pycparser==2.21 +pycparser==2.22 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # cffi -pyjwt[crypto]==2.8.0 +pyjwt[crypto]==2.9.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # drf-jwt # edx-drf-extensions - # pyjwt -pymongo==3.13.0 +pymongo==4.10.1 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-opaque-keys pynacl==1.5.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-django-utils -pytest==7.4.2 +pytest==8.3.3 # via # pytest-cov # pytest-django -pytest-cov==4.1.0 +pytest-cov==6.0.0 # via -r requirements/test.in -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via faker -python-slugify==8.0.1 +python-slugify==8.0.4 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # code-annotations -pytz==2023.3.post1 +pyyaml==6.0.2 # via - # -r requirements/base.txt - # django - # djangorestframework -pyyaml==6.0.1 - # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # code-annotations -requests==2.31.0 +requests==2.32.3 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-drf-extensions semantic-version==2.10.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-drf-extensions six==1.16.0 # via python-dateutil -sqlparse==0.4.4 +sqlparse==0.5.1 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # django -stevedore==5.1.0 +stevedore==5.3.0 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # code-annotations # edx-django-utils # edx-opaque-keys text-unidecode==1.3 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # python-slugify -tomli==2.0.1 - # via - # coverage - # pytest -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via - # -r requirements/base.txt - # asgiref + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # edx-opaque-keys # faker -urllib3==2.0.7 +urllib3==2.2.3 # via - # -r requirements/base.txt + # -r /Users/hunia.fatima/Desktop/edX/platform-plugin-notices/requirements/base.txt # requests diff --git a/setup.py b/setup.py index 4f73a8a..324d751 100755 --- a/setup.py +++ b/setup.py @@ -120,7 +120,7 @@ def is_requirement(line): ], include_package_data=True, install_requires=load_requirements("requirements/base.in"), - python_requires=">=3.8", + python_requires=">3.8", license="AGPL 3.0", zip_safe=False, keywords="Python edx", @@ -132,7 +132,7 @@ def is_requirement(line): "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.12", ], entry_points={ "lms.djangoapp": [ diff --git a/test_utils/factories.py b/test_utils/factories.py index 7b50d13..0b8bdf2 100644 --- a/test_utils/factories.py +++ b/test_utils/factories.py @@ -1,6 +1,7 @@ """ Factories for notices testing. """ + import datetime import factory diff --git a/test_utils/test_urls.py b/test_utils/test_urls.py index 71b7c12..561f056 100644 --- a/test_utils/test_urls.py +++ b/test_utils/test_urls.py @@ -4,6 +4,7 @@ Used by setting `ROOT_URLCONF = "test_utils.test_urls"` in test_settings.py. Allows us to namespace all URLs as "notices" in the same way the plugin would in LMS. """ + from django.urls import include from django.urls import path diff --git a/tests/test_api.py b/tests/test_api.py index 926642b..02fcf6d 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -1,6 +1,7 @@ """ Tests for the Notices app's Python API """ + import datetime from django.test import TestCase, override_settings diff --git a/tests/test_context_api.py b/tests/test_context_api.py index 0aea3e6..3f12ced 100644 --- a/tests/test_context_api.py +++ b/tests/test_context_api.py @@ -1,6 +1,7 @@ """ Tests for the plugin context functions. """ + from django.test import TestCase from edx_toggles.toggles.testutils import override_waffle_flag from rest_framework.reverse import reverse diff --git a/tests/test_selectors.py b/tests/test_selectors.py index 4de522b..fff07b1 100644 --- a/tests/test_selectors.py +++ b/tests/test_selectors.py @@ -1,6 +1,7 @@ """ Tests for the Notices app's data fetching utilities. """ + import datetime from django.conf import settings diff --git a/tests/test_views.py b/tests/test_views.py index 2c47950..a0c6a63 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -1,4 +1,5 @@ """Tests Notices API Views""" + import json from django.test import TestCase diff --git a/tox.ini b/tox.ini index f21bc08..a3be3c1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32, 42}, quality, docs, pii_check +envlist = py{311,312}-django{42}, quality, docs, pii_check [doc8] ; D001 = Line too long @@ -37,7 +37,7 @@ norecursedirs = .* docs requirements site-packages [testenv] deps = - django32: Django>=3.2,<4.0 + setuptools django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands = @@ -53,6 +53,7 @@ allowlist_externals = make rm deps = + setuptools -r{toxinidir}/requirements/doc.txt commands = doc8 --ignore-path docs/_build README.rst docs @@ -68,6 +69,7 @@ allowlist_externals = rm touch deps = + setuptools -r{toxinidir}/requirements/quality.txt commands = black --check . @@ -83,6 +85,7 @@ commands = setenv = DJANGO_SETTINGS_MODULE = test_settings deps = + setuptools -r{toxinidir}/requirements/test.txt commands = code_annotations django_find_annotations --config_file .pii_annotations.yml --lint --report --coverage