Skip to content

Conversation

@ecoussoux-ansys
Copy link
Collaborator

As reported by #463, the documentation build is failing since November 2nd with the following error :

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\actions-runner\\_work\\pyaedt-examples\\pyaedt-examples\\.venv\\share\\jupyter\\labextensions\\@jupyter-widgets\\jupyterlab-manager\\static\\vendors-node_modules_d3-color_src_color_js-node_modules_d3-format_src_defaultLocale_js-node_m-09b215.2643c43f22ad111f4f82.js.map'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths

This is caused by the latest release of the jupyterlab-widgets package (v3.0.16 released on November 1st, see here) required for ipywidgets which is part of the requirements/requirepemts_docs.txt.
It appears that this latest release of jupyterlab-widgets contains files with long names that will cause an OSError: [Errno 2] No such file or directory to be raised during the installation of the dependencies inside the virtual environment created for the doc-build job.

In order to prevent such errors, an extra step is introduced in the doc-build job, which consists in enabling support for long paths as described here.

Close #463.

@ecoussoux-ansys
Copy link
Collaborator Author

I am not sure that my change will work, but I have to trigger the CI to check (I believe)..
I'll write another comment once I am sure that the PR is providing a valid fix, or put it back to draft if it's not..!

Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! I've rerun the CI cause it got stuck on its way (6h timeout)
Hopefully this will pass this time

@ecoussoux-ansys
Copy link
Collaborator Author

Thank you!
Now the job fails due to some ConnectTimeoutError when installing vtk-osmesa. I just restarted it.
However, the new step introduced seems to be working fine as dependencies are installed properly again!

@ecoussoux-ansys
Copy link
Collaborator Author

ecoussoux-ansys commented Nov 5, 2025

The documentation build is currently still failing, seemingly for reasons that are not related to the PR's topic.. I just updated the branch to see if it persists.
Interestingly this run on November 4th succeeded (also installing the jupyterlab-widgets package v3.0.16), meaning that the fix suggested in this PR is not needed any longer..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Package and maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Nightly documentation build is failing

3 participants