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

fix(render_pkg_aliases): correctly render when we have target_platforms set #2447

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Nov 27, 2024

It seems that during #2424 I broke the rendering of aliases for the
cases when the target platform is set. This means that the feature for
multiplatform whls when experimental_index_url has never worked even
though it was advertised. This ensures that the rendering is happening
correctly and adds extra missing tests.

Whilst at it:

  • add an extra test for pip.parse handling of env markers that I added
    to ensure that the error is not in the module extension.
  • Cleanup unused code - error message constant and the repo arg in
    whl_config_setting.

Fixes #2446

…ms set

It seems that during bazelbuild#2424 I broke the rendering of aliases for the
cases when the target platform is set. This means that the feature for
multiplatform whls when `experimental_index_url` has never worked even
though it was advertised. This ensures that the rendering is happening
correctly and adds extra missing tests.

Whilst at it:
- add an extra test for `pip.parse` handling of env markers that I added
  to ensure that the error is not in the module extension.
- Cleanup unused code - error message constant and the repo arg in
  `whl_config_setting`.

Fixes bazelbuild#2446
@aignas
Copy link
Collaborator Author

aignas commented Nov 27, 2024

@rickeylev, this is ready for review/land and the only failure is due to stardoc.

@rickeylev rickeylev merged commit 4e60d07 into bazelbuild:main Nov 27, 2024
3 of 4 checks passed
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.

Duplicate entries with platform constraints in requirements.txt regression
2 participants