Bug 1218725

Summary: python3x-psycopg cannot be installed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Andreas Hasenkopf <ahasenkopf>
Component: PythonAssignee: Steve Kowalik <steven.kowalik>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: steven.kowalik
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Hasenkopf 2024-01-11 12:12:27 UTC
None of the packages `python3x-psycopg` (where x in [9, 10, 11]) 
can be installed due to this problem:

```
# zypper in python39-psycopg
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'python39-psycopg-c = 3.1.13' needed by the to be installed python39-psycopg-3.1.13-1.1.noarch
 Solution 1: do not install python39-psycopg-3.1.13-1.1.noarch
 Solution 2: break python39-psycopg-3.1.13-1.1.noarch by ignoring some of its dependencies
```

```
# zypper in python310-psycopg
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'python310-psycopg-c = 3.1.13' needed by the to be installed python310-psycopg-3.1.13-1.1.noarch
 Solution 1: do not install python310-psycopg-3.1.13-1.1.noarch
 Solution 2: break python310-psycopg-3.1.13-1.1.noarch by ignoring some of its dependencies
```

```
# zypper in python311-psycopg
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'python311-psycopg-c = 3.1.13' needed by the to be installed python311-psycopg-3.1.13-1.1.noarch
 Solution 1: do not install python311-psycopg-3.1.13-1.1.noarch
 Solution 2: break python311-psycopg-3.1.13-1.1.noarch by ignoring some of its dependencies
```
Comment 1 Andreas Hasenkopf 2024-01-11 15:25:53 UTC
For the sake of completeness:

```
$ docker run -it --rm registry.opensuse.org/opensuse/tumbleweed:latest
# zypper ref
# zypper info python311-psycopg
Loading repository data...
Reading installed packages...


Information for package python311-psycopg:
------------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : python311-psycopg
Version        : 3.1.13-1.1
Arch           : noarch
Vendor         : openSUSE
Installed Size : 1.9 MiB
Installed      : No
Status         : not installed
Source package : python-psycopg-3.1.13-1.1.src
Upstream URL   : https://psycopg.org/psycopg3/
Summary        : PostgreSQL database adapter for Python
Description    : 
    PostgreSQL database adapter for Python

# zypper info python311-psycopg-c
Loading repository data...
Reading installed packages...


Information for package python311-psycopg-c:
--------------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : python311-psycopg-c
Version        : 3.1.15-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 1.0 MiB
Installed      : No
Status         : not installed
Source package : python-psycopg-c-3.1.15-1.1.src
Upstream URL   : https://psycopg.org/psycopg3/
Summary        : PostgreSQL database adapter for Python -- C optimisation distribution
Description    : 
    PostgreSQL database adapter for Python -- C optimisation distribution

# zypper in python311-psycopg
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'python311-psycopg-c = 3.1.13' needed by the to be installed python311-psycopg-3.1.13-1.1.noarch
 Solution 1: do not install python311-psycopg-3.1.13-1.1.noarch
 Solution 2: break python311-psycopg-3.1.13-1.1.noarch by ignoring some of its dependencies
Comment 2 Steve Kowalik 2024-01-12 06:02:01 UTC
There are fixes in flight for this bug, updating both psycopg and psycopg-c to 3.1.16.
Comment 3 Steve Kowalik 2024-01-17 05:54:50 UTC
3.1.17 has been released to Factory.