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.
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?
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 whilesetup.py test
andsetup.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.
We are trying on both to kill them. Albeit slowly, now the prio is to gut away the nose.
https://trello.com/b/WsskhdXA/opensuse-python https://trello.com/c/pzVqIF0o/69-remove-python-pytest-runner-as-setuppy-test-is-deprecated https://trello.com/c/Jeur3I2D/26-say-goodbye-to-python-setuppy-test
For the dependencies we plan to introduce it in rpmlint but it is WIP still https://github.com/rpm-software-management/rpmlint/pull/430
Great. OK, removed.
@StevenK, @TheBlackCat, @alarrosa, @aplanas, @dirkmueller, @glaubitz, @mcepl, @mimi_vx, @posophe, @rjschwei, @scarabeus_iv, @sleep_walker, @tbechtold: review reminder