Skip to content

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Aug 30, 2025

I think I have finished fixing up the remaining issues in our test code
to enable pipstar in bzlmod and WORKSPACE.

This switches the test to only consider pipstar being enabled.

Fixes #2949

@aignas aignas marked this pull request as ready for review August 30, 2025 16:00
@aignas
Copy link
Collaborator Author

aignas commented Sep 7, 2025

Need to wait for the #3247 so that I can finish fixing the tests

@aignas aignas force-pushed the aignas.exp.bzlmod.enable.pipstar branch from b697f55 to 790a508 Compare September 7, 2025 13:41
@aignas aignas marked this pull request as draft September 7, 2025 13:41
@aignas aignas changed the title exp(pypi): enable pipstar by default on bzlmod feat(pypi): enable pipstar by default on bzlmod Sep 7, 2025
@aignas aignas force-pushed the aignas.exp.bzlmod.enable.pipstar branch from 790a508 to 7b35e52 Compare September 8, 2025 12:28
Extra fixes:
- add more logging to the failure
- better METADATA files in tests
- fix tests
@aignas aignas force-pushed the aignas.exp.bzlmod.enable.pipstar branch from 7b35e52 to 10692ce Compare September 8, 2025 12:41
@aignas aignas marked this pull request as ready for review September 8, 2025 13:05
@aignas
Copy link
Collaborator Author

aignas commented Sep 8, 2025

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables pipstar by default for bzlmod builds, which is a significant step forward. The changes in internal_config_repo.bzl correctly implement this switch. The test updates, including modifications to hub_builder_tests.bzl and test data, align well with this new default, ensuring the test suite remains valid. The improved error logging in whl_metadata.bzl is also a nice addition for debuggability. I've found one potential issue regarding the use of dep_template in test dependencies which could cause problems in the future.

@aignas aignas changed the title feat(pypi): enable pipstar by default on bzlmod feat(pypi): enable pipstar by default Sep 28, 2025
@aignas aignas requested a review from rickeylev September 28, 2025 10:34
@aignas
Copy link
Collaborator Author

aignas commented Sep 30, 2025

OK, PTAL.

@aignas aignas marked this pull request as draft October 1, 2025 08:50
@aignas aignas marked this pull request as ready for review October 1, 2025 09:19
@aignas
Copy link
Collaborator Author

aignas commented Oct 1, 2025

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables pipstar by default, which is a significant change. The implementation involves updating the default flag value, removing old configuration mechanisms (config.bzl), and introducing a new way to pass dependency information through a packages list. The test suite has been extensively updated to reflect this new default behavior. My review focuses on improving the clarity of the changelog entry and fixing a minor typo in an error message. The core logic changes appear sound and consistent with the PR's goal.

aignas and others added 2 commits October 1, 2025 18:29
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

feat: enable pipstar by default
2 participants