-
Notifications
You must be signed in to change notification settings - Fork 58
Use default Python install, not jupyterlab install #951
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
base: main
Are you sure you want to change the base?
Conversation
|
I'm not sure why the tests are failing on quarto as my change shouldn't have bumped that. Though I see a lot of other PRs with failing tests so I'm going to assume that the failure isn't specific to my changes |
I wonder if Quarto is looking for specific python or packages. 🤔 @ianpittwood Do you anticipate any issues changing the python version in the default path? |
At some point, and I don't remember when, there was a request to have |
|
Thank you both! I've updated to keep both Jupyter and the default python version on PATH. Curious to see if maybe Quarto did want some python packages that were in the Jupyter install? |
|
We will need to remove the |
|
It looks like a missing |
|
Ah! I think Quarto is why we were setting the jupyter python version as the default. For the Initial error: After installing The quarto docs recommend installing Back to the original issue where the python version isn't writable. The I attempted to install using the We should discuss the approach we want to take to fix the original issue. |
bee0929 to
67abb3c
Compare
|
We may want to set |
|
@cm421 How do you think we should approach this given the requirements quarto has? |
|
@bschwedler sorry for the delay, is using |
bschwedler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cm421 I think this should work.
The use case that this would not cover is individual users calling quarto without the QUARTO_PYTHON being set in their environment, which would depend on their rc/profile files for their shell.
Do you think it's worth adding this to /etc/profile.d/ or /etc/bash.bashrc?
|
I think that What surprises me with the user I created is that the Does this seem like what you'd expect? |
Perhaps we need to add this to |
Brought up in a customer ticket #118720 pointing out that the
jupyterversion of python isn't user-writable so the default python version for this image isn't usable out of the box.This reverts a change to set whatever the
PYTHON_VERSIONis to be the default python version