Skip to content

refactor: Split packagesettings module into a package#953

Merged
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
tiran:refactor-packagesettings
Mar 19, 2026
Merged

refactor: Split packagesettings module into a package#953
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom
tiran:refactor-packagesettings

Conversation

@tiran
Copy link
Collaborator

@tiran tiran commented Mar 9, 2026

The packagesettings module has grown to over 1,200 lines of code. With upcoming plans to improve resolver, downloader, and patching, the code is going to grow even more.

Split the module into a package with several private modules. The public interface of the fromager.packagesettings is mostly staying the same. Only one monkey-patching case for testing had to be changed.

@mergify mergify bot added the ci label Mar 9, 2026
@tiran tiran marked this pull request as ready for review March 18, 2026 12:58
@tiran tiran requested a review from a team as a code owner March 18, 2026 12:58
@tiran tiran requested a review from LalatenduMohanty March 18, 2026 13:28
Copy link
Contributor

@rd4398 rd4398 left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@tiran
Copy link
Collaborator Author

tiran commented Mar 19, 2026

@Mergifyio rebase

The `packagesettings` module has grown to over 1,200 lines of code. With
upcoming plans to improve resolver, downloader, and patching, the code
is going to grow even more.

Split the module into a package with several private modules. The public
interface of the `fromager.packagesettings` is mostly staying the same.
Only one monkey-patching case for testing had to be changed.

Co-Authored-By: Claude <claude@anthropic.com>

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@mergify
Copy link
Contributor

mergify bot commented Mar 19, 2026

rebase

✅ Branch has been successfully rebased

@tiran tiran force-pushed the refactor-packagesettings branch from 6449998 to 0379923 Compare March 19, 2026 06:44
@mergify mergify bot merged commit 5d8d986 into python-wheel-build:main Mar 19, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants