You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip 22.1 (released recently on May 11) validates build requirements from pyproject.toml when using --no-build-isolationissue and PR
in scikit-learn we have oldest-supported-numpy in our pyproject.toml build requirements as advised in your README. I am guessing this is the case for a number of other projects (e.g. pandas does something similar)
Trying to do pip install --no-build-isolation . will error with a message like this:
Some build dependencies for file:///home/local/lesteve/dev/scikit-learn are missing: 'oldest-supported- numpy'.`
Argh! Thanks for the report @lesteve. That seems like a clear oversight in the Pip PR that introduced this behavior. A pin sounds right as a workaround, I'll go ask for a fix in Pip itself.
pyproject.toml
when using--no-build-isolation
issue and PRoldest-supported-numpy
in ourpyproject.toml
build requirements as advised in your README. I am guessing this is the case for a number of other projects (e.g. pandas does something similar)pip install --no-build-isolation .
will error with a message like this:--no-build-isolation
)Any suggestions on how to handle the situation nicely would be more than welcome! As a short-term fix, we have pinned pip to 22.0.4.
To reproduce with scikit-learn:
Error
The text was updated successfully, but these errors were encountered: