On 19. 04. 20 10:05, Miro Hrončok wrote:
On 19. 04. 20 9:51, Miro Hrončok wrote:
On 19. 04. 20 2:16, Jerry James wrote:
What generates the python3dist(module) provides?  I ask because I did
a build of python-nb2plots today for which those provides were not
generated:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1495361

even though they were for the previous build:

https://koji.fedoraproject.org/koji/buildinfo?buildID=1449952

although with questionable values:

python3.8dist(nb2plots) = 0+unknown
python3dist(nb2plots) = 0+unknown

This:

https://src.fedoraproject.org/rpms/python-rpm-generators/blob/master/f/pythondistdeps.py https://src.fedoraproject.org/rpms/python-rpm-generators/blob/master/f/pythondist.attr

Let me try to debug it.

My first rough idea is:

The version in upstream metadata is not valid.

Downstream (dep generator):

...snip...

Upstream (invalid version):

Correction, this is valid:

https://www.python.org/dev/peps/pep-0440/#local-version-identifiers

But in this package case, we don't want version 0, so valid, but wrong.


Followup on the generator problem:

https://github.com/rpm-software-management/rpm/issues/1183

 - the traceback should say: Cannot process Python package version: 0+unknown
 - the build should abort on errors
 - the version is actually valid

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org

Reply via email to