Re: Ilegal char when computing python dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is bug in Python RPM dependency generator. I'm not sure if it is fixed upstream, but if it is - we need to backport it.

Can you open issue at https://github.com/rpm-software-management/rpm ?

On Mon, Mar 2, 2020, 18:33 Sergio Pascual <sergio.pasra@xxxxxxxxx> wrote:
Hi, I have a python package that has most of its information in setup.cfg. I'm updating to python-photutils 0.7.2 and when mock is computing the Requires it shows:

Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) python(abi) = 3.8 python3.8dist(numpy) >= 1.13 rtld(GNU_HASH)
Obsoletes: python-photutils < 0.7.2-1.fc33
Recommends: python3-matplotlib python3-scikit-image python3-scipy
RPM build errors:
    Illegal char '*' (0x2a) in: 3.0.*
Child return code was: 1

This is caused by the following line in setup.cfg

[options]
...
install_requires =
    astropy>=2.0.12,!=3.0.*,!=3.1,!=3.1.1

I don't know if the * character is allowed here and the error is a limitation in the management of RPM dependencies or if this is not valid python.

Best. Sergio

_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/packaging@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/packaging@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux