Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add python 3.11 support #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Python CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- '**'
- '**'

jobs:
run_tests:
name: Tests
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
Expand Down
10 changes: 5 additions & 5 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ 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
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
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
cachetools==5.3.2
cachetools==5.3.3
# via
# -r requirements/tox.txt
# tox
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions requirements/pip_tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -60,15 +60,15 @@ 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
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:
Expand Down
8 changes: 4 additions & 4 deletions requirements/tox.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# make upgrade
#
cachetools==5.3.2
cachetools==5.3.3
# via tox
chardet==5.2.0
# via tox
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
Expand All @@ -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
2 changes: 1 addition & 1 deletion schoolyourself/schoolyourself_lesson.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


from .schoolyourself import SchoolYourselfXBlock

Expand Down
2 changes: 1 addition & 1 deletion schoolyourself/schoolyourself_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist = testenv

[testenv]
deps =
-rrequirements/test.txt
-rrequirements/test.txt
commands =
pytest schoolyourself
pytest schoolyourself

Loading