From fe28389899fa1760757734644ec0850c4a4c8df7 Mon Sep 17 00:00:00 2001 From: Luis Felipe Castano Date: Sun, 21 Jul 2024 23:18:32 -0500 Subject: [PATCH] perf: update requirements --- .github/workflows/commitlint.yml | 2 +- .github/workflows/integration-test.yml | 2 +- .github/workflows/labeler.yml | 2 +- .github/workflows/pr_issue_assignment.yml | 2 +- .github/workflows/python-publish.yml | 2 +- README.rst | 2 + requirements/base.txt | 46 ++++++--------- requirements/django.txt | 1 + requirements/pip-tools.txt | 19 ++---- requirements/test.txt | 72 ++++++++++------------- requirements/tox.txt | 22 +++---- 11 files changed, 74 insertions(+), 98 deletions(-) create mode 100644 requirements/django.txt diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index f6fb45a..cbe17c9 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -8,4 +8,4 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v5.4.4 + - uses: wagoid/commitlint-github-action@v6.0.1 diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 40a9080..eb3f1f7 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - tutor_version: ["<17.0.0", "<18.0.0"] + tutor_version: ["<17.0.0", "<18.0.0", "<19.0.0"] steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 33dda30..9131681 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest name: Label the PR size steps: - - uses: CodelyTV/pr-size-labeler@v1.7.0 + - uses: CodelyTV/pr-size-labeler@v1.10.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} xs_max_size: '10' diff --git a/.github/workflows/pr_issue_assignment.yml b/.github/workflows/pr_issue_assignment.yml index 0bda475..a28cbaf 100644 --- a/.github/workflows/pr_issue_assignment.yml +++ b/.github/workflows/pr_issue_assignment.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Auto-assign PR-Issue' - uses: pozil/auto-assign-issue@v1.13.0 + uses: pozil/auto-assign-issue@v2.0.0 with: repo-token: ${{ secrets.DEDALO_PAT }} teams: django-plugins-tahoau diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5218a02..b60625f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -34,7 +34,7 @@ jobs: run: | python -m build --sdist --wheel --outdir dist/ . - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@1.9.0 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/README.rst b/README.rst index 943fcce..bd00409 100644 --- a/README.rst +++ b/README.rst @@ -29,6 +29,8 @@ Compatibility Notes +-------------------+----------------+ | Quince | >= 6.0 | +-------------------+----------------+ +| Redwood | >= 6.0 | ++------------------+-----------------+ The following changes to the plugin settings are necessary. If the release you are looking for is not listed, then the accumulation of changes from previous releases is enough. diff --git a/requirements/base.txt b/requirements/base.txt index 436e583..3ef4856 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,23 +1,18 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # amqp==5.2.0 # via kombu -asgiref==3.7.2 +asgiref==3.8.1 # via django attrs==23.2.0 # via openedx-events -backports-zoneinfo[tzdata]==0.2.1 - # via - # celery - # django - # kombu billiard==4.2.0 # via celery -celery==5.3.6 +celery==5.4.0 # via # -c requirements/constraints.txt # -r requirements/base.in @@ -27,13 +22,13 @@ click==8.1.7 # click-didyoumean # click-plugins # click-repl -click-didyoumean==0.3.0 +click-didyoumean==0.3.1 # via celery click-plugins==1.1.1 # via celery click-repl==0.3.0 # via celery -django==4.2.10 +django==4.2.14 # via # -c requirements/constraints.txt # -r requirements/base.in @@ -46,13 +41,15 @@ djangorestframework==3.14.0 # via # -c requirements/constraints.txt # -r requirements/base.in -edx-opaque-keys[django]==2.5.1 +dnspython==2.6.1 + # via pymongo +edx-opaque-keys[django]==2.10.0 # via # -r requirements/base.in # openedx-events -fastavro==1.9.3 +fastavro==1.9.5 # via openedx-events -kombu==5.3.5 +kombu==5.3.7 # via celery openedx-events==9.0.0 # via @@ -60,11 +57,11 @@ openedx-events==9.0.0 # -r requirements/base.in pbr==6.0.0 # via stevedore -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.47 # via click-repl -pymongo==3.13.0 +pymongo==4.8.0 # via edx-opaque-keys -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via celery pytz==2022.7.1 # via @@ -72,19 +69,14 @@ pytz==2022.7.1 # djangorestframework six==1.16.0 # via python-dateutil -sqlparse==0.4.4 +sqlparse==0.5.1 # via django -stevedore==5.1.0 +stevedore==5.2.0 # via edx-opaque-keys -typing-extensions==4.9.0 - # via - # asgiref - # edx-opaque-keys - # kombu -tzdata==2023.4 - # via - # backports-zoneinfo - # celery +typing-extensions==4.12.2 + # via edx-opaque-keys +tzdata==2024.1 + # via celery vine==5.1.0 # via # amqp diff --git a/requirements/django.txt b/requirements/django.txt new file mode 100644 index 0000000..549c1f8 --- /dev/null +++ b/requirements/django.txt @@ -0,0 +1 @@ +django==4.2.14 diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 0e88226..b544e9f 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.11 # by the following command: # # make upgrade # -build==1.0.3 +build==1.2.1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==7.0.1 +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.1.0 # via # build # pip-tools - # pyproject-hooks -wheel==0.42.0 +wheel==0.43.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/test.txt b/requirements/test.txt index 639c419..287f2b8 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -8,31 +8,25 @@ amqp==5.2.0 # via # -r requirements/base.txt # kombu -asgiref==3.7.2 +asgiref==3.8.1 # via # -r requirements/base.txt # django -astroid==3.0.3 +astroid==3.2.4 # via pylint attrs==23.2.0 # via # -r requirements/base.txt # openedx-events -backports-zoneinfo[tzdata]==0.2.1 - # via - # -r requirements/base.txt - # celery - # django - # kombu billiard==4.2.0 # via # -r requirements/base.txt # celery -celery==5.3.6 +celery==5.4.0 # via # -c requirements/constraints.txt # -r requirements/base.txt -certifi==2024.2.2 +certifi==2024.7.4 # via requests charset-normalizer==3.3.2 # via requests @@ -43,7 +37,7 @@ click==8.1.7 # click-didyoumean # click-plugins # click-repl -click-didyoumean==0.3.0 +click-didyoumean==0.3.1 # via # -r requirements/base.txt # celery @@ -55,7 +49,7 @@ click-repl==0.3.0 # via # -r requirements/base.txt # celery -coverage==7.4.1 +coverage==7.6.0 # via -r requirements/test.in dill==0.3.8 # via pylint @@ -71,19 +65,24 @@ djangorestframework==3.14.0 # via # -c requirements/constraints.txt # -r requirements/base.txt -edx-opaque-keys[django]==2.5.1 +dnspython==2.6.1 + # via + # -r requirements/base.txt + # pymongo +edx-opaque-keys[django]==2.10.0 # via # -r requirements/base.txt + # edx-opaque-keys # openedx-events -fastavro==1.9.3 +fastavro==1.9.5 # via # -r requirements/base.txt # openedx-events -idna==3.6 +idna==3.7 # via requests isort==5.13.2 # via pylint -kombu==5.3.5 +kombu==5.3.7 # via # -r requirements/base.txt # celery @@ -99,23 +98,21 @@ pbr==6.0.0 # via # -r requirements/base.txt # stevedore -platformdirs==4.2.0 +platformdirs==4.2.2 # via pylint -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.47 # via # -r requirements/base.txt # click-repl -pycodestyle==2.11.1 +pycodestyle==2.12.0 # via -r requirements/test.in -pylint==3.0.3 +pylint==3.2.6 # via -r requirements/test.in -pymongo==3.13.0 +pymongo==4.8.0 # via # -r requirements/base.txt # edx-opaque-keys -pyyaml==6.0.1 - # via -r requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # -r requirements/base.txt # celery @@ -124,40 +121,35 @@ pytz==2022.7.1 # -c requirements/constraints.txt # -r requirements/base.txt # djangorestframework -requests==2.31.0 +pyyaml==6.0.1 + # via -r requirements/test.in +requests==2.32.3 # via -r requirements/test.in six==1.16.0 # via # -r requirements/base.txt # python-dateutil -sqlparse==0.4.4 +sqlparse==0.5.1 # via # -r requirements/base.txt # django -stevedore==5.1.0 +stevedore==5.2.0 # via # -r requirements/base.txt # edx-opaque-keys -testfixtures==7.2.2 +testfixtures==8.3.0 # via -r requirements/test.in -tomli==2.0.1 - # via pylint -tomlkit==0.12.3 +tomlkit==0.13.0 # via pylint -typing-extensions==4.9.0 +typing-extensions==4.12.2 # via # -r requirements/base.txt - # asgiref - # astroid # edx-opaque-keys - # kombu - # pylint -tzdata==2023.4 +tzdata==2024.1 # via # -r requirements/base.txt - # backports-zoneinfo # celery -urllib3==2.2.0 +urllib3==2.2.2 # via requests vine==5.1.0 # via diff --git a/requirements/tox.txt b/requirements/tox.txt index 28261f3..e8cfb9e 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -1,10 +1,10 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -cachetools==5.3.2 +cachetools==5.4.0 # via tox chardet==5.2.0 # via tox @@ -12,27 +12,23 @@ colorama==0.4.6 # via tox distlib==0.3.8 # via virtualenv -filelock==3.13.1 +filelock==3.15.4 # via # tox # virtualenv -packaging==23.2 +packaging==24.1 # via # pyproject-api # tox -platformdirs==4.2.0 +platformdirs==4.2.2 # via # tox # virtualenv -pluggy==1.4.0 +pluggy==1.5.0 # via tox -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox -tox==4.12.1 +tox==4.16.0 # via -r requirements/tox.in -virtualenv==20.25.0 +virtualenv==20.26.3 # via tox