pip download with --platform
specified fails to resolve dependencies with sys_platform==
conditional
#12466
Closed
1 task done
Labels
resolution: duplicate
Duplicate of an existing issue/PR
type: bug
A confirmed bug or unintended behavior
Description
When calling
pip download --only-binary ":all:"
with a platform specifier (--platform
), it does not properly followsys_platform
specifiers defined in the dependencies.The example I am trying to download
jupyter_core
with dependencies specified in thepyproject.toml
as follows:In this situation pip uses my own platform instead of the one specified with the
--platform
specifierExpected behavior
Should download required whl files for
jupyter_core
pip version
23.3.2
Python version
3.10
OS
Windows 10
How to Reproduce
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: