Repository navigation
[MAINT] Strip pip extras from build dependencies in conda recipe #2432
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,6 +43,9 @@ requirements: | |
| - {{ dep }} | ||
| {% elif dep.startswith('build>=') %} | ||
| - {{ 'python-' ~ dep }} | ||
| {% elif '[' in dep %} | ||
| # strip pip extras, conda does not accept them | ||
| - {{ dep.split('[')[0] ~ dep.split(']')[1] }} | ||
|
Comment on lines
+46
to
+48
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: this branch skips the |
||
| {% else %} | ||
| - {{ dep|replace('_','-') }} | ||
| {% endif %} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both
test_examples_linuxjobs fail at this line:CI does not run conda 26.10.0 here. The "Install conda-index" step (
conda install conda-index=... -c conda-forge) supersedes base conda with conda-forge'sconda-26.7.3whileconda-rattler-solver26.11.0 from pkgs/main stays, and it swaps certifi (the log showsFailed to export: Could not find a suitable TLS CA certificate bundle). With conda 26.10.0 and rattler locally, this exact install solves to cmake 4.x and barecmakegivescmake-3.5.0-3, so the local check holds, just not for the conda CI ends up with.Options: install
cmake ninja pybind11 cython scikit-buildin the sameconda createas python/pytest/setuptools, asconda-package-cf.ymldoes (its examples jobs pass in this run), or keep the conda-index step from downgrading conda, e.g. by adding"conda>=26.10"to that install.