From fc86fc99400482f7c9be821520ab4d6db70b6ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Gonz=C3=A1lez?= Date: Thu, 24 Oct 2024 17:43:51 -0400 Subject: [PATCH] fix: update requirements (#24) In addition to updating the requirements we also removed the pin to the codejail library. We also remove support/testing for python3.8. --- .github/workflows/ci.yml | 2 +- README.rst | 12 +----- requirements/base.txt | 30 ++++++--------- requirements/constraints.txt | 1 - requirements/dev.txt | 73 +++++++++++++----------------------- requirements/pip-tools.txt | 19 +++------- requirements/pip.txt | 8 ++-- 7 files changed, 50 insertions(+), 95 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb4718d..0724cd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11", "3.12"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index 56649cb..fa2df99 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ Codejail service -=============== +================ |ci-badge| |license-badge| @@ -52,16 +52,6 @@ Run service Enjoy the service! -Compatibility -------------- - -+-------------------+----------------+ -| Open edX Release | Tutor Version | -+===================+================+ -| Lilac | >= 12.x | -+-------------------+----------------+ -| Maple | >= 13.x | -+-------------------+----------------+ How to Contribute ----------------- diff --git a/requirements/base.txt b/requirements/base.txt index eb6d07a..33e5409 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,42 +1,36 @@ # -# 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 # -blinker==1.7.0 +blinker==1.8.2 # via flask -certifi==2024.2.2 +certifi==2024.8.30 # via requests -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via requests click==8.1.7 # via flask -edx-codejail==3.2.0 - # via - # -c requirements/constraints.txt - # -r requirements/base.in +edx-codejail==3.5.1 + # via -r requirements/base.in flask==3.0.3 # via -r requirements/base.in -idna==3.7 +idna==3.10 # via requests -importlib-metadata==7.1.0 - # via flask itsdangerous==2.2.0 # via flask -jinja2==3.1.3 +jinja2==3.1.4 # via flask -markupsafe==2.1.5 +markupsafe==3.0.2 # via # jinja2 # werkzeug -requests==2.31.0 +requests==2.32.3 # via -r requirements/base.in six==1.16.0 # via edx-codejail -urllib3==2.2.1 +urllib3==2.2.3 # via requests -werkzeug==3.0.2 +werkzeug==3.0.4 # via flask -zipp==3.18.1 - # via importlib-metadata diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 95378c0..52ac6d0 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -7,4 +7,3 @@ # link to other information that will help people in the future to remove the # pin when possible. Writing an issue against the offending project and # linking to it here is good. -edx-codejail==3.2.0 diff --git a/requirements/dev.txt b/requirements/dev.txt index 2948a71..c23abde 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,20 +1,20 @@ # -# 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 # -astroid==3.1.0 +astroid==3.3.5 # via pylint -blinker==1.7.0 +blinker==1.8.2 # via # -r requirements/base.txt # flask -certifi==2024.2.2 +certifi==2024.8.30 # via # -r requirements/base.txt # requests -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 # via # -r requirements/base.txt # requests @@ -22,26 +22,18 @@ click==8.1.7 # via # -r requirements/base.txt # flask -coverage==7.5.0 +coverage==7.6.4 # via -r requirements/dev.in -dill==0.3.8 +dill==0.3.9 # via pylint -edx-codejail==3.2.0 - # via - # -c requirements/constraints.txt - # -r requirements/base.txt -exceptiongroup==1.2.1 - # via pytest +edx-codejail==3.5.1 + # via -r requirements/base.txt flask==3.0.3 # via -r requirements/base.txt -idna==3.7 +idna==3.10 # via # -r requirements/base.txt # requests -importlib-metadata==7.1.0 - # via - # -r requirements/base.txt - # flask iniconfig==2.0.0 # via pytest isort==5.13.2 @@ -52,40 +44,40 @@ itsdangerous==2.2.0 # flask jedi==0.19.1 # via pudb -jinja2==3.1.3 +jinja2==3.1.4 # via # -r requirements/base.txt # flask -markupsafe==2.1.5 +markupsafe==3.0.2 # via # -r requirements/base.txt # jinja2 # werkzeug mccabe==0.7.0 # via pylint -packaging==24.0 +packaging==24.1 # via # pudb # pytest parso==0.8.4 # via jedi -platformdirs==4.2.1 +platformdirs==4.3.6 # via pylint pluggy==1.5.0 # via pytest -pudb==2024.1 +pudb==2024.1.3 # via -r requirements/dev.in -pycodestyle==2.11.1 +pycodestyle==2.12.1 # via -r requirements/dev.in pydocstyle==6.3.0 # via -r requirements/dev.in -pygments==2.17.2 +pygments==2.18.0 # via pudb -pylint==3.1.0 +pylint==3.3.1 # via -r requirements/dev.in -pytest==8.1.1 +pytest==8.3.3 # via -r requirements/dev.in -requests==2.31.0 +requests==2.32.3 # via -r requirements/base.txt six==1.16.0 # via @@ -93,34 +85,23 @@ six==1.16.0 # edx-codejail snowballstemmer==2.2.0 # via pydocstyle -tomli==2.0.1 - # via - # pylint - # pytest -tomlkit==0.12.4 +tomlkit==0.13.2 # via pylint -typing-extensions==4.11.0 - # via - # astroid - # pylint - # urwid -urllib3==2.2.1 +typing-extensions==4.12.2 + # via urwid +urllib3==2.2.3 # via # -r requirements/base.txt # requests -urwid==2.6.11 +urwid==2.6.16 # via # pudb # urwid-readline -urwid-readline==0.14 +urwid-readline==0.15.1 # via pudb wcwidth==0.2.13 # via urwid -werkzeug==3.0.2 +werkzeug==3.0.4 # via # -r requirements/base.txt # flask -zipp==3.18.1 - # via - # -r requirements/base.txt - # importlib-metadata diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 1471edd..db6c463 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,32 +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.2.1 +build==1.2.2.post1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==7.1.0 - # via build -packaging==24.0 +packaging==24.1 # via build pip-tools==7.4.1 # via -r requirements/pip-tools.in -pyproject-hooks==1.0.0 - # via - # build - # pip-tools -tomli==2.0.1 +pyproject-hooks==1.2.0 # via # build # pip-tools - # pyproject-hooks -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -zipp==3.18.1 - # 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 e3ffcc7..346a061 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.11 # by the following command: # # make upgrade # -wheel==0.43.0 +wheel==0.44.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.0 +pip==24.2 # via -r requirements/pip.in -setuptools==69.5.1 +setuptools==75.2.0 # via -r requirements/pip.in