Python RPM dependency generators and LegacyVersion, time to error?

2021-11-04 Thread Miro Hrončok
Hello Pythonistas. After some recent improvements in the Python RPM dependency generators, a regression was discovered [0]. Turns out the error happened when the upstream metadata contained a requirement with a PEP 440 [1] incompatible version. A fix is pending and only one package in Fedora

Re: Python RPM dependency generators and LegacyVersion, time to error?

2021-11-04 Thread Neal Gompa
On Thu, Nov 4, 2021 at 7:50 AM Miro Hrončok wrote: > > Hello Pythonistas. > > After some recent improvements in the Python RPM dependency generators, a > regression was discovered [0]. > > Turns out the error happened when the upstream metadata contained a > requirement > with a PEP 440 [1] incom

Re: Python RPM dependency generators and LegacyVersion, time to error?

2021-11-04 Thread Miro Hrončok
On 04. 11. 21 13:42, Neal Gompa wrote: On Thu, Nov 4, 2021 at 7:50 AM Miro Hrončok wrote: ... Hence, I propose we do the following in Rawhide: We turn LegacyVersions to failures, but we provide a stop-gap measure, such as (%global python_dependency_allow_legacy_version_provides 1 / %global py