Bug 2274649

Summary: Please branch and build python-psycopg3 in epel9
Product: [Fedora] Fedora EPEL Reporter: Michel Lind <michel>
Component: python-psycopg3Assignee: Ondřej Sloup <osloup>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: osloup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-psycopg3-3.1.18-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-24 02:25:47 UTC Type: ---
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:    
Bug Blocks: 1914423, 2274636    

Description Michel Lind 2024-04-11 23:07:39 UTC
Please branch and build python-psycopg3 in epel9.

If you do not wish to maintain python-psycopg3 in epel9,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/python-psycopg3/addgroup
and grant it commit access, or collaborator access on epel* branches.

I would also be happy to be a co-maintainer (FAS: salimma);
please add me through https://src.fedoraproject.org/rpms/python-psycopg3/adduser

Comment 1 Michel Lind 2024-04-11 23:08:30 UTC
*** Bug 2274648 has been marked as a duplicate of this bug. ***

Comment 2 Michel Lind 2024-04-11 23:11:03 UTC
Builds with https://src.fedoraproject.org/rpms/python-psycopg3/pull-request/8 (though note that Koji epel9 build is broken at the moment), tested locally with mock

```
$ cat ~/.config/mock/epel9-next-postgresql-x86_64.cfg 
include('/etc/mock/centos-stream+epel-next-9-x86_64.cfg')

config_opts['root'] = 'epel9-next-postgresql-x86_64'

config_opts['module_enable'] = ['postgresql:15']

$ V=epel9-next-postgresql mock -r $V-(uname -m) --chain --localrepo=./repo/ --postinstall ./*.src.rpm
```

Comment 3 Michel Lind 2024-04-17 19:14:49 UTC
linking JIRA for requesting the missing postgresql-test-rpm-macros subpackage needed for testing, that the PR currently works around by borrowing the needed definitions

Comment 4 Michel Lind 2024-04-17 20:30:12 UTC
added link to simpler PR that does the bare minimum (disabling tests rather than bundling the necessary postgresql-test-rpm-macros file needed)

Comment 5 Ondřej Sloup 2024-04-21 22:04:13 UTC
Thank you for the PRs. I've merged the simpler alternative (PR #9). When the RPM macros are shipped, we can enable it.

Comment 6 Michel Lind 2024-04-23 22:13:13 UTC
(In reply to Ondřej Sloup from comment #5)
> Thank you for the PRs. I've merged the simpler alternative (PR #9). When the
> RPM macros are shipped, we can enable it.

Hi Ondřej,

With PR#9 (thanks for merging!) the package can be built on EPEL 9 already, since tests are disabled so the missing test dependency does not have to be installed.

Can this be branched and built for EPEL 9? Scratch build - https://koji.fedoraproject.org/koji/taskinfo?taskID=116792203 succeeded just fine now that the PR is merged.

Or as noted above, I'm happy to maintain it in EPEL (FAS: salimma) -- and the epel-packagers-sig group too; see https://docs.fedoraproject.org/en-US/epel/epel-package-request/#epel_packagers_sig_members

If you just grant us collaborator access on epel*, you won't have to worry about any unreviewed commits landing in the Fedora branches.

Comment 7 Fedora Update System 2024-04-23 22:15:58 UTC
FEDORA-EPEL-2024-e9e42cffe7 (python-psycopg3-3.1.18-4.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-e9e42cffe7

Comment 8 Michel Lind 2024-04-23 22:16:38 UTC
(In reply to Michel Lind from comment #6)

> Hi Ondřej,
> 
> With PR#9 (thanks for merging!) the package can be built on EPEL 9 already,
> since tests are disabled so the missing test dependency does not have to be
> installed.
> 
> Can this be branched and built for EPEL 9? Scratch build -
> https://koji.fedoraproject.org/koji/taskinfo?taskID=116792203 succeeded just
> fine now that the PR is merged.
> 
Just noticed it's actually built... but not pushed to Bodhi. I've just done that - thanks for building it!

Comment 9 Fedora Update System 2024-04-24 02:25:47 UTC
FEDORA-EPEL-2024-e9e42cffe7 (python-psycopg3-3.1.18-4.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.