scipp / ess

European Spallation Source facility bespoke, neutron scattering tools based on scipp.
https://scipp.github.io/ess/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Do not install dependencies via pip during CI docs build #187

Closed nvaytet closed 1 year ago

nvaytet commented 1 year ago

During the Ci docs build, we first create a conda env with pinned package versions (e.g. scipp is pinned to 23.03.2). The next step in the docs build is to pip install ., which looks at the dependencies in the setup.cfg and installs potentially newer versions from PyPi, thus rendering the pinning in the conda env useless.

By doing pip install --no-deps ., we avoid this and use the packages in the conda env. This will only install the local ess package.