-
Notifications
You must be signed in to change notification settings - Fork 18
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
Providing the required node version in a conda environment doesn't work #7
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@jorisvandenbossche What OS are you on? I'm guessing this is a Linux environment? @kapooramit I'll respond over on pradyunsg/furo#330. |
Yes, Linux (Ubuntu 20.04) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I've made a bunch of changes to how the nodeenv handling works in https://github.com/pradyunsg/sphinx-theme-builder/compare/818d231c406ce98f02952025ea1c03ba80d6fa24..32377e2ad7179b430b8fb3ae65950d962cf8d21a
That should make this less painful (it won't try + fail to use the conda node) but does not solve the underlying issue here; which I haven't been able to figure out. |
Released the above changes in 0.2.0a13! |
yeah, to package pydata/pydata-sphinx-theme#562 we'll need to figure out how to build this package for conda-forge and not have it randomly install an extra version of node. other downstreams that can provide node will have similar challenges. another option would be to emulate |
You can set |
Given that Furo is in the conda-forge feedstock, I think things work just fine with |
Somewhat related to #6: I tried out the workflow of using a conda environment, and installing the exact required version of node in that environment (in the idea that the conda-provided node would be detected as matching "system" node, and thus used by sphinx-theme-builder / nodeenv). But it seems this is not fully working.
docs-theme2
is a conda env in which I installed the exact node version that is required (+ all dependencies to build the demo docs + sphinx-theme-builder):So it detects that the conda installed node version is matching the required version, but then nodeenv links to the actual system provided one (apparently I have a system wide node with version 10.19.0), and not the conda provided node. Resulting in a "broken" workflow. This might also be an issue to open with nodeenv.
Note: I am not sure how useful it is to actually try this (I am personally happy with the workflow to let nodeenv manage the node installation), but it would be good to know if this could work or will never work, to ensure we can document this for people using conda (and potentially having node installed in their environment)
(note: I personally don't want to use this workflow myself (I am happy with the node that nodeenv installs), but some users might want to
The text was updated successfully, but these errors were encountered: