Skip to content

Commit

Permalink
Merge pull request #245 from minrk/yaml-dep
Browse files Browse the repository at this point in the history
express yaml optional dependency
  • Loading branch information
consideRatio authored May 29, 2024
2 parents b2f8e59 + 8eb6ca1 commit fa5f6fa
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 fa5f6fa

Please sign in to comment.