diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a2fe25..d189b79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,14 @@ instructions, because git commits are used to generate release notes: + +## v18.0.0 (2024-05-09) + +- [Bugfix] Make plugin compatible with Python 3.12 by removing dependency on `pkg_resources`. (by @regisb) + +- 💥[Feature] Upgrade Python version to 3.12.3. (by @jfavellar90) +- 💥[Feature] Upgrade to Redwood. (by @jfavellar90) + ## v17.0.0 (2023-12-09) diff --git a/README.rst b/README.rst index c9538e6..88efce5 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,9 @@ Students notes plugin for `Tutor `_ =================================================================== -This is a plugin for `Tutor `_ to easily add the `Open edX note-taking app `_ to an Open edX platform. This app allows students to annotate portions of the courseware (see `the official documentation `_). +This is a plugin for `Tutor `_ to easily add the `Open edX note-taking app `_ to an Open edX platform. This app allows students to annotate portions of the courseware (see `the official documentation `_). -.. image:: https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-quince.master/_images/SFD_SN_bodyexample.png +.. image:: https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-redwood.master/_images/SFD_SN_bodyexample.png :alt: Notes in action Installation diff --git a/changelog.d/20240212_115536_regis_pkg_resources.md b/changelog.d/20240212_115536_regis_pkg_resources.md deleted file mode 100644 index 35b6d20..0000000 --- a/changelog.d/20240212_115536_regis_pkg_resources.md +++ /dev/null @@ -1 +0,0 @@ -- [Bugfix] Make plugin compatible with Python 3.12 by removing dependency on `pkg_resources`. (by @regisb) diff --git a/setup.py b/setup.py index 91aa9e8..b5c7b88 100644 --- a/setup.py +++ b/setup.py @@ -32,8 +32,8 @@ packages=find_packages(exclude=["tests*"]), include_package_data=True, python_requires=">=3.8", - install_requires=["tutor>=17.0.0,<18.0.0"], - extras_require={"dev": ["tutor[dev]>=17.0.0,<18.0.0"]}, + install_requires=["tutor>=18.0.0,<19.0.0"], + extras_require={"dev": ["tutor[dev]>=18.0.0,<19.0.0"]}, entry_points={"tutor.plugin.v1": ["notes = tutornotes.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", diff --git a/tutornotes/__about__.py b/tutornotes/__about__.py index a08b09c..c6a8b8e 100644 --- a/tutornotes/__about__.py +++ b/tutornotes/__about__.py @@ -1 +1 @@ -__version__ = "17.0.0" +__version__ = "18.0.0" diff --git a/tutornotes/plugin.py b/tutornotes/plugin.py index fe2e5a3..ffecb55 100644 --- a/tutornotes/plugin.py +++ b/tutornotes/plugin.py @@ -70,7 +70,7 @@ ) -@tutor_hooks.Filters.COMPOSE_MOUNTS.add() +@tutor_hooks.Filters.COMPOSE_MOUNTS.add() # type: ignore def _mount_edx_notes_api( volumes: list[tuple[str, str]], name: str ) -> list[tuple[str, str]]: @@ -118,7 +118,7 @@ def _mount_edx_notes_api( # Notes public hosts -@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add() +@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add() # type: ignore def _notes_public_hosts( hosts: list[str], context_name: t.Literal["local", "dev"] ) -> list[str]: