Closed bouweandela closed 1 year ago
Debugging dependency clashes can be a pain. I see the sphinx_rtd_theme
popping up. Didn't we switch to the Pydata theme? If I recall correctly, the Rtd theme is not compatible with recent Sphinx versions.
Hm. My guess on the theme seems to be a red herring, it was there already when the builds still worked and is likely something that Readthedocs is adding. Instead, I think now that this is due to the lack of .conda
support. From the log above:
mamba env create --quiet --name 2198 --file environment.yml
/home/docs/.asdf/installs/python/mambaforge-22.9.0-3/lib/python3.10/site-packages/conda_package_streaming/package_streaming.py:19: UserWarning: zstandard could not be imported. Running without .conda support.
warnings.warn("zstandard could not be imported. Running without .conda support.")
/home/docs/.asdf/installs/python/mambaforge-22.9.0-3/lib/python3.10/site-packages/conda_package_handling/api.py:29: UserWarning: Install zstandard Python bindings for .conda support
_warnings.warn("Install zstandard Python bindings for .conda support")
This is a problem because .conda
is the new format for conda packages (previously .tar.bz2
) and all recently built packages are in that format.
The problem seems to be related to the issue described at https://github.com/conda-forge/zstandard-feedstock/pull/48, i.e. zstandard
, the Python binding for the library zstd
, depends on internal Zstd API and consequently more tightly on the Zstd version it was built against than was expressed in the requirements. This led to the incompatible combination of zstandard=0.19.0
with zstd=1.5.5
in our env. However, this should not have happened because a repodata patch in https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/484 was used to prevent this. I suspect the problem is that the zstandard
package in the environment comes directly from the Mambaforge distribution and didn't get the repodata patch. For now, I hope pinning zstd=1.5.2
will do the trick, but this is severely limiting future upgrades, so a more permanent solution is desirable.
Currently the readthedocs build is failing. see here for an example.
Failing command:
Output of all commands with error message at the end: