Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

nvaytet
Copy link
Member

@nvaytet nvaytet commented Aug 2, 2023

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.

@nvaytet nvaytet changed the title Add scipp version requirement in setup.cfg Do not install dependencies via pip during CI docs build Aug 2, 2023
@nvaytet nvaytet merged commit 6ae709d into main Aug 3, 2023
7 checks passed
@nvaytet nvaytet deleted the scipp-version-requirement branch August 3, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants