Bug 2331259

Summary: Please branch and build python3-subunit in epel10
Product: [Fedora] Fedora EPEL Reporter: Romain Geissler <romain.geissler>
Component: subunitAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: apevec, epel-packagers-sig, kkeithle, loganjerry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subunit-1.4.4-4.el10_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-09 02:38:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2331261, 2336216    
Bug Blocks: 2314523, 2321094    

Description Romain Geissler 2024-12-09 20:35:33 UTC
Hi,

Please branch and build python3-subunit in epel10.

Cheers,
Romain

Comment 1 Jerry James 2024-12-10 15:49:18 UTC
I do not currently maintain any EPEL packages and do not wish to start.  I am happy to grant comaintainer status to anyone who wishes to maintain EPEL branches, though.

Comment 2 Fedora Update System 2025-01-07 19:21:09 UTC
FEDORA-EPEL-2025-e4b15038dd (subunit-1.4.4-4.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-e4b15038dd

Comment 3 Romain Geissler 2025-01-07 19:46:30 UTC
The generated packages are missing the dependency on python3-junitxml, so I have opened bug #2336216 to get it (it seems to build fine).

Comment 4 Kaleb KEITHLEY 2025-01-07 20:19:51 UTC
(In reply to Romain Geissler from comment #3)
> The generated packages are missing the dependency on python3-junitxml, so I
> have opened bug #2336216 to get it (it seems to build fine).

python-junitxml is already built in epel10.  And subunit built fine without it.

Where does this dependency come from? Are you saying there's an installtime/runtime dependency and that a 'Requires: python-junitxml' needs to be added to the .spec?

Comment 5 Romain Geissler 2025-01-07 20:27:30 UTC
> python-junitxml is already built in epel10.

It was not when I wrote the message, but now it is, that was pretty fast. It's been submitted recently to testing via https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-b5e4e21b5a

> And subunit built fine without it.

Yes but as seen in other packages, what is installed inside a mockbuild are only the build time dependencies, not the runtime dependencies. So it's possible to generate packages which aren't installable in the end.

> Where does this dependency come from?

Extract from my message in the fedora update https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-e4b15038dd:

Error:
 Problem 1: conflicting requests
  - nothing provides python3dist(junitxml) needed by subunit-filters-1.4.4-4.el10_0.noarch from @commandline
 Problem 2: package python3-subunit-test-1.4.4-4.el10_0.noarch from @commandline requires subunit-filters = 1.4.4-4.el10_0, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3dist(junitxml) needed by subunit-filters-1.4.4-4.el10_0.noarch from @commandline


so it's a runtime dependency of subunit-filters.

I am not really an experienced packager, so I don't know if we shall add explicitly a 'Requires: python-junitxml' but I would naively expect that we want to avoid listing all dependencies explicitly and rely on the different %py* rpm macros to generate that for us, no ?

Comment 6 Kaleb KEITHLEY 2025-01-07 20:33:07 UTC
(In reply to Romain Geissler from comment #5)
> Error:
>  Problem 1: conflicting requests
>   - nothing provides python3dist(junitxml) needed by
> subunit-filters-1.4.4-4.el10_0.noarch from @commandline
>  Problem 2: package python3-subunit-test-1.4.4-4.el10_0.noarch from
> @commandline requires subunit-filters = 1.4.4-4.el10_0, but none of the
> providers can be installed
>   - conflicting requests
>   - nothing provides python3dist(junitxml) needed by
> subunit-filters-1.4.4-4.el10_0.noarch from @commandline
> 
> 
> so it's a runtime dependency of subunit-filters.
> 
> I am not really an experienced packager, so I don't know if we shall add
> explicitly a 'Requires: python-junitxml' but I would naively expect that we
> want to avoid listing all dependencies explicitly and rely on the different
> %py* rpm macros to generate that for us, no ?

yeah, there's a borked 'Requires: ...'  for python3-junitxml in the .spec. I will respin the package.

Comment 7 Kaleb KEITHLEY 2025-01-07 20:42:30 UTC
(In reply to Kaleb KEITHLEY from comment #6)
> 
> yeah, there's a borked 'Requires: ...'  for python3-junitxml in the .spec.

No, not borked. It's just an idiom I haven't seen before.

Once python3-junitxml gets pushed to stable and there's a compose that error will go away.

If you're building packages in koji that need it you'll have to create an Override for it.

Comment 8 Jerry James 2025-01-07 20:55:40 UTC
(In reply to Romain Geissler from comment #5)
> I am not really an experienced packager, so I don't know if we shall add
> explicitly a 'Requires: python-junitxml' but I would naively expect that we
> want to avoid listing all dependencies explicitly and rely on the different
> %py* rpm macros to generate that for us, no ?

Ideally, we let the %py* macros generate dependencies, yes.  In this case, though, upstream has not provided the metadata to indicate the dependency.  If you grep for junitxml in the subunit sources, you can see where it is used.  It might be possible to downgrade the dependency from Requires to Recommends, however, since it is only needed if the subunit2junitxml script is used.  We could even split that script out into a separate subpackage that carries the dependency if it is troublesome.

Comment 9 Romain Geissler 2025-01-07 21:09:35 UTC
Now that python-junitxml was build for EPEL 10, there is no problem anymore no, we can keep everything as is.

Comment 10 Fedora Update System 2025-01-08 03:14:16 UTC
FEDORA-EPEL-2025-e4b15038dd has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-e4b15038dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-01-09 02:38:15 UTC
FEDORA-EPEL-2025-e4b15038dd (subunit-1.4.4-4.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.