Skip to content

Commit bf27bf1

Browse files
authored
Merge pull request #57 from eduNEXT/jipm/support-py312
chore: add support for Python 3.12 and Django 5.2
2 parents 7120833 + ec3fa7c commit bf27bf1

19 files changed

Lines changed: 154 additions & 132 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
toxenv: [django42]
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- name: setup python
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Unreleased
1414

1515
*
1616

17+
2.2.0 - 2025-10-14
18+
**********************************************
19+
20+
Changed
21+
=======
22+
23+
* **Ulmo Support**: Upgrade requirements base on edx-platform Ulmo release, update GitHub Workflows with new actions version.
24+
1725
2.1.0 - 2025-06-22
1826
**********************************************
1927

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ upgrade: ## update the pip requirements files to use the latest releases satisfy
4646
pip-compile --rebuild --upgrade -o requirements/ci.txt requirements/ci.in
4747
pip-compile --rebuild --upgrade -o requirements/dev.txt requirements/dev.in
4848

49+
grep -e "^django==" requirements/test.txt > requirements/django52.txt
50+
sed '/^[dD]jango==/d;' requirements/test.txt > requirements/test.tmp
51+
mv requirements/test.tmp requirements/test.txt
52+
4953
test-python: clean ## Run test suite.
5054
$(TOX) pip install -r requirements/base.txt --exists-action w
5155
$(TOX) coverage run --source="." -m pytest ./flow_control_xblock

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Compatibility Notes
1919
+------------------+--------------+
2020
| Teak | >= 2.1.0 |
2121
+------------------+--------------+
22+
| Teak | >= 2.2.0 |
23+
+------------------+--------------+
2224

2325
Enabling in Studio
2426
------------------

flow_control/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Init for main Flow-Control XBlock
33
"""
44
from .flow import FlowCheckPointXblock
5-
__version__ = '2.1.0'
5+
__version__ = '2.2.0'

requirements/base.txt

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
#
77
appdirs==1.4.4
88
# via fs
9-
asgiref==3.8.1
9+
asgiref==3.10.0
1010
# via django
11-
boto3==1.38.41
11+
boto3==1.40.51
1212
# via fs-s3fs
13-
botocore==1.38.41
13+
botocore==1.40.51
1414
# via
1515
# boto3
1616
# s3transfer
17-
django==4.2.23
17+
django==5.2.7
1818
# via
19-
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
19+
# -c requirements/constraints.txt
2020
# openedx-django-pyfs
21-
dnspython==2.7.0
21+
dnspython==2.8.0
2222
# via pymongo
2323
edx-opaque-keys[django]==3.0.0
2424
# via -r requirements/base.in
@@ -35,33 +35,31 @@ jmespath==1.0.1
3535
# botocore
3636
lazy==1.6
3737
# via xblock
38-
lxml==5.4.0
38+
lxml==6.0.2
3939
# via xblock
4040
mako==1.3.10
4141
# via
4242
# xblock
4343
# xblock-utils
44-
markupsafe==3.0.2
44+
markupsafe==3.0.3
4545
# via
4646
# mako
4747
# xblock
4848
openedx-django-pyfs==3.8.0
4949
# via xblock
50-
pbr==6.1.1
51-
# via stevedore
52-
pymongo==4.13.2
50+
pymongo==4.15.3
5351
# via edx-opaque-keys
5452
python-dateutil==2.9.0.post0
5553
# via
5654
# botocore
5755
# xblock
5856
pytz==2025.2
5957
# via xblock
60-
pyyaml==6.0.2
58+
pyyaml==6.0.3
6159
# via xblock
62-
s3transfer==0.13.0
60+
s3transfer==0.14.0
6361
# via boto3
64-
simplejson==3.20.1
62+
simplejson==3.20.2
6563
# via
6664
# xblock
6765
# xblock-utils
@@ -72,14 +70,12 @@ six==1.17.0
7270
# python-dateutil
7371
sqlparse==0.5.3
7472
# via django
75-
stevedore==5.4.1
73+
stevedore==5.5.0
7674
# via edx-opaque-keys
77-
typing-extensions==4.14.0
75+
typing-extensions==4.15.0
7876
# via edx-opaque-keys
79-
urllib3==2.2.3
80-
# via
81-
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
82-
# botocore
77+
urllib3==2.5.0
78+
# via botocore
8379
web-fragments==3.1.0
8480
# via
8581
# xblock

requirements/ci.txt

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,72 +6,72 @@
66
#
77
backports-tarfile==1.2.0
88
# via jaraco-context
9-
certifi==2025.6.15
9+
certifi==2025.10.5
1010
# via requests
11-
cffi==1.17.1
11+
cffi==2.0.0
1212
# via cryptography
13-
charset-normalizer==3.4.2
13+
charset-normalizer==3.4.4
1414
# via requests
15-
cryptography==45.0.4
15+
cryptography==46.0.2
1616
# via secretstorage
17-
distlib==0.3.9
17+
distlib==0.4.0
1818
# via virtualenv
19-
docutils==0.21.2
19+
docutils==0.22.2
2020
# via readme-renderer
21-
filelock==3.18.0
21+
filelock==3.20.0
2222
# via
2323
# tox
2424
# virtualenv
2525
id==1.5.0
2626
# via twine
27-
idna==3.10
27+
idna==3.11
2828
# via requests
2929
importlib-metadata==8.7.0
3030
# via keyring
3131
jaraco-classes==3.4.0
3232
# via keyring
3333
jaraco-context==6.0.1
3434
# via keyring
35-
jaraco-functools==4.1.0
35+
jaraco-functools==4.3.0
3636
# via keyring
3737
jeepney==0.9.0
3838
# via
3939
# keyring
4040
# secretstorage
4141
keyring==25.6.0
4242
# via twine
43-
markdown-it-py==3.0.0
43+
markdown-it-py==4.0.0
4444
# via rich
4545
mdurl==0.1.2
4646
# via markdown-it-py
47-
more-itertools==10.7.0
47+
more-itertools==10.8.0
4848
# via
4949
# jaraco-classes
5050
# jaraco-functools
51-
nh3==0.2.21
51+
nh3==0.3.1
5252
# via readme-renderer
5353
packaging==25.0
5454
# via
5555
# pyproject-api
5656
# tox
5757
# twine
58-
platformdirs==4.3.8
58+
platformdirs==4.5.0
5959
# via
6060
# tox
6161
# virtualenv
6262
pluggy==1.6.0
6363
# via tox
6464
py==1.11.0
6565
# via tox
66-
pycparser==2.22
66+
pycparser==2.23
6767
# via cffi
68-
pygments==2.19.1
68+
pygments==2.19.2
6969
# via
7070
# readme-renderer
7171
# rich
7272
readme-renderer==44.0
7373
# via twine
74-
requests==2.32.4
74+
requests==2.32.5
7575
# via
7676
# id
7777
# requests-toolbelt
@@ -80,9 +80,9 @@ requests-toolbelt==1.0.0
8080
# via twine
8181
rfc3986==2.0.0
8282
# via twine
83-
rich==14.0.0
83+
rich==14.2.0
8484
# via twine
85-
secretstorage==3.3.3
85+
secretstorage==3.4.0
8686
# via keyring
8787
six==1.17.0
8888
# via tox
@@ -92,14 +92,13 @@ tox==3.28.0
9292
# tox-battery
9393
tox-battery==0.6.2
9494
# via -r requirements/ci.in
95-
twine==6.1.0
95+
twine==6.2.0
9696
# via -r requirements/ci.in
97-
urllib3==2.2.3
97+
urllib3==2.5.0
9898
# via
99-
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
10099
# requests
101100
# twine
102-
virtualenv==20.31.2
101+
virtualenv==20.35.3
103102
# via tox
104103
zipp==3.23.0
105104
# via importlib-metadata

requirements/constraints.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,16 @@
99
# linking to it here is good.
1010

1111

12-
# Common constraints for edx repos
13-
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
12+
# using LTS django version
13+
Django<6.0
14+
15+
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
16+
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html
17+
# See https://github.com/openedx/edx-platform/issues/35126 for more info
18+
elasticsearch<7.14.0
19+
20+
# NOTE: Pylint 4.x introduces changes in how the "ignore" and "ignore-patterns" options
21+
# are parsed from setup.cfg and other configuration files. This causes Django migration
22+
# modules (e.g., eox_tenant/migrations) to be linted even when explicitly ignored.
23+
# Until we find a stable fix or plugin-based workaround, we keep Pylint pinned below 4.
24+
pylint<4

0 commit comments

Comments
 (0)