From f3fd47186bd517807681842ef06af6b3519ae3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 11 Oct 2023 10:39:40 +0200 Subject: [PATCH] feat: upgrade to quince --- setup.py | 2 +- tutormfe/__about__.py | 4 ++-- tutormfe/plugin.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index b9b645f1..43a45cbf 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def load_about(): packages=find_packages(exclude=["tests*"]), include_package_data=True, python_requires=">=3.8", - install_requires=["tutor>=16.1.2,<17.0.0"], + install_requires=["tutor>=17.0.0,<18.0.0"], entry_points={"tutor.plugin.v1": ["mfe = tutormfe.plugin"]}, classifiers=[ "Development Status :: 5 - Production/Stable", diff --git a/tutormfe/__about__.py b/tutormfe/__about__.py index 078cb516..0e90f303 100644 --- a/tutormfe/__about__.py +++ b/tutormfe/__about__.py @@ -1,9 +1,9 @@ -__version__ = "16.1.1" +__version__ = "17.0.0" __package_version__ = __version__ # Handle version suffix for nightly, just like tutor core. -__version_suffix__ = "nightly" +__version_suffix__ = "" if __version_suffix__: __version__ += "-" + __version_suffix__ diff --git a/tutormfe/plugin.py b/tutormfe/plugin.py index 83465cf6..d9adb45f 100644 --- a/tutormfe/plugin.py +++ b/tutormfe/plugin.py @@ -26,7 +26,8 @@ # If the package version suffix is set (for instance, in the nightly branch) use the "heads" Github refs API endpoint by default. def gh_refs_path() -> str: - return "heads" if __version_suffix__ else "tags" + return "heads" # TODO restore previous behaviour + # return "heads" if __version_suffix__ else "tags" CORE_MFE_APPS: dict[str, MFE_ATTRS_TYPE] = {