Bug 1484607 - platform-python packages have python3dist and python3.6dist provides
Summary: platform-python packages have python3dist and python3.6dist provides
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rpm-generators
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-24 01:12 UTC by Scott Talbert
Modified: 2017-08-24 12:51 UTC (History)
14 users (show)

Fixed In Version: python-rpm-generators-4.13.0.1-4.fc28, python-rpm-generators-4.13.0.1-4.fc27, python-setuptools_scm-1.15.6-5.fc28, python-setuptools_scm-1.15.6-5.fc27, python-hypothesis-3.12.0-4.fc28,python-hypothesis-3.12.0-4.fc27,pytest-3.2.1-3.fc28,pytest-3.2.1-3.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-24 12:51:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Scott Talbert 2017-08-24 01:12:57 UTC
As part of https://fedoraproject.org/wiki/Changes/Platform_Python_Stack, it appears that the platform-python-* packages have been recently added to Rawhide.  These packages appear to have the python3dist and python3.6dist provides, which is problematic.  If you attempt to install, say, python3dist(setuptools-scm), you will get the platform-python version and not the python3 version.

[swt2c@rawhide-test ~][PROD]$ sudo dnf install python3dist\(setuptools-scm\)
Failed to synchronize cache for repo 'fedora', disabling.
Failed to synchronize cache for repo 'infrastructure-tags', disabling.
Last metadata expiration check: 1:03:09 ago on Thu 24 Aug 2017 12:06:38 AM UTC.
Dependencies resolved.
================================================================================
 Package                           Arch      Version           Repository  Size
================================================================================
Installing:
 platform-python-setuptools_scm    noarch    1.15.6-4.fc28     rawhide     36 k
Installing dependencies:
 platform-python                   x86_64    3.6.2-12.fc28     rawhide     20 k
 platform-python-libs              x86_64    3.6.2-12.fc28     rawhide    6.9 M

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 6.9 M
Installed size: 26 M
Is this ok [y/N]: n
Operation aborted.

I filed this against rpm as I don't see any way the platform-python packages can exclude themselves from these provides, so I would think this would need to be fixed in rpm and then the platform-python packages need to be rebuilt.

Comment 1 Miro Hrončok 2017-08-24 10:01:54 UTC
Thanks for reporting. Will have a look at this today.

Comment 2 Miro Hrončok 2017-08-24 10:23:19 UTC
I believe this is part of python3-rpm-generators in Fedora.

Comment 3 Miro Hrončok 2017-08-24 10:58:28 UTC
This only happens for some packages:

$ dnf repoquery --release=rawhide --disablerepo=\* --enablerepo=koji --provides platform-python-\*  | grep dist
python3.6dist(hypothesis) = 3.12.0
python3.6dist(pytest) = 3.2.1
python3.6dist(setuptools-scm) = 1.15.6
python3dist(hypothesis) = 3.12.0
python3dist(pytest) = 3.2.1
python3dist(setuptools-scm) = 1.15.6

Comment 4 Miro Hrončok 2017-08-24 11:05:25 UTC
And even less in f27:

$ dnf repoquery --release=27 --disablerepo=\* --enablerepo=fedora --provides platform-python-\*  | grep dist
python3.6dist(hypothesis) = 3.12.0
python3.6dist(setuptools-scm) = 1.15.6
python3dist(hypothesis) = 3.12.0
python3dist(setuptools-scm) = 1.15.6

Comment 5 Miro Hrončok 2017-08-24 11:52:19 UTC
I have a fix ready, testing

Comment 6 Miro Hrončok 2017-08-24 12:02:49 UTC
Waiting for the builds to hit the repository, so I can rebuild packages.

Comment 7 Miro Hrončok 2017-08-24 12:40:39 UTC
rebuilding hypothesis, pytest, setuptools-scm in f27 and rawhide


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