Overview

Request 822425 accepted

Incredibly useful build tool


Tomáš Chvátal's avatar

That %pythons requires is wrong; same in buildrequire, if you need newer just require module base of that version during build.

Also could you make it not depend on pytest-runner as that thing is deprecated by upstream? Also execing tests using %pytest macro probably?


John Vandenberg's avatar

Done the base version.

https://github.com/pytest-dev/pytest-runner/ still works, and the deprecation notice is about things that are of little significance to distro built infrastructure. Or are we also removing all use of setup.py test ?

It is used by this package. I am not using it out of personal choice. I can cut it out of the setup.py of course

As you know %pytest does not check versions of dependencies while setup.py test and setup.py pytest do. The latter protects against successful builds that emit unusable bin scripts that fail on invocation, because setuptools bin scripts do check dependency versions. I encounter this all the time, e.g. the recent dephell_changelogs fix.

I do recall there being another tool that will check dependency versions. Maybe should get that into the macros. I'll try to dig it up.



Tomáš Chvátal's avatar

For the dependencies we plan to introduce it in rpmlint but it is WIP still https://github.com/rpm-software-management/rpmlint/pull/430


John Vandenberg's avatar

Great. OK, removed.


Request History
John Vandenberg's avatar

jayvdb created request

Incredibly useful build tool


Matej Cepl's avatar

mcepl accepted request

openSUSE Build Service is sponsored by