Skip to content

Commit

Permalink
feat: upgrade to quince
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsiddiqui authored and regisb committed Dec 11, 2023
1 parent ef1c5b9 commit 7326f78
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variables:
TUTOR_EXTRA_ENABLED_PLUGINS: mfe
TUTOR_IMAGES: jupyterhub jupyterlab
TUTOR_PYPI_PACKAGE: tutor-jupyter
OPENEDX_RELEASE: olive
OPENEDX_RELEASE: quince
GITHUB_REPO: overhangio/tutor-jupyter

include:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ instructions, because git commits are used to generate release notes:

<!-- scriv-insert-here -->

<a id='changelog-17.0.0'></a>
## v17.0.0 (2023-12-06)

- 💥[Feature] Upgrade to Quince. (by @mhsiddiqui)

<a id='changelog-16.0.1'></a>
## v16.0.1 (2023-06-29)

Expand Down
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ Enable the plugin::

tutor plugins enable jupyter

Update your environment::

tutor config save

Re-build the "openedx" Docker image to install the Jupyter XBlock::

tutor images build openedx
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,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", "tutor-mfe>=16.0.0,<17.0.0"],
extras_require={"dev": "tutor[dev]>=16.0.0,<17.0.0"},
install_requires=["tutor>=17.0.0,<18.0.0", "tutor-mfe>=17.0.0,<18.0.0"],
extras_require={"dev": "tutor[dev]>=17.0.0,<18.0.0"},
entry_points={
"tutor.plugin.v1": [
"jupyter = tutorjupyter.plugin"
Expand Down
2 changes: 1 addition & 1 deletion tutorjupyter/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "16.0.1"
__version__ = "17.0.0"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Install Jupyter XBlock
# Remember to bump the version when we upgrade from Palm.
# Remember to bump the version when we upgrade from Quince.
# https://pypi.org/project/jupyter-xblock/
RUN pip install "jupyter-xblock>=16.0.0,<17.0.0"
RUN pip install "jupyter-xblock>=17.0.0,<18.0.0"
10 changes: 5 additions & 5 deletions tutorjupyter/templates/jupyter/build/hub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# https://hub.docker.com/r/jupyterhub/jupyterhub/tags
# Base: https://github.com/jupyterhub/jupyterhub/blob/main/Dockerfile
FROM docker.io/jupyterhub/jupyterhub:4.0.0
FROM docker.io/jupyterhub/jupyterhub:4

# https://pypi.org/project/dockerspawner/
# https://pypi.org/project/jupyterhub-kubespawner/
# https://pypi.org/project/jupyterhub-ltiauthenticator/
# https://pypi.org/project/pymysql/
RUN pip install \
dockerspawner==12.1.0 \
jupyterhub-kubespawner==6.0.0 \
jupyterhub-ltiauthenticator==1.5.1 \
pymysql==1.0.3
dockerspawner==13.0.0 \
jupyterhub-kubespawner==6.2.0 \
jupyterhub-ltiauthenticator==1.6.1 \
pymysql==1.1.0

CMD ["jupyterhub"]
6 changes: 3 additions & 3 deletions tutorjupyter/templates/jupyter/build/lab/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/r/jupyterhub/singleuser/tags
FROM docker.io/jupyterhub/singleuser:4.0.0
FROM docker.io/jupyterhub/singleuser:4

# Install git for nbgitpuller
USER root
Expand All @@ -11,10 +11,10 @@ USER jovyan
# https://github.com/jupyterhub/nbgitpuller
# https://hub.jupyter.org/nbgitpuller/
# https://pypi.org/project/nbgitpuller/
RUN pip install nbgitpuller==1.1.1
RUN pip install nbgitpuller==1.2.0

# https://pypi.org/project/jupyterlab/
RUN pip install jupyterlab==3.6.3
RUN pip install jupyterlab==4.0.9

{{ patch("jupyter-lab-dockerfile") }}

Expand Down

0 comments on commit 7326f78

Please sign in to comment.