-
Notifications
You must be signed in to change notification settings - Fork 354
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
tljh-config ContextualVersionConflict - chardet 4 vs jupyterhub-traefik-proxy #642
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
+1, thanks for finding the fix! |
+1, thank you so much! |
Facing the same issue here but straight from my personal Ubuntu 20.04 server (no container, used the standard |
I have the same issues, when i try to do |
Thanks a lot for reporting this. I have opened #643 to pin the
@waltermateriais, the Python that's used in the hub env is the same with the system's default version (which for Ubuntu 18.04 is Thank you! ☀️ |
Thanks @GeorgianaElena!! I tried for a good moment but couldn't find evidences of order of precedence errors between the system python (3.8 in my case) and the virtual environment (3.7). Initially thought that could be a track to solve this issue but apparently it comes from elsewhere after I read the tljh scripts in detail. |
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/running-juptyerlab-with-jupyterhub-tljh-on-own-server/7249/5 |
@onwilliam First, activate the hub environment as per ixcat's instruction at the top. I did this in the JupyterHub terminal.
Then try this command:
|
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/running-juptyerlab-with-jupyterhub-tljh-on-own-server/7249/7 |
Fixed in #643 |
Bug description
tljh-config failing to run after a fresh container rebuild of integration-tests/Dockerfile . Was working for me last install round.
as best I can tell - something in the tljh install is installing chardet 4, which conflicts with the pinned
aiohttp==3.6.2
in jupyterhub-traefik-proxy; tried to pip upgrade chardet/aiohttp, but this triggered errors. Not sure if it would be better to file againstjupyterhub-traefik-proxy
or here; filing here since this is where I encountered the error, and concievably the aiohttp pin is deliberate injupyterhub-traefik-proxy
was able to resolve via:
Expected behaviour
tljh-config
should runActual behaviour
How to reproduce
build using integration-tests/Dockerfile , try to run
tljh-config
Your personal set up
Ubuntu 20.04
Docker version 19.03.14, build 5eb3275d40
docker-compose version 1.26.2, build eefe0d31
Also, as a tweak, I added a systemd oneshot to the docker which runs the tljh-install script on container up - if interested, can PR:
and:
The text was updated successfully, but these errors were encountered: