Bug 2240027

Summary: python3-pytoolconfig obsolete issue
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: fedora-obsolete-packagesAssignee: Miro Hrončok <mhroncok>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: j, maxwell, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-02 08:44:39 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:

Description Kamil Páral 2023-09-21 11:47:13 UTC
It seems there's some problem when obsoleting python3-pytoolconfig. Once I update to the updates-testing version, all future updates report broken dependencies (and distrosync wants to downgrade back). See below.


$ rpm -q python3-rope python3-pytoolconfig
python3-rope-0.22.0-7.fc39.noarch
package python3-pytoolconfig is not installed


$ sudo dnf update
Last metadata expiration check: 0:05:14 ago on Čt 21. září 2023, 13:36:44.
Dependencies resolved.
==========================================================================================
 Package                    Architecture Version              Repository             Size
==========================================================================================
Upgrading:
 python3-rope               noarch       1.3.0-2.fc39         updates-testing       565 k
Installing dependencies:
 python3-pytoolconfig       noarch       1.2.5-1.fc39         updates-testing        50 k

Transaction Summary
==========================================================================================
Install  1 Package
Upgrade  1 Package

Total download size: 614 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): python3-pytoolconfig-1.2.5-1.fc39.noarch.rpm       1.3 MB/s |  50 kB     00:00    
(2/2): python3-rope-1.3.0-2.fc39.noarch.rpm               6.8 MB/s | 565 kB     00:00    
------------------------------------------------------------------------------------------
Total                                                     975 kB/s | 614 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                  1/1 
  Installing       : python3-pytoolconfig-1.2.5-1.fc39.noarch                         1/3 
  Upgrading        : python3-rope-1.3.0-2.fc39.noarch                                 2/3 
  Cleanup          : python3-rope-0.22.0-7.fc39.noarch                                3/3 
  Running scriptlet: python3-rope-0.22.0-7.fc39.noarch                                3/3 
  Verifying        : python3-pytoolconfig-1.2.5-1.fc39.noarch                         1/3 
  Verifying        : python3-rope-1.3.0-2.fc39.noarch                                 2/3 
  Verifying        : python3-rope-0.22.0-7.fc39.noarch                                3/3 

Upgraded:
  python3-rope-1.3.0-2.fc39.noarch                                                        
Installed:
  python3-pytoolconfig-1.2.5-1.fc39.noarch                                                


$ rpm -q python3-rope python3-pytoolconfig
python3-rope-1.3.0-2.fc39.noarch
python3-pytoolconfig-1.2.5-1.fc39.noarch


$ sudo dnf update
Last metadata expiration check: 0:05:25 ago on Čt 21. září 2023, 13:36:44.
Dependencies resolved.

 Problem: package python3-rope-1.3.0-2.fc39.noarch from @System requires python3.12dist(pytoolconfig) >= 1.1.2, but none of the providers can be installed
  - package fedora-obsolete-packages-39-15.noarch from updates-testing obsoletes python3-pytoolconfig < 1.2.5-2 provided by python3-pytoolconfig-1.2.5-1.fc39.noarch from @System
  - package fedora-obsolete-packages-39-15.noarch from updates-testing obsoletes python3-pytoolconfig < 1.2.5-2 provided by python3-pytoolconfig-1.2.5-1.fc39.noarch from updates-testing
  - cannot install the best update candidate for package python3-rope-1.3.0-2.fc39.noarch
  - cannot install the best update candidate for package python3-pytoolconfig-1.2.5-1.fc39.noarch
Nothing to do.
Complete!


$ sudo dnf distrosync
Last metadata expiration check: 0:09:42 ago on Čt 21. září 2023, 13:36:44.
Dependencies resolved.
==========================================================================================
 Package                    Architecture Version             Repository              Size
==========================================================================================
Removing dependent packages:
 python3-pytoolconfig       noarch       1.2.5-1.fc39        @updates-testing       114 k
Downgrading:
 python3-rope               noarch       0.22.0-7.fc39       fedora                 524 k

Transaction Summary
==========================================================================================
Remove     1 Package
Downgrade  1 Package

Total download size: 524 k
Is this ok [y/N]: n
Operation aborted.


Reproducible: Always

Comment 1 Miro Hrončok 2023-09-21 12:00:07 UTC
pytoolconfig was obsoleted because it existed in Fedora 38 but it did not exist in Fedora 39/40.

Normally, packages appear in Fedora 40 before Fedora 38 (and I manually check Bodhi when 39 is missing something available in 40). However, here the package appeared in rawhide 2 weeks after Fedora 38, so when the Obsoletes were added, it appeared as a package that was removed in Fedora 39+.

I will fix this today.

Comment 2 Miro Hrončok 2023-09-21 12:03:07 UTC
In the meantime, I've unpushed https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2bf76ec59

Comment 3 Fedora Update System 2023-09-21 12:56:51 UTC
FEDORA-2023-c2bf76ec59 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2bf76ec59

Comment 4 Fedora Update System 2023-09-22 01:40:44 UTC
FEDORA-2023-c2bf76ec59 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c2bf76ec59`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c2bf76ec59

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

Comment 5 Fedora Update System 2023-09-30 00:16:35 UTC
FEDORA-2023-c2bf76ec59 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.