Closed tlvu closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Error below not related to my change:
From https://readthedocs.org/projects/pavics-sdi/builds/20377162/:
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .[docs]
Processing /home/docs/checkouts/readthedocs.org/user_builds/pavics-sdi/checkouts/287
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error below not related to my change:
From https://readthedocs.org/projects/pavics-sdi/builds/20377162/:
python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .[docs] Processing /home/docs/checkouts/readthedocs.org/user_builds/pavics-sdi/checkouts/287 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1 lines of output] ERROR: Can not execute `setup.py` since setuptools is not available in the build environment. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
This makes no sense that "setuptools is not available in the build environment", 2 lines above we see this
python -m pip install --upgrade --no-cache-dir pip setuptools
Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/pavics-sdi/envs/287/lib/python3.7/site-packages (23.1.2)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/pavics-sdi/envs/287/lib/python3.7/site-packages (67.7.2)
I am going to merge anyways, since the error is either deeper or problem with ReadTheDocs itself.
Fix this Jenkins failure: