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
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@gmail.com 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@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@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/packaging@lists.fedoraproject....
On 02. 03. 20 18:32, Sergio Pascual 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.
This is a know bug: https://bugzilla.redhat.com/show_bug.cgi?id=1758141
What Fedora version is this?
El lun., 2 mar. 2020 a las 18:45, Miro Hrončok (mhroncok@redhat.com) escribió:
On 02. 03. 20 18:32, Sergio Pascual 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:
the management of RPM dependencies or if this is not valid python.
This is a know bug: https://bugzilla.redhat.com/show_bug.cgi?id=1758141
What Fedora version is this?
I'm running fedora 31. The package is being built for fedora 33
-- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok
On 02. 03. 20 19:00, Sergio Pascual wrote:
El lun., 2 mar. 2020 a las 18:45, Miro Hrončok (<mhroncok@redhat.com mailto:mhroncok@redhat.com>) escribió:
On 02. 03. 20 18:32, Sergio Pascual 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: > > > the management of RPM dependencies or if this is not valid python. This is a know bug: https://bugzilla.redhat.com/show_bug.cgi?id=1758141 What Fedora version is this?
I'm running fedora 31. The package is being built for fedora 33
As a workaround, please patch the * out from upstream metadata. We have 4.0, so you can replace it with:
astropy>3.1.1
packaging@lists.fedoraproject.org