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(whl_filegroup): Make RECORD from wheel available #2238

Merged

Conversation

TimotheusBachinger
Copy link
Contributor

@TimotheusBachinger TimotheusBachinger commented Sep 20, 2024

Why this change is being made, briefly.

  • We need to also get the RECORD file from a wheel in order to package everything
  • It seems a bit weird to me that the RECORD file is not part of whl_filegroup even no pattern filtering was applied (or I am misunderstanding something)
  • Further: neither hash nor filelen have been used in the code, so why are only files considered with those attributes?

Copy link

google-cla bot commented Sep 20, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@TimotheusBachinger TimotheusBachinger changed the title Make RECORD from wheel available via whl_filegroup fix(whl_filegroup): Make RECORD from wheel available via whl_filegroup Sep 20, 2024
@TimotheusBachinger TimotheusBachinger changed the title fix(whl_filegroup): Make RECORD from wheel available via whl_filegroup fix(whl_filegroup): Make RECORD from wheel available Sep 20, 2024
@TimotheusBachinger TimotheusBachinger marked this pull request as ready for review September 20, 2024 09:49
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise, thanks for the contribution!

CHANGELOG.md Outdated
@@ -66,7 +66,7 @@ A brief description of the categories of changes:
bootstrap .py file when using {obj}`--bootstrap_impl=script`
* (toolchain) The {bzl:obj}`gen_python_config_settings` has been fixed to include
the flag_values from the platform definitions.

* (whl_filegroup): Provide per default also the `RECORD` file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rebase and update the CHANGELOG.md to point to things added in an unreleased version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hope it is now where you want it :-)

whl_filegroup will now per default also provide the RECORD file from the wheel
@aignas aignas added this pull request to the merge queue Sep 27, 2024
Merged via the queue into bazelbuild:main with commit 9a98e8c Sep 27, 2024
4 checks passed
CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Oct 21, 2024
It includes now bazelbuild/rules_python#2238

Change-Id: Idba03e0d1580a02d28592641409f202102ef7638
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.

2 participants