Skip to content

Commit

Permalink
feat: upgrade to quince
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdul-Muqadim-Arbisoft authored and regisb committed Dec 9, 2023
1 parent f623a14 commit 227f44c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ __pycache__
*.egg-info/
/build/
/dist/
.DS_Store
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variables:
TUTOR_PLUGIN: webui
TUTOR_PYPI_PACKAGE: tutor-webui
OPENEDX_RELEASE: palm
OPENEDX_RELEASE: quince
GITHUB_REPO: overhangio/tutor-webui

include:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def load_about():
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.8",
install_requires=["tutor>=16.0.0,<17.0.0", "click_repl>=0.2.0"],
extras_require={"dev": "tutor[dev]>=16.0.0,<17.0.0"},
install_requires=["tutor>=17.0.0,<18.0.0", "click_repl>=0.3.0"],
extras_require={"dev": "tutor[dev]>=17.0.0,<18.0.0"},
entry_points={
"tutor.plugin.v1": ["webui = tutorwebui.plugin"],
},
Expand Down
2 changes: 1 addition & 1 deletion tutorwebui/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "16.0.1"
__version__ = "17.0.0"
5 changes: 2 additions & 3 deletions tutorwebui/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ def shell() -> None:
Type "local launch" to configure and launch a new platform from scratch.
Type <ctrl-d> to exit."""
)
# We need to manually patch the TutorCli object because click_repl
# incorrectly calls the `commands` attribute. Note that this enables us to
# run shell within shell, which is cool but a little weird...
# Retrieve the current Click context. The context is used to manage the state
# and pass around internal objects within the Click framework.
ctx = click.get_current_context()
if ctx.parent and ctx.parent.command:
ctx.parent.command.commands = {} # type: ignore
Expand Down

0 comments on commit 227f44c

Please sign in to comment.