Skip to content

Commit

Permalink
perf: sumac release support (#36)
Browse files Browse the repository at this point in the history
* chore: add py311 support

* chore: upgrade requirements

* docs: update readme

* chore: update workflows actions

* chore: upgrade plugin version

* chore: add py311 support

* fix: edx_lint constraint

* chore: version

* docs: update compatibility notes

* fix: constraint djangorestframework==3.15.1

* chore: changelog
  • Loading branch information
luisfelipec95 authored Jan 17, 2025
1 parent db9a913 commit 8423e1a
Show file tree
Hide file tree
Showing 18 changed files with 494 additions and 355 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, django32, django40]
python-version: ['3.8', '3.11']
toxenv: [quality, docs, django32, django42]
exclude:
- python-version: '3.11'
toxenv: django32

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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ sphinx:
configuration: docs/conf.py

python:
version: 3.8
version: 3.11
install:
- requirements: requirements/doc.txt
17 changes: 17 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ Unreleased
**********


1.1.0 - 2025-01-17
**********************************************

Added
=====

* Support for Python 3.11


1.0.0 - 2024-01-29
**********************************************

Changed
=======

* Remove boto3 from requirements

0.9.0 - 2023-10-06
**********************************************

Expand Down
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ Compatibility Notes
+------------------+--------------+
| Redwood | >= 0.8.0 |
+------------------+--------------+
| Sumac | >= 1.1.0 |
+------------------+--------------+

The settings can be changed in ``mindmap/settings/common.py`` or, for example, in tutor configurations.

**NOTE**: the current ``common.py`` works with Open edX Palm, Quince and Redwood version.
**NOTE**: the current ``common.py`` works with Open edX Palm, Quince, Redwood and Sumac versions.


Enabling the XBlock in a course
Expand Down Expand Up @@ -112,7 +114,7 @@ You can see the Mind Map in action in the XBlock Workbench. Running the Workbenc
git clone [email protected]:eduNEXT/xblock-mindmap
cd xblock-mindmap
virtualenv -p python3.8 venv && source venv/bin/activate
virtualenv -p python3.x venv && source venv/bin/activate
make upgrade
make install
make dev.run
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def get_version(*file_paths):

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'python': ('https://docs.python.org/3.8', None),
'python': ('https://docs.python.org/3.11', None),
}


Expand Down
2 changes: 1 addition & 1 deletion mindmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .mindmap import MindMapXBlock

__version__ = '0.9.0'
__version__ = '1.1.0'
69 changes: 40 additions & 29 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,43 @@
#
appdirs==1.4.4
# via fs
asgiref==3.7.2
asgiref==3.8.1
# via django
boto3==1.28.62
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# django
# djangorestframework
boto3==1.36.0
# via fs-s3fs
botocore==1.31.62
botocore==1.36.0
# via
# boto3
# s3transfer
django==3.2.22
django==4.2.18
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# django-appconf
# django-model-utils
# django-statici18n
# djangorestframework
# edx-django-release-util
# edx-i18n-tools
# edx-submissions
# jsonfield
# openedx-django-pyfs
django-appconf==1.0.5
django-appconf==1.0.6
# via django-statici18n
django-model-utils==4.3.1
django-model-utils==5.0.0
# via edx-submissions
django-statici18n==2.4.0
django-statici18n==2.6.0
# via -r requirements/base.in
djangorestframework==3.14.0
djangorestframework==3.15.1
# via edx-submissions
edx-django-release-util==1.4.0
# via edx-submissions
edx-i18n-tools==1.3.0
edx-i18n-tools==1.6.3
# via -r requirements/base.in
edx-submissions==3.6.0
edx-submissions==3.8.4
# via -r requirements/base.in
fs==2.4.16
# via
Expand All @@ -52,65 +59,69 @@ jsonfield==3.1.0
# via edx-submissions
lazy==1.6
# via xblock
lxml==4.9.3
lxml[html-clean,html_clean]==5.3.0
# via
# edx-i18n-tools
# lxml-html-clean
# xblock
mako==1.2.4
lxml-html-clean==0.4.1
# via lxml
mako==1.3.8
# via
# -r requirements/base.in
# xblock
# xblock-utils
markupsafe==2.1.3
markupsafe==2.1.5
# via
# mako
# xblock
openedx-django-pyfs==3.4.0
openedx-django-pyfs==3.7.0
# via xblock
path==16.7.1
path==16.16.0
# via edx-i18n-tools
polib==1.2.0
# via edx-i18n-tools
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# botocore
# xblock
pytz==2023.3.post1
pytz==2024.2
# via
# django
# djangorestframework
# edx-submissions
# xblock
pyyaml==6.0.1
pyyaml==6.0.2
# via
# edx-django-release-util
# edx-i18n-tools
# xblock
s3transfer==0.7.0
s3transfer==0.11.0
# via boto3
simplejson==3.19.2
simplejson==3.19.3
# via
# xblock
# xblock-utils
six==1.16.0
six==1.17.0
# via
# edx-django-release-util
# fs
# fs-s3fs
# python-dateutil
sqlparse==0.4.4
sqlparse==0.5.3
# via django
typing-extensions==4.8.0
typing-extensions==4.12.2
# via asgiref
urllib3==1.26.17
urllib3==1.26.20
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -c requirements/constraints.txt
# botocore
web-fragments==2.1.0
web-fragments==2.2.0
# via
# xblock
# xblock-utils
webob==1.8.7
webob==1.8.9
# via xblock
xblock[django]==1.8.1
xblock[django]==5.1.0
# via
# -r requirements/base.in
# xblock-utils
Expand Down
Loading

0 comments on commit 8423e1a

Please sign in to comment.