Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

express yaml optional dependency #245

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading