Skip to content

Commit

Permalink
perf: redwood release support DS-1010 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV authored Jul 8, 2024
1 parent 1176b68 commit 623b6d9
Show file tree
Hide file tree
Showing 20 changed files with 286 additions and 177 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add_issues_prs_to_dedalo_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Add to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.1
with:
project-url: https://github.com/orgs/eduNEXT/projects/1
github-token: ${{ secrets.DEDALO_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
- uses: wagoid/commitlint-github-action@v6
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tutor_version: ["<17.0.0", "<18.0.0"]
tutor_version: ["<17.0.0", "<18.0.0", "<19.0.0"]
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_issue_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Auto-assign PR-Issue'
uses: pozil/auto-assign-issue@v1.13.0
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.DEDALO_PAT }}
teams: django-plugins-teco
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Please do not update the unreleased notes.

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

## [v10.5.0](https://github.com/eduNEXT/eox-core/compare/v10.4.0...v10.5.0) - (2024-07-08)

### Added

- **Integration Tests**: A new GitHub workflow has been added to run
integration tests. These tests validate backend imports and ensure
the `/eox-info` endpoint functions correctly.

### Changed

- **Redwood Support**: Upgrade requirements base on edx-platform redwood
release, update GitHub workflows with new actions version, and update
integration test to use new Redwood release with Tutor.

## [v10.4.0](https://github.com/eduNEXT/eox-core/compare/v10.3.0...v10.4.0) - 2024-05-24

### [10.4.0](https://github.com/eduNEXT/eox-core/compare/v10.3.0...v10.4.0) (2024-05-24)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
$(PIP_COMPILE) -o requirements/test.txt requirements/test.in
$(PIP_COMPILE) -o requirements/tox.txt requirements/tox.in

grep -e "^django==" requirements/test.txt > requirements/django.txt
grep -e "^django==" requirements/test.txt > requirements/django42.txt
sed '/^[dD]jango==/d;' requirements/test.txt > requirements/test.tmp
mv requirements/test.tmp requirements/test.txt
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Compatibility Notes
+------------------+--------------+
| Quince | >= 10.0 |
+------------------+--------------+
| Redwood | >= 10.5.0 |
+------------------+--------------+

**NOTE**: The Maple version does not support Django 2.2 but it does support Django 3.2 as of eox-core 7.0.

Expand Down Expand Up @@ -92,7 +94,7 @@ not listed, then the accumulation of changes from previous releases is enough.
These settings can be changed in ``eox_core/settings/common.py`` or, for example, in ansible configurations.

**NOTE**: the current ``common.py`` works with Open edX Nutmeg version.
**NOTE**: the current ``common.py`` works with Open edX Redwood version.


Dependency Management
Expand Down
2 changes: 1 addition & 1 deletion eox_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Init for main eox-core app
"""
__version__ = '10.4.0'
__version__ = '10.5.0'
15 changes: 9 additions & 6 deletions eox_core/api/data/v1/routers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
TODO: add me
Routers for the API views.
"""

from rest_framework import routers

from .viewsets import (
Expand All @@ -12,9 +13,11 @@
)

ROUTER = routers.DefaultRouter()
ROUTER.register(r'users', UsersViewSet)
ROUTER.register(r'course-enrollments', CourseEnrollmentViewset)
ROUTER.register(r'certificates', CertificateViewSet, basename='generated_certificate')
ROUTER.register(r'proctored-exams-attempts', ProctoredExamStudentViewSet)
ROUTER.register(r"users", UsersViewSet, basename="users")
ROUTER.register(r"course-enrollments", CourseEnrollmentViewset, basename="course-enrollments")
ROUTER.register(r"certificates", CertificateViewSet, basename="generated_certificate")
ROUTER.register(r"proctored-exams-attempts", ProctoredExamStudentViewSet, basename="proctored_exams_attempts")
# Async operations
ROUTER.register(r'async/course-enrollments-grades', CourseEnrollmentWithGradesViewset)
ROUTER.register(
r"async/course-enrollments-grades", CourseEnrollmentWithGradesViewset, basename="async_course-enrollments-grades"
)
Loading

0 comments on commit 623b6d9

Please sign in to comment.