-
-
Notifications
You must be signed in to change notification settings - Fork 678
feat(pip.parse): limit the target platforms we parse requirements for #3441
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
7c90995
66c6b98
159c432
a4298ad
f7ee70f
dd3a0f6
aad3290
ac76fda
72d7627
fdd031a
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 |
|---|---|---|
|
|
@@ -27,6 +27,7 @@ def pip_parse( | |
| requirements_linux = None, | ||
| requirements_lock = None, | ||
| requirements_windows = None, | ||
| target_platforms = [], | ||
| simpleapi_skip = [], | ||
| timeout = 600, | ||
| whl_modifications = {}, | ||
|
|
@@ -41,7 +42,9 @@ def pip_parse( | |
| envsubst = envsubst, | ||
| experimental_index_url = experimental_index_url, | ||
| experimental_requirement_cycles = experimental_requirement_cycles, | ||
| # TODO @aignas 2025-12-02: decide on a single attr - should we reuse this? | ||
|
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. What's the difference in behavior? Both are a list of platform names (as defined by the pip.platforms() configuration). Is it just that experimental_target_platforms has the
Collaborator
Author
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. Correct. |
||
| experimental_target_platforms = experimental_target_platforms, | ||
| target_platforms = target_platforms, | ||
| extra_hub_aliases = extra_hub_aliases, | ||
| extra_pip_args = extra_pip_args, | ||
| hub_name = hub_name, | ||
|
|
||
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.
This changelog entry is a bit verbose. For clarity and conciseness, consider this alternative: