From 8eb6ca182ffa4497eb5d736ecdba18456a6f1d43 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 29 May 2024 11:54:37 +0200 Subject: [PATCH] express yaml optional dependency previously implicit --- docs/source/file.md | 9 +++++++++ setup.py | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/source/file.md b/docs/source/file.md index 17ee0e0e..e52e15d4 100644 --- a/docs/source/file.md +++ b/docs/source/file.md @@ -75,6 +75,15 @@ will be managed by JupyterHub. This allows e.g., the administrator to configure ``` +````{note} +yaml support requires the `ruamel.yaml` package, which you can install directly, or with: + +``` +pip install jupyterhub-traefik-proxy[yaml] +``` + +```` + ## Externally managed TraefikFileProviderProxy When TraefikFileProviderProxy is externally managed, service managers like [systemd](https://www.freedesktop.org/wiki/Software/systemd/) diff --git a/setup.py b/setup.py index b129cdd0..f2a26089 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,9 @@ # see https://github.com/jupyterhub/traefik-proxy/issues/155 for more "consul": ["python-consul2"], "etcd": ["etcdpy"], + "yaml": ["ruamel.yaml"], "test": [ - "jupyterhub-traefik-proxy[redis,etcd,consul]", + "jupyterhub-traefik-proxy[redis,etcd,consul,yaml]", "certipy", "notebook>=4.0", "pytest",