Skip to content

Conversation

@befeleme
Copy link
Collaborator

Based on the refactor proposed in the other PR. Only the last commit differs. This adds a check to prerel-abi outside of the main resolve loop. I'm too lost in the woods to find a better way.

@befeleme befeleme changed the title Prerel Check for the python(prerel-abi) requirement Nov 25, 2025
jobs.py Outdated
if 'python(prerel-abi)' in req_str:
# Try to find if this requirement can be satisfied
selector = hawkey.Selector(sack).set(provides=req_str)
matching_packages = selector.matches()
Copy link
Member

Choose a reason for hiding this comment

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

I think that this will happily find all older Python builds regardless of the version.

Maybe the config file should specify the version you want?

Some packages require python(prerel-abi) = X.Y.Z~alphaN which may not
match the prerel-abi version currently available in the target repo.
These packages need to be treated as "not yet successfully rebuilt"
even though they depend on the new Python ABI and exist in the target.

This change adds filtering logic that:
- Checks all packages in components_done for unsatisfied prerel-abi deps
- Removes components with mismatched prerel-abi from components_done
- Allows them to be reported as ready to rebuild
- Tracks blocked components for proper status reporting

Assisted-By: Claude 4.5 Sonnet
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