Skip to content

Commit 49c26c1

Browse files
perf: teak release support (#319)
* chore: update requirements * chore: update plugin version * docs: update changelog and compatibility notes * chore: remove support for python 3.8 * chore: update tutor version plugin * chore: update git-auto-commit-action version * chore: update python version in bumpversion
1 parent 0cdbd4e commit 49c26c1

File tree

19 files changed

+172
-218
lines changed

19 files changed

+172
-218
lines changed

.github/workflows/bump_version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
default_bump: false
2323
default_prerelease_bump: false
2424
dry_run: true
25-
- name: Set up Python 3.8
25+
- name: Set up Python 3.11
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: "3.8"
28+
python-version: "3.11"
2929
- name: Create bumpversion
3030
if: steps.tag_version.outputs.new_version
3131
run: |
@@ -40,7 +40,7 @@ jobs:
4040
- name: Commit bumpversion
4141
id: bumpversion
4242
if: steps.tag_version.outputs.new_version
43-
uses: stefanzweifel/git-auto-commit-action@v5
43+
uses: stefanzweifel/git-auto-commit-action@v6
4444
with:
4545
branch: ${{ github.ref }}
4646
commit_message: "docs(bumpversion): ${{ steps.tag_version.outputs.previous_tag }} → ${{ steps.tag_version.outputs.new_version }}"

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: '3.10'
28+
python-version: '3.11'
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
max-parallel: 2
1313
matrix:
14-
python-version: ["3.8", "3.11"]
14+
python-version: ["3.11"]
1515
django: ["42"]
1616
steps:
1717
- name: Checkout

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ Please do not update the unreleased notes.
1111

1212
<!-- Content should be placed here -->
1313

14+
## [v12.0.0](https://github.com/eduNEXT/eox-core/compare/v11.3.0...v12.0.0) - (2025-06-09)
15+
16+
#### ⚠ BREAKING CHANGES
17+
18+
- **Dropped Support for Python 3.8**: Removed support for Python 3.8 in this plugin
19+
20+
### Changed
21+
22+
- **Teak Support**: Upgrade requirements base on edx-platform Teak
23+
1424
## [v11.3.0](https://github.com/eduNEXT/eox-core/compare/v11.2.0...v11.3.0) - (2025-03-02)
1525

1626
### Added

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ Compatibility Notes
6969
+------------------+---------------+
7070
| Palm | >= 9.0 < 11.0 |
7171
+------------------+---------------+
72-
| Quince | >= 10.0 |
72+
| Quince | >= 10.0 < 12.0|
7373
+------------------+---------------+
7474
| Redwood | >= 10.5.1 |
7575
+------------------+---------------+
7676
| Sumac | >= 11.1.0 |
7777
+------------------+---------------+
78+
| Teak | >= 12.0.0 |
79+
+------------------+---------------+
7880

79-
⚠️ The Maple version does not support Django 2.2 but it does support Django 3.2 as of eox-core 7.0.
80-
81-
The plugin is configured for the latest release (Redwood). The following changes in the plugin settings should be applied in order to be used for previous releases.
81+
The plugin is configured for the latest release (Teak). The following changes in the plugin settings should be applied in order to be used for previous releases.
8282

8383
**Maple**
8484

eox_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Init for main eox-core app
33
"""
4-
__version__ = '11.3.0'
4+
__version__ = '12.0.0'

eox_core/api/v1/tests/unit/test_grades.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def setUp(self):
3232
@patch("eox_core.api.v1.views.get_enrollment")
3333
@patch("eox_core.api.v1.views.get_edxapp_user")
3434
@patch_permissions
35-
def test_get_grade_no_detail_no_policy( # pylint: disable=too-many-arguments
35+
def test_get_grade_no_detail_no_policy( # pylint: disable=too-many-arguments, too-many-positional-arguments
3636
self,
3737
_,
3838
get_edxapp_user,
@@ -63,7 +63,7 @@ def test_get_grade_no_detail_no_policy( # pylint: disable=too-many-arguments
6363
@patch("eox_core.api.v1.views.get_enrollment")
6464
@patch("eox_core.api.v1.views.get_edxapp_user")
6565
@patch_permissions
66-
def test_get_grade_detail_no_policy( # pylint: disable=too-many-arguments
66+
def test_get_grade_detail_no_policy( # pylint: disable=too-many-arguments, too-many-positional-arguments
6767
self,
6868
_,
6969
get_edxapp_user,
@@ -96,7 +96,7 @@ def test_get_grade_detail_no_policy( # pylint: disable=too-many-arguments
9696
@patch("eox_core.api.v1.views.get_enrollment")
9797
@patch("eox_core.api.v1.views.get_edxapp_user")
9898
@patch_permissions
99-
def test_get_grade_detail_policy( # pylint: disable=too-many-arguments
99+
def test_get_grade_detail_policy( # pylint: disable=too-many-arguments, too-many-positional-arguments
100100
self,
101101
_,
102102
get_edxapp_user,

eox_core/edxapp_wrapper/backends/users_l_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class EdnxAccountCreationForm(AccountCreationForm):
113113
This form it's currently only used for validation, not rendering.
114114
"""
115115

116-
def __init__( # pylint:disable=too-many-arguments
116+
def __init__( # pylint:disable=too-many-arguments, too-many-positional-arguments
117117
self,
118118
data=None,
119119
extra_fields=None,

eox_core/edxapp_wrapper/backends/users_q_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class EdnxAccountCreationForm(AccountCreationForm):
114114
This form it's currently only used for validation, not rendering.
115115
"""
116116

117-
def __init__( # pylint:disable=too-many-arguments
117+
def __init__( # pylint:disable=too-many-arguments, too-many-positional-arguments
118118
self,
119119
data=None,
120120
extra_fields=None,

requirements/base.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ django-oauth2-provider
1010
django-waffle
1111
edx-api-doc-tools
1212
edx-proctoring>=2.0.1
13-
edx-opaque-keys[django]<3.0.0
1413
openedx-events
1514
django
1615
click

0 commit comments

Comments
 (0)