-
Notifications
You must be signed in to change notification settings - Fork 328
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
cannot install theme on windows from current main #523
Comments
Good to hear the version stuff is working! Regarding the failure, I suppose that's something to report at https://github.com/pradyunsg/sphinx-theme-builder/ (cc @pradyunsg) |
Yea, I need to cut a release of stb with this fixed. It's fixed on |
Alright, try now. :) |
thanks for the quick turnaround! It fails differently now though, here's an excerpt from the CI log:
I'll try to sort this out next week if I can, but I'm all ears if you can quickly spot what is wrong. |
OK, I just tried again to install into a windows 10 VM, and I'm getting similar errors there as those seen on the CI log above. Here's what I did (in a mambaforge prompt): conda create -n pst python=3
git clone https://github.com/pydata/pydata-sphinx-theme
cd pydata-sphinx-theme
pip install .[dev] Here's the last bit of the output, after all the dependencies have been downloaded / installed:
Since I spotted a permissions error in there, I deleted and recreated the env, and tried pip's new
Looks like the same problem @kapooramit posted about here: pradyunsg/sphinx-theme-builder#7 (comment) Next I tried deleting & recreating the env, but running the installation through mambaforge prompt in "run as administrator" mode (still using
I note (with some frustration) that the link in the error message (https://sphinx-theme-builder.rtfd.io/errors/#nodeenv-unhealthy-file-not-found) goes to a page that does not exist. Next I tried the "hint" that deleting the rmdir /S .nodeenv
pip install .[dev] --use-feature=in-tree-build it failed again:
Any ideas what I should try next? |
This needs me to have access to a machine that reproduces this failure. The problem originates from this module here where, somehow, nodeenv isn't generating a valid node environment in your use case. |
as I said above, I'm seeing this in a windows 10 VM. Windows 10 ISO files are available here; I'm using VirtualBox but any VM manager ought to work. Once it's up and running: I think that ought to be enough to allow the following in a mambaforge prompt: mamba create -n pst_test python=3
conda activate pst_test
git clone https://github.com/pydata/pydata-sphinx-theme
cd pydata-sphinx-theme
pip install .[dev] |
@pradyunsg to try this out I opened a PR that adds a Windows build here: #533 The windows job does indeed break at the install step. Here's a link to the error: https://github.com/pydata/pydata-sphinx-theme/runs/4655097854?check_suite_focus=true#step:4:220 |
I confirm that the installation steps in my earlier post now work in my windows VM 🎉 and MNE-Python's CI that tests building the docs on Windows also succeeded. Thanks @pradyunsg for tracking down the culprit! |
I'm testing #436 over at mne-tools/mne-python#9916. It works (yay! here's the CI artifact with the theme's dropdown in action) BUT one of our other CIs tests whether our docs can be built on windows. That failed, and I reproduced locally in a Windows VM. Here's how it fails:
The text was updated successfully, but these errors were encountered: