Bug 2423975 - Review Request: python-diagnostic - Build command line tools with great error reporting
Summary: Review Request: python-diagnostic - Build command line tools with great error...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-19 21:13 UTC by Jerry James
Modified: 2025-12-30 00:38 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-30 00:38:40 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 9936495 to 9936651 (717 bytes, patch)
2025-12-19 23:29 UTC, Fedora Review Service
no flags Details | Diff

Description Jerry James 2025-12-19 21:13:12 UTC
Spec URL: https://jjames.fedorapeople.org/python-diagnostic/python-diagnostic.spec
SRPM URL: https://jjames.fedorapeople.org/python-diagnostic/python-diagnostic-3.0.0-1.fc44.src.rpm
Fedora Account System Username: jjames
Description: The diagnostic package makes it easier to build command line tools with great error reporting.

I am willing to swap reviews.

Comment 1 Fedora Review Service 2025-12-19 21:15:07 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9936495
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2423975-python-diagnostic/fedora-rawhide-x86_64/09936495-python-diagnostic/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Jerry James 2025-12-19 23:26:19 UTC
[fedora-review-service-build]

Comment 3 Fedora Review Service 2025-12-19 23:29:52 UTC
Created attachment 2119297 [details]
The .spec file difference from Copr build 9936495 to 9936651

Comment 4 Fedora Review Service 2025-12-19 23:29:54 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9936651
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2423975-python-diagnostic/fedora-rawhide-x86_64/09936651-python-diagnostic/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Neal Gompa 2025-12-20 15:59:36 UTC
Taking this review.

Comment 6 Neal Gompa 2025-12-20 16:13:49 UTC
Ooh, I'm excited to see something using declarative builds!

Spec review:

> VCS:            git:%{giturl}.git

Uhh, what is this? We have no specification for the VCS tag, so how is something supposed to figure this out?

(Also, wouldn't git+https make sense as the protocol?)

Review notes:

* Package output follows Fedora Packaging Guidelines
* Package builds and installs
* Some directory ownership issues (dynamic subpackage definitions aren't pulling in Python as a runtime dep?)
  - From fedora-review: Note: Directories without known owners: /usr/lib/python3.14, /usr/lib/python3.14/site-packages
* Package licensing seems to be correct and valid

I'm not sure what we should do about the directory ownership issue...?

Comment 7 Jerry James 2025-12-21 00:02:22 UTC
(In reply to Neal Gompa from comment #6)
> > VCS:            git:%{giturl}.git
> 
> Uhh, what is this? We have no specification for the VCS tag, so how is
> something supposed to figure this out?

I'm not sure what you mean.  The VCS tag is described here: https://rpm.org/docs/6.0.x/manual/tags.html.  The part on the left of the first colon is the command to run to checkout the upstream source code repository.  The part on the right is the argument(s) to give to that command.

> (Also, wouldn't git+https make sense as the protocol?)

It isn't a protocol.  It's a command to run.

> Review notes:
> 
> * Package output follows Fedora Packaging Guidelines
> * Package builds and installs
> * Some directory ownership issues (dynamic subpackage definitions aren't
> pulling in Python as a runtime dep?)
>   - From fedora-review: Note: Directories without known owners:
> /usr/lib/python3.14, /usr/lib/python3.14/site-packages
> * Package licensing seems to be correct and valid
> 
> I'm not sure what we should do about the directory ownership issue...?

I've seen that on the last few python reviews I've done.  I'm not sure what changed to make that warning start popping up, but I think it is spurious.  In this case:
- python3-diagnostic Requires python(abi)
- python(abi) is Provided by the python3 package
- python3 Requires python3-libs
- python3-libs owns both /usr/lib/python3.14 and /usr/lib/python3.14/site-packages

So there really is no directory ownership issue.  We should probably figure out how to make fedora-review stop warning about it.

Comment 8 Neal Gompa 2025-12-21 11:44:03 UTC
(In reply to Jerry James from comment #7)
> (In reply to Neal Gompa from comment #6)
> > > VCS:            git:%{giturl}.git
> > 
> > Uhh, what is this? We have no specification for the VCS tag, so how is
> > something supposed to figure this out?
> 
> I'm not sure what you mean.  The VCS tag is described here:
> https://rpm.org/docs/6.0.x/manual/tags.html.  The part on the left of the
> first colon is the command to run to checkout the upstream source code
> repository.  The part on the right is the argument(s) to give to that
> command.
> 
> > (Also, wouldn't git+https make sense as the protocol?)
> 
> It isn't a protocol.  It's a command to run.
> 

But what *actually* does this? Because I don't know of anything that does...

But okay, that *is* what it says...

> > Review notes:
> > 
> > * Package output follows Fedora Packaging Guidelines
> > * Package builds and installs
> > * Some directory ownership issues (dynamic subpackage definitions aren't
> > pulling in Python as a runtime dep?)
> >   - From fedora-review: Note: Directories without known owners:
> > /usr/lib/python3.14, /usr/lib/python3.14/site-packages
> > * Package licensing seems to be correct and valid
> > 
> > I'm not sure what we should do about the directory ownership issue...?
> 
> I've seen that on the last few python reviews I've done.  I'm not sure what
> changed to make that warning start popping up, but I think it is spurious. 
> In this case:
> - python3-diagnostic Requires python(abi)
> - python(abi) is Provided by the python3 package
> - python3 Requires python3-libs
> - python3-libs owns both /usr/lib/python3.14 and
> /usr/lib/python3.14/site-packages
> 
> So there really is no directory ownership issue.  We should probably figure
> out how to make fedora-review stop warning about it.

Sigh, okay. :/

There aren't any other issues, so...

PACKAGE APPROVED.

Comment 9 Jerry James 2025-12-21 16:31:43 UTC
(In reply to Neal Gompa from comment #8)
> But what *actually* does this? Because I don't know of anything that does...

The VCS field is strictly informative.  It's for the benefit of those who install the package and want to know how to get hold of the source code.  You are correct: as far as I know, there is no software that consumes that field.

> There aren't any other issues, so...
> 
> PACKAGE APPROVED.

Thank you for the review, Neal.  I appreciate it.

Comment 10 Fedora Admin user for bugzilla script actions 2025-12-21 16:35:15 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-diagnostic

Comment 11 Fedora Update System 2025-12-21 17:51:38 UTC
FEDORA-2025-0d60a4a2f4 (python-diagnostic-3.0.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0d60a4a2f4

Comment 12 Fedora Update System 2025-12-22 01:38:55 UTC
FEDORA-2025-0d60a4a2f4 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0d60a4a2f4 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0d60a4a2f4

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

Comment 13 Fedora Update System 2025-12-30 00:38:40 UTC
FEDORA-2025-0d60a4a2f4 (python-diagnostic-3.0.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.