[HEADS UP] Trailing zeros are stripped from Python provides/requires

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

 



Hey,

pip and Python packages generally deem 5.4.0 == 5.4.

In order to allow processing != dependencies in Python generators, we now strip the trailing zero(s) for automatic Python provides and requires.

E.g. python3-josepy-1.1.0-9.fc31 provides python3.7dist(josepy) = 1.1

What I wrongfully have not anticipated at first is that now some dependent packages can break if they are no both rebuilt. Packages rebuilt prior to this change might require stuff like "python3.7dist(josepy) >= 1.1.0".

I'm sorry for that breakage, it should not be very common.
Rebuilding the package with such broken dependencies should fix it and evrything should be fine after the mass rebuild.

There is a very little change when a package cannot be rebuilt to be fixed, because some other package (needed to build this one) suffers from the same problem. Let me know if you need my help to untagle any possible mess in this.

See https://src.fedoraproject.org/rpms/python-rpm-generators/c/ff085a044d19dd40aaeb236a11fe024c064ef16a?branch=master
https://github.com/rpm-software-management/rpm/pull/757
https://github.com/rpm-software-management/rpm/issues/639

Sorry about the breakage.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux