On Tue, 22 Aug 2017, Scott Talbert wrote:
> Hi,
>
> I was just trying to build a new package in Rawhide that built fine a
> few days ago. The failure seems to be occurring because the python3
> setuptools_scm module isn't being found. I'm using the new
> pythonXdist tags:
>
> BuildRequires: %{py2_dist py pytest setuptools_scm}
> BuildRequires: %{py3_dist py pytest setuptools_scm}
>
> It seems this is causing several of the recently added platform-python
> packages to be pulled in:
> Installing:
> platform-python-pytest noarch 3.2.1-2.fc28 fedora
> 438 k
> platform-python-setuptools_scm noarch 1.15.6-4.fc28 fedora
> 36 k
>
> Both the python3-setuptools_scm and platform-python-setuptools_scm
> packages have the python3dist tag:
>
> $ rpm -q --provides -p
> platform-python-setuptools_scm-1.15.6-4.fc28.noarch.rpm
> warning: platform-python-setuptools_scm-1.15.6-4.fc28.noarch.rpm:
> Header V3 RSA/SHA256 Signature, key ID 9db62fb1: NOKEY
> platform-python-setuptools_scm = 1.15.6-4.fc28
> python3.6dist(setuptools-scm) = 1.15.6
> python3dist(setuptools-scm) = 1.15.6
>
> $ rpm -q --provides -p python3-setuptools_scm-1.15.6-4.fc28.noarch.rpm
> warning: python3-setuptools_scm-1.15.6-4.fc28.noarch.rpm: Header V3
> RSA/SHA256 Signature, key ID 9db62fb1: NOKEY
> python3-setuptools_scm = 1.15.6-4.fc28
> python3.6dist(setuptools-scm) = 1.15.6
> python3dist(setuptools-scm) = 1.15.6
> [swt2c@rawhide-test ~][PROD]$
>
> It seems that probably the platform-python packages shouldn't have
> these tags?
I'm hearing a lot of crickets.
I filed
https://bugzilla.redhat.com/show_bug.cgi?id=1484607 against rpm
as I didn't see any obvious way for the platform-python packages to
exclude themselves from the python3dist provides.
I'm just going to stop using the py3_dist stuff for now.
Scott
This has just been fixed. Thanks for noticing.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok