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 python311 support #2179

Merged
merged 1 commit into from
Mar 29, 2024
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
python-version: ['3.8', '3.11']
node-version: [16]
toxenv: [quality, js, django32, django42]
toxenv: [quality, js, django42]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion openassessment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Initialization Information for Open Assessment Module
"""

__version__ = '6.5.1'
__version__ = '6.6.0'
11 changes: 8 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ appdirs==1.4.4
# via fs
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
bleach==6.1.0
# via -r requirements/base.in
boto3==1.34.72
Expand All @@ -30,7 +34,7 @@ code-annotations==1.7.0
# via edx-toggles
defusedxml==0.7.1
# via -r requirements/base.in
django==3.2.25
django==4.2.11
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand Down Expand Up @@ -148,7 +152,6 @@ python-swiftclient==3.13.1
pytz==2024.1
# via
# -r requirements/base.in
# django
# djangorestframework
# edx-submissions
# fs
Expand Down Expand Up @@ -201,7 +204,9 @@ webencodings==0.5.1
webob==1.8.7
# via xblock
xblock==1.10.0
# via -r requirements/base.in
# via
# -c requirements/constraints.txt
# -r requirements/base.in

# The following packages are considered to be unsafe in a requirements file:
# setuptools
10 changes: 6 additions & 4 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Version constraints for pip-installation.

# Base dependencies
Django<4.0 # Stay on the latest LTS release of Django
Django<4.3 # Stay on the latest LTS release of Django
fs<=2.0.18 # Constrained by edx-platform
loremipsum<2.0.0

Expand All @@ -14,11 +14,10 @@ idna<2.9.0 # moto version moto==1.3.14 requires idna<2.
fs-s3fs==0.1.8 # Constrained by edx-platform
wrapt==1.11.* # Constrained by astroid
freezegun<=0.3.14 # Test failures on 0.3.15
# Moto 1.3.15 have build issues
moto<1.3.15
# Networkx 2.5 drops support for python 3.5
networkx<2.5

# Moto latest version has breaking changes. Needs the tests to be fixed.
moto<5.0
# path 13.2.0 drops support for Python 3.5
path<13.2.0

Expand All @@ -34,3 +33,6 @@ django-simple-history<=3.1.1

# xblock==1.10.0 upgrade causes test failures which need to be fixed separately
xblock==1.10.0

# backports.zoneinfo is only needed for Python < 3.9
backports.zoneinfo; python_version<'3.9'
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
build==1.1.1
build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
Expand Down
Loading
Loading