Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
15 stars 2 forks source link

Fix documentation builds #173

Closed Zeitsperre closed 1 year ago

Zeitsperre commented 1 year ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

No.

Other information:

RondeauG commented 1 year ago

I somehow can't reproduce the RtD error when running the notebook locally.

RondeauG commented 1 year ago

Alright, I managed to reproduce the error locally. It looks like the culprit is xarray 2023.3.0, which gets installed during: python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .

Is there a way to prevent that? Incidentally, that command also installs pandas 1.5.3, even though we have pandas!=1.5.3 in environment.yml. Is it because it's not in setup.py?