Skip to content

Commit

Permalink
perf: sumac release support (#70)
Browse files Browse the repository at this point in the history
* chore: upgrade requirements

* docs: add sumac release in compatibility notes table

* chore: bump version to 7.1.0

* docs: update changelog

* chore: tutor_version integration test

* refactor: remove the tests for Python 3.8

* docs: update changelog

* chore: remove py38

* chore: update current_version

* chore: update setup.py

* chore: remove backports.zoneinfo constraint

* docs: update Quince compatibility table
  • Loading branch information
luisfelipec95 authored Dec 26, 2024
1 parent 73a37cf commit f0a426b
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 92 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tutor_version: ['<18.0.0', '<19.0.0', 'main']
tutor_version: ['<19.0.0', '<20.0.0', 'main']
steps:
- name: Run Integration Tests
uses: eduNEXT/integration-test-in-tutor@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.11"]
django: ["42"]
steps:
- name: Checkout
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v8.0.0](https://github.com/eduNEXT/eox-hooks/compare/v7.0.0...v8.0.0) - (2024-12-13)

### Changed

- **Sumac Support**: Removed support for Python 3.8. Upgrade requirements base on edx-platform Sumac
release update GitHub workflows and actions version, and update integration test to use new Sumac release with Tutor.

## [v7.0.0](https://github.com/eduNEXT/eox-hooks/compare/v6.3.0...v7.0.0) - (2024-11-20)

#### ⚠ BREAKING CHANGES
Expand Down
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ Compatibility Notes
+---------------------+----------------+
| Palm | >= 5.0 < 7.0 |
+---------------------+----------------+
| Quince | >= 6.0 |
| Quince | >= 6.0 < 8.0 |
+---------------------+----------------+
| Redwood | >= 6.3.0 |
+---------------------+----------------+
| Sumac | >= 8.0.0 |
+---------------------+----------------+

The plugin is configured for the latest release (Quince). The following changes in the plugin settings should be applied to be used for previous releases.
The plugin is configured for the latest release (Sumac). The following changes in the plugin settings should be applied to be used for previous releases.
Those settings can be changed in ``eox_hooks/settings/common.py`` or, for example, in the instance configurations.


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

import django.dispatch

__version__ = '7.0.0'
__version__ = '8.0.0'


dummy_signal = django.dispatch.Signal()
40 changes: 15 additions & 25 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,15 +8,8 @@ amqp==5.3.1
# via kombu
asgiref==3.8.1
# via django
attrs==24.2.0
attrs==24.3.0
# via openedx-events
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# celery
# django
# djangorestframework
# kombu
billiard==4.2.1
# via celery
celery==5.4.0
Expand All @@ -38,7 +31,7 @@ click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
django==4.2.16
django==4.2.17
# via
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/base.in
Expand All @@ -55,30 +48,30 @@ django-waffle==4.2.0
# via edx-django-utils
djangorestframework==3.15.2
# via -r requirements/base.in
dnspython==2.6.1
dnspython==2.7.0
# via pymongo
edx-ccx-keys==1.3.0
edx-ccx-keys==2.0.2
# via openedx-events
edx-django-utils==7.0.0
edx-django-utils==7.1.0
# via openedx-events
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.in
# edx-ccx-keys
# openedx-events
fastavro==1.9.7
fastavro==1.10.0
# via openedx-events
kombu==5.4.2
# via celery
newrelic==10.2.0
newrelic==10.4.0
# via edx-django-utils
openedx-events==9.14.1
openedx-events==9.15.0
# via -r requirements/base.in
pbr==6.1.0
# via stevedore
prompt-toolkit==3.0.48
# via click-repl
psutil==6.1.0
psutil==6.1.1
# via edx-django-utils
pycparser==2.22
# via cffi
Expand All @@ -88,25 +81,22 @@ pynacl==1.5.0
# via edx-django-utils
python-dateutil==2.9.0.post0
# via celery
six==1.16.0
six==1.17.0
# via
# edx-ccx-keys
# python-dateutil
sqlparse==0.5.2
sqlparse==0.5.3
# via django
stevedore==5.3.0
stevedore==5.4.0
# via
# edx-django-utils
# edx-opaque-keys
typing-extensions==4.12.2
# via
# asgiref
# edx-opaque-keys
# kombu
# via edx-opaque-keys
tzdata==2024.2
# via
# backports-zoneinfo
# celery
# kombu
vine==5.1.0
# via
# amqp
Expand Down
3 changes: 0 additions & 3 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@
# the next major release, ensure the installed version is within boundaries.
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35280
celery>=5.2.2,<6.0.0

# backports.zoneinfo is only needed for Python < 3.9
backports.zoneinfo; python_version<'3.9'
2 changes: 1 addition & 1 deletion requirements/django42.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
django==4.2.16
django==4.2.17
12 changes: 2 additions & 10 deletions requirements/pip-tools.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,8 +8,6 @@ build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==8.5.0
# via build
packaging==24.2
# via build
pip-tools==7.4.1
Expand All @@ -18,14 +16,8 @@ pyproject-hooks==1.2.0
# via
# build
# pip-tools
tomli==2.1.0
# via
# build
# pip-tools
wheel==0.45.0
wheel==0.45.1
# via pip-tools
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
54 changes: 18 additions & 36 deletions requirements/test.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 @@ -12,20 +12,12 @@ asgiref==3.8.1
# via
# -r requirements/base.txt
# django
astroid==3.2.4
astroid==3.3.6
# via pylint
attrs==24.2.0
attrs==24.3.0
# via
# -r requirements/base.txt
# openedx-events
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# celery
# django
# djangorestframework
# kombu
billiard==4.2.1
# via
# -r requirements/base.txt
Expand All @@ -34,7 +26,7 @@ celery==5.4.0
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
certifi==2024.8.30
certifi==2024.12.14
# via requests
cffi==1.17.1
# via
Expand Down Expand Up @@ -62,7 +54,7 @@ click-repl==0.3.0
# via
# -r requirements/base.txt
# celery
coverage==7.6.1
coverage==7.6.9
# via -r requirements/test.in
dill==0.3.9
# via pylint
Expand All @@ -84,15 +76,15 @@ django-waffle==4.2.0
# edx-django-utils
djangorestframework==3.15.2
# via -r requirements/base.txt
dnspython==2.6.1
dnspython==2.7.0
# via
# -r requirements/base.txt
# pymongo
edx-ccx-keys==1.3.0
edx-ccx-keys==2.0.2
# via
# -r requirements/base.txt
# openedx-events
edx-django-utils==7.0.0
edx-django-utils==7.1.0
# via
# -r requirements/base.txt
# openedx-events
Expand All @@ -101,9 +93,7 @@ edx-opaque-keys[django]==2.11.0
# -r requirements/base.txt
# edx-ccx-keys
# openedx-events
exceptiongroup==1.2.2
# via pytest
fastavro==1.9.7
fastavro==1.10.0
# via
# -r requirements/base.txt
# openedx-events
Expand All @@ -121,11 +111,11 @@ mccabe==0.7.0
# via pylint
mock==5.1.0
# via -r requirements/test.in
newrelic==10.2.0
newrelic==10.4.0
# via
# -r requirements/base.txt
# edx-django-utils
openedx-events==9.14.1
openedx-events==9.15.0
# via -r requirements/base.txt
packaging==24.2
# via pytest
Expand All @@ -141,7 +131,7 @@ prompt-toolkit==3.0.48
# via
# -r requirements/base.txt
# click-repl
psutil==6.1.0
psutil==6.1.1
# via
# -r requirements/base.txt
# edx-django-utils
Expand All @@ -151,7 +141,7 @@ pycparser==2.22
# via
# -r requirements/base.txt
# cffi
pylint==3.2.7
pylint==3.3.2
# via -r requirements/test.in
pymongo==4.10.1
# via
Expand All @@ -161,7 +151,7 @@ pynacl==1.5.0
# via
# -r requirements/base.txt
# edx-django-utils
pytest==8.3.3
pytest==8.3.4
# via
# -r requirements/test.in
# pytest-django
Expand All @@ -175,41 +165,33 @@ pyyaml==6.0.2
# via -r requirements/test.in
requests==2.32.3
# via -r requirements/test.in
six==1.16.0
six==1.17.0
# via
# -r requirements/base.txt
# edx-ccx-keys
# python-dateutil
sqlparse==0.5.2
sqlparse==0.5.3
# via
# -r requirements/base.txt
# django
stevedore==5.3.0
stevedore==5.4.0
# via
# -r requirements/base.txt
# edx-django-utils
# edx-opaque-keys
testfixtures==8.3.0
# via -r requirements/test.in
tomli==2.1.0
# via
# pylint
# pytest
tomlkit==0.13.2
# via pylint
typing-extensions==4.12.2
# via
# -r requirements/base.txt
# asgiref
# astroid
# edx-opaque-keys
# kombu
# pylint
tzdata==2024.2
# via
# -r requirements/base.txt
# backports-zoneinfo
# celery
# kombu
urllib3==2.2.3
# via requests
vine==5.1.0
Expand Down
10 changes: 2 additions & 8 deletions requirements/tox.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 Down Expand Up @@ -28,13 +28,7 @@ pluggy==1.5.0
# via tox
pyproject-api==1.8.0
# via tox
tomli==2.1.0
# via
# pyproject-api
# tox
tox==4.23.2
# via -r requirements/tox.in
typing-extensions==4.12.2
# via tox
virtualenv==20.27.1
virtualenv==20.28.0
# via tox
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 7.0.0
current_version = 8.0.0
commit = False
tag = False

Expand Down
Loading

0 comments on commit f0a426b

Please sign in to comment.