Introducing %pyproject_check_import, checks importability of all found Python modules

2021-10-29 Thread Karolina Surma
Hello, the new versions of pyproject-rpm-macros (0-49) and python-rpm-macros (3.10-12) landed in Rawhide. Updates are available for older Fedoras: F35: https://bodhi.fedoraproject.org/updates/FEDORA-2021-fd8d8c5f66 F34: https://bodhi.fedoraproject.org/updates/FEDORA-2021-22b68be2d5 F33: https:

HEADS UP: Slightly more robust Python Requires generated by RPM

2021-10-29 Thread Miro Hrončok
Hello Pythonistas, just a heads up that in rawhide, the automatically generated requirements on Python packages, e.g. python3.Xdist(DISTNAME), ar enow generated in more strict form. If a package required "PyYAML < 6", it was previously generated as: python3.10dist(pyyaml) < 6 Which was

Re: HEADS UP: Slightly more robust Python Requires generated by RPM

2021-10-29 Thread Miro Hrončok
On 29. 10. 21 14:39, Miro Hrončok wrote: From now on, it will be generated as:     python3.10dist(pyyaml) < 6~ Which will not be satisfied by any alpha/beta/rc release of PyYAML 6. An only as I was typing this, I have realized that it won't work for dev releases, because 6~~dev1 < 6~ :(