Skip to content

Commit

Permalink
express yaml optional dependency
Browse files Browse the repository at this point in the history
previously implicit
  • Loading branch information
minrk committed May 29, 2024
1 parent b2f8e59 commit 8eb6ca1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/source/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8eb6ca1

Please sign in to comment.