Skip to content

Use pubtools namespace to resolve init file conflict [RHELDST-17607] #224

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

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

amcmahon-rh
Copy link
Contributor

Currently, there's an issue with packaging where most of the pubtool- projects contains init.py and other stuff which is supposed to belong only to pubtools. Python namespaces are a convenient way to work around this issue.

This is the only pubtools project that still has RPMs built. Since the find_namespace_packages function is not available on brew, we needed to find a work around, courtesy of Michal

@amcmahon-rh amcmahon-rh force-pushed the RHELDST-17607 branch 2 times, most recently from 30b1e21 to 7a5cfef Compare May 30, 2024 12:58
Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (6b86d4c) to head (bfaa3eb).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #224   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        46    -1     
  Lines         3225      3224    -1     
=========================================
- Hits          3225      3224    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Currently, there's an issue with packaging where most of the pubtool-<lib> projects
contains __init__.py and other stuff which is supposed to belong only to pubtools.
Python namespaces are a convenient way to work around this issue.
@amcmahon-rh amcmahon-rh merged commit 0dc5ea1 into release-engineering:master Jun 10, 2024
8 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.

3 participants