From 90684bfd7d1701e83b9383e73793f12245907541 Mon Sep 17 00:00:00 2001 From: edX requirements bot Date: Fri, 23 Feb 2024 07:37:38 -0500 Subject: [PATCH] feat: Adding python3.11 support. --- .github/workflows/ci.yml | 10 +++++----- requirements/base.txt | 10 +++++----- requirements/ci.txt | 8 ++++---- requirements/pip.txt | 4 ++-- requirements/pip_tools.txt | 12 ++++++------ requirements/test.txt | 14 +++++++------- requirements/tox.txt | 8 ++++---- schoolyourself/schoolyourself_lesson.py | 2 +- schoolyourself/schoolyourself_review.py | 2 +- setup.py | 2 +- tox.ini | 4 ++-- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bea2e5c..8fb71a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: Python CI on: push: branches: - - master + - master pull_request: branches: - - '**' + - '**' jobs: run_tests: @@ -14,9 +14,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04 ] - python-version: [ 3.8 ] - toxenv: [ testenv ] + os: [ubuntu-20.04] + python-version: ['3.8', '3.11'] + toxenv: [testenv] steps: - name: Checkout Repo uses: actions/checkout@v2 diff --git a/requirements/base.txt b/requirements/base.txt index 4784e26..122cb75 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -8,9 +8,9 @@ appdirs==1.4.4 # via fs fs==2.4.16 # via xblock -lxml==5.1.0 +lxml==5.2.1 # via xblock -mako==1.3.2 +mako==1.3.3 # via # -r requirements/base.in # xblock @@ -18,7 +18,7 @@ markupsafe==2.1.5 # via # mako # xblock -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via xblock pytz==2024.1 # via xblock @@ -30,11 +30,11 @@ six==1.16.0 # via # fs # python-dateutil -web-fragments==2.1.0 +web-fragments==2.2.0 # via xblock webob==1.8.7 # via xblock -xblock==1.10.0 +xblock==3.1.0 # via -r requirements/base.in # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/ci.txt b/requirements/ci.txt index 3645cce..73a1fc5 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -4,7 +4,7 @@ # # make upgrade # -cachetools==5.3.2 +cachetools==5.3.3 # via # -r requirements/tox.txt # tox @@ -20,12 +20,12 @@ distlib==0.3.8 # via # -r requirements/tox.txt # virtualenv -filelock==3.13.1 +filelock==3.13.4 # via # -r requirements/tox.txt # tox # virtualenv -packaging==23.2 +packaging==24.0 # via # -r requirements/tox.txt # pyproject-api @@ -48,7 +48,7 @@ tomli==2.0.1 # -r requirements/tox.txt # pyproject-api # tox -tox==4.13.0 +tox==4.14.2 # via -r requirements/tox.txt virtualenv==20.25.1 # via diff --git a/requirements/pip.txt b/requirements/pip.txt index 6665603..e3ffcc7 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -4,11 +4,11 @@ # # make upgrade # -wheel==0.42.0 +wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: pip==24.0 # via -r requirements/pip.in -setuptools==69.1.1 +setuptools==69.5.1 # via -r requirements/pip.in diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index fb84d10..6659ecd 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -4,15 +4,15 @@ # # 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 +importlib-metadata==7.1.0 # via build -packaging==23.2 +packaging==24.0 # via build -pip-tools==7.4.0 +pip-tools==7.4.1 # via -r requirements/pip_tools.in pyproject-hooks==1.0.0 # via @@ -23,9 +23,9 @@ tomli==2.0.1 # build # pip-tools # pyproject-hooks -wheel==0.42.0 +wheel==0.43.0 # via pip-tools -zipp==3.17.0 +zipp==3.18.1 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/test.txt b/requirements/test.txt index b6b207d..f1c7b74 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,11 +16,11 @@ fs==2.4.16 # xblock iniconfig==2.0.0 # via pytest -lxml==5.1.0 +lxml==5.2.1 # via # -r requirements/base.txt # xblock -mako==1.3.2 +mako==1.3.3 # via # -r requirements/base.txt # xblock @@ -31,13 +31,13 @@ markupsafe==2.1.5 # xblock mock==5.1.0 # via -r requirements/test.in -packaging==23.2 +packaging==24.0 # via pytest pluggy==1.4.0 # via pytest -pytest==8.0.2 +pytest==8.1.1 # via -r requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # -r requirements/base.txt # xblock @@ -60,7 +60,7 @@ six==1.16.0 # python-dateutil tomli==2.0.1 # via pytest -web-fragments==2.1.0 +web-fragments==2.2.0 # via # -r requirements/base.txt # xblock @@ -68,7 +68,7 @@ webob==1.8.7 # via # -r requirements/base.txt # xblock -xblock==1.10.0 +xblock==3.1.0 # via -r requirements/base.txt # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/tox.txt b/requirements/tox.txt index 9a12d68..246985f 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -4,7 +4,7 @@ # # make upgrade # -cachetools==5.3.2 +cachetools==5.3.3 # via tox chardet==5.2.0 # via tox @@ -12,11 +12,11 @@ colorama==0.4.6 # via tox distlib==0.3.8 # via virtualenv -filelock==3.13.1 +filelock==3.13.4 # via # tox # virtualenv -packaging==23.2 +packaging==24.0 # via # pyproject-api # tox @@ -32,7 +32,7 @@ tomli==2.0.1 # via # pyproject-api # tox -tox==4.13.0 +tox==4.14.2 # via -r requirements/tox.in virtualenv==20.25.1 # via tox diff --git a/schoolyourself/schoolyourself_lesson.py b/schoolyourself/schoolyourself_lesson.py index 284033a..01a85ce 100644 --- a/schoolyourself/schoolyourself_lesson.py +++ b/schoolyourself/schoolyourself_lesson.py @@ -3,7 +3,7 @@ import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error from xblock.core import XBlock -from xblock.fragment import Fragment +from web_fragments.fragment import Fragment from .schoolyourself import SchoolYourselfXBlock diff --git a/schoolyourself/schoolyourself_review.py b/schoolyourself/schoolyourself_review.py index 06cdb22..14fcb9e 100644 --- a/schoolyourself/schoolyourself_review.py +++ b/schoolyourself/schoolyourself_review.py @@ -7,7 +7,7 @@ from xblock.core import XBlock from xblock.fields import Scope, String -from xblock.fragment import Fragment +from web_fragments.fragment import Fragment from .schoolyourself import SchoolYourselfXBlock diff --git a/setup.py b/setup.py index 94ee807..9699d7e 100644 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ def package_data(pkg, roots): setup( name="schoolyourself-xblock", - version="0.2", + version="0.3", description="School Yourself lesson player", packages=[ "schoolyourself", diff --git a/tox.ini b/tox.ini index 6d1aac8..23b2109 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = testenv [testenv] deps = - -rrequirements/test.txt + -rrequirements/test.txt commands = - pytest schoolyourself + pytest schoolyourself