Bug 2386523 - Review Request: python-aeidon - Library for reading, writing, and manipulating subtitle files
Summary: Review Request: python-aeidon - Library for reading, writing, and manipulatin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL: https://pypi.org/project/aeidon/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-05 10:27 UTC by Sudip Shil
Modified: 2025-09-03 01:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-02 08:59:01 UTC
Type: ---
Embargoed:
panemade: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 9379755 to 9379766 (2.56 KB, patch)
2025-08-06 04:10 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9379766 to 9450234 (2.88 KB, patch)
2025-08-20 12:02 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9450234 to 9491629 (2.11 KB, patch)
2025-08-26 09:05 UTC, Fedora Review Service
no flags Details | Diff

Description Sudip Shil 2025-08-05 10:27:58 UTC
Spec URL: https://sshil.fedorapeople.org/reviews/python-aeidon/python-aeidon.spec
SRPM URL: https://sshil.fedorapeople.org/reviews/python-aeidon/python-aeidon-1.15-1.fc42.src.rpm

Description:
Aeidon is a library for reading, writing and manipulating text-based subtitle files.

Fedora Account System Username: sshil


Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=135724564

Comment 1 Sudip Shil 2025-08-05 15:28:10 UTC
Spec URL: https://sshil.fedorapeople.org/reviews/python-aeidon/python-aeidon.spec
SRPM URL: https://sshil.fedorapeople.org/reviews/python-aeidon/python-aeidon-1.15-2.fc42.src.rpm

- Switched to pyproject macros and Stopped deleting the gaupol.dist-info directory to ensure metadata is preserved

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=135734832

Comment 2 Fedora Review Service 2025-08-06 04:08:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9379755
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2386523-python-aeidon/fedora-rawhide-x86_64/09379755-python-aeidon/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 3 Fedora Review Service 2025-08-06 04:10:06 UTC
Created attachment 2102768 [details]
The .spec file difference from Copr build 9379755 to 9379766

Comment 4 Fedora Review Service 2025-08-06 04:10:09 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9379766
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2386523-python-aeidon/fedora-rawhide-x86_64/09379766-python-aeidon/fedora-review/review.txt

Found issues:

- License file AUTHORS.md is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 Parag AN(पराग) 2025-08-07 03:25:24 UTC
This package is already provided by gaupol package so we cannot add this as a separate package.
Or
explain here why new package is need to be created here?

Comment 6 Sudip Shil 2025-08-07 07:28:42 UTC
To work with subtitles, translate-toolkit need aeidon library and aeidon is only available as part of the gaupol package, installing translate-toolkit forced the system to also install the full gaupol package and all gui dependencies like gtk. 
gaupol was an orphaned package in Fedora. I took it now for little time. after creating aeidon as new fedora package, i'll orphan the gaupol again.

Comment 7 Parag AN(पराग) 2025-08-07 12:54:12 UTC
we need to update gaupol package as well to remove python3-aeidon subpackage. Can you first prepare PR against gaupol package to remove it?
Once you prepare PR, we can review this package and once this package is reviewed and built in rawhide, at same time merge that PR and build gaupol package in rawhide. Otherwise both packages will keep providing same binary package python3-aeidon.

Comment 8 Parag AN(पराग) 2025-08-10 01:09:26 UTC
Here is what I worked on gaupol.spec as https://pnemade.fedorapeople.org/fedora-work/SPECS/gaupol.spec

Comment 9 Parag AN(पराग) 2025-08-12 07:28:42 UTC
This package needs some fixes

1) rpmlint complains
python-aeidon.noarch: E: description-line-too-long Aeidon is a library for reading, writing and manipulating text-based subtitle files.
2) As you are splitting this package from gaupol, let's use release tag as 23 instead of 2
Release:        23%{?dist}

3) subpackage name should be python3-aeidon not python-aeidon
4) I think we don't need below line in %files
%{python3_sitelib}/gaupol-%{version}.dist-info/

Comment 10 Sudip Shil 2025-08-12 09:50:08 UTC
created mr for gaupol to remove aeidon subpackage and updated pyproject 
https://src.fedoraproject.org/rpms/gaupol/pull-request/4 

after mr is merged, I'll proceed creating new fedora package for python3-aeidon

Comment 11 Sudip Shil 2025-08-20 06:15:48 UTC
upstream aeidon tarball has gaupol. should we still use that tarball from pypi ?
sshil@fedora:~/sudip/python-aeidon$ ls aeidon-1.15
aeidon           AUTHORS.md  COPYING  doc      gaupol    manifests  PKG-INFO  README.aeidon.md  setup-aeidon.py  setup.py
aeidon.egg-info  bin         data     flatpak  Makefile  NEWS.md    po        README.md         setup.cfg        tools



also about removing %{python3_sitelib}/gaupol-%{version}.dist-info/ causing an error. upstream setup.py script from this tarball actually creates the metadata directory with the name gaupol-%{version}.dist-info during the %install
```
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/INSTALLER
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/METADATA
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/WHEEL
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/licenses/AUTHORS.md
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/licenses/COPYING
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/top_level.txt
    Installed (but unpackaged) file(s) found:
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/INSTALLER
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/METADATA
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/WHEEL
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/licenses/AUTHORS.md
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/licenses/COPYING
   /usr/lib/python3.14/site-packages/gaupol-1.15.dist-info/top_level.txt
```

Comment 12 Parag AN(पराग) 2025-08-20 10:07:36 UTC
(In reply to Sudip Shil from comment #11)
> upstream aeidon tarball has gaupol. should we still use that tarball from
> pypi ?

which other tarball we can use here?

Comment 13 Sudip Shil 2025-08-20 10:27:27 UTC
means if we could modify this tarball.

Comment 15 Fedora Review Service 2025-08-20 12:02:43 UTC
Created attachment 2104168 [details]
The .spec file difference from Copr build 9379766 to 9450234

Comment 16 Fedora Review Service 2025-08-20 12:02:45 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9450234
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2386523-python-aeidon/fedora-rawhide-x86_64/09450234-python-aeidon/fedora-review/review.txt

Found issues:

- License file AUTHORS.md is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 17 Parag AN(पराग) 2025-08-21 05:34:34 UTC
Still missing few things
1) in %prep section add
rm -rf .egg-info

2) add in SPEC above %prep line
generate_buildrequires
%pyproject_buildrequires

3) Remove any BuildRequires: and Requires: line first and add only
BuildRequires:  pyproject-rpm-macros
BuildRequires:  gettext

4) I suggest adding below BuildRequires line
Obsoletes: python3-aeidon < 1.15-23

5) in %install section before removal lines add explanation why removing installed files like
# As this package is split from gaupol, we don't
# need gaupol package related files to be installed


Update the SPEC and SRPM

Comment 19 Fedora Review Service 2025-08-26 09:05:23 UTC
Created attachment 2104855 [details]
The .spec file difference from Copr build 9450234 to 9491629

Comment 20 Fedora Review Service 2025-08-26 09:05:26 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9491629
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2386523-python-aeidon/fedora-rawhide-x86_64/09491629-python-aeidon/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 21 Parag AN(पराग) 2025-08-28 10:30:36 UTC
Looks good now.

One thing I found after running fedora-review on latest SRPM
1) I got confused by this guideline https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_build_time_dependency_on_python3_devel
but looks like you need to change below line in SPEC
 BuildRequires:  pyproject-rpm-macros
to
 BuildRequires:  python3-devel

APPROVED.

Comment 23 Parag AN(पराग) 2025-08-29 01:57:11 UTC
Thank you for the update.
You can build gaupol first and then this package in rawhide now.

Comment 24 Fedora Admin user for bugzilla script actions 2025-08-29 08:37:38 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-aeidon

Comment 25 Fedora Update System 2025-08-29 09:27:42 UTC
FEDORA-2025-194c843ae2 (python-aeidon-1.15-23.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-194c843ae2

Comment 26 Fedora Update System 2025-08-29 09:38:06 UTC
FEDORA-2025-9d0d6c2257 (python-aeidon-1.15-23.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9d0d6c2257

Comment 27 Fedora Update System 2025-08-29 09:49:03 UTC
FEDORA-2025-b59a069366 (python-aeidon-1.15-23.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b59a069366

Comment 28 Fedora Update System 2025-08-29 09:55:35 UTC
FEDORA-2025-ef096d9145 (gaupol-1.15-23.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef096d9145

Comment 29 Fedora Update System 2025-08-30 01:10:53 UTC
FEDORA-2025-194c843ae2 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-194c843ae2 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-194c843ae2

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

Comment 30 Fedora Update System 2025-08-30 01:10:56 UTC
FEDORA-2025-ef096d9145 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ef096d9145`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef096d9145

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

Comment 31 Fedora Update System 2025-09-02 08:53:32 UTC
FEDORA-2025-eb031e91f9 (gaupol-1.15-24.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-eb031e91f9

Comment 32 Fedora Update System 2025-09-02 08:59:01 UTC
FEDORA-2025-eb031e91f9 (gaupol-1.15-24.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 33 Fedora Update System 2025-09-03 01:13:36 UTC
FEDORA-2025-f1f2cf95c2 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f1f2cf95c2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f1f2cf95c2

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


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