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

Drop python 3.8 and add support for python 3.12 #450

Open
wants to merge 2 commits 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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.11, 3.12]
python-version: [3.11, 3.12]
toxenv: [django42, quality, translations]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install Dependencies
run: pip install -r requirements/pip.txt
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Drag and Drop XBlock changelog
Unreleased
---------------------------

* Dropped support for Python 3.8 and added support for Python 3.12.

Version 5.0.0 (2024-12-31)
---------------------------

* Adjust code styling for newer pylint versions.

Version 4.0.3 (2024-05-23)
Expand Down
2 changes: 1 addition & 1 deletion drag_and_drop_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Drag and Drop v2 XBlock """
from .drag_and_drop_v2 import DragAndDropBlock

__version__ = "4.0.3"
__version__ = "5.0.0"
47 changes: 20 additions & 27 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -8,27 +8,23 @@ 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[css]==6.1.0
bleach[css]==6.2.0
# via -r requirements/base.in
boto3==1.34.131
boto3==1.35.90
# via fs-s3fs
botocore==1.34.131
botocore==1.35.90
# via
# boto3
# s3transfer
django==4.2.13
django==4.2.17
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# django-appconf
# django-statici18n
# openedx-django-pyfs
django-appconf==1.0.6
# via django-statici18n
django-statici18n==2.5.0
django-statici18n==2.6.0
# via -r requirements/base.in
fs==2.4.16
# via
Expand All @@ -43,51 +39,48 @@ jmespath==1.0.1
# botocore
lazy==1.6
# via xblock
lxml==5.2.2
lxml==5.3.0
# via xblock
mako==1.3.5
mako==1.3.8
# via xblock
markupsafe==2.1.5
markupsafe==3.0.2
# via
# mako
# xblock
openedx-django-pyfs==3.6.0
openedx-django-pyfs==3.7.0
# via xblock
python-dateutil==2.9.0.post0
# via
# botocore
# xblock
pytz==2024.1
pytz==2024.2
# via xblock
pyyaml==6.0.1
pyyaml==6.0.2
# via xblock
s3transfer==0.10.1
s3transfer==0.10.4
# via boto3
simplejson==3.19.2
simplejson==3.19.3
# via xblock
six==1.16.0
six==1.17.0
# via
# bleach
# fs
# fs-s3fs
# python-dateutil
sqlparse==0.5.0
sqlparse==0.5.3
# via django
tinycss2==1.2.1
tinycss2==1.4.0
# via bleach
typing-extensions==4.12.2
# via asgiref
urllib3==1.26.19
urllib3==2.3.0
# via botocore
web-fragments==2.2.0
# via xblock
webencodings==0.5.1
# via
# bleach
# tinycss2
webob==1.8.7
webob==1.8.9
# via xblock
xblock[django]==4.0.1
xblock[django]==5.1.0
# via -r requirements/base.in

# The following packages are considered to be unsafe in a requirements file:
Expand Down
22 changes: 9 additions & 13 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
#
# 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.3
cachetools==5.5.0
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
distlib==0.3.9
# via virtualenv
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
packaging==24.1
packaging==24.2
# via
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
pluggy==1.5.0
# via tox
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.15.1
tox==4.23.2
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.28.0
# via tox
Loading