Skip to content

Commit

Permalink
feat: upgrade to quince
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Oct 11, 2023
1 parent 86fcac3 commit f3fd471
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tutormfe/__about__.py
Original file line number Diff line number Diff line change
@@ -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__
3 changes: 2 additions & 1 deletion tutormfe/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit f3fd471

Please sign in to comment.