setup.py test leftovers #633

Closed
opened 2025-12-29 01:25:57 +01:00 by mcepl · 0 comments
Owner

There are few special uses of setup.py test, eventually worth to replace.


Checklist: custom test command

  • python-apsw "# python setup.py test is in this case very complicated home-brewn, .."
  • python-pycairo "# this is not the deprecated setuptools test call but a custom setup compiling stuff and running pytest"
  • python-django-eremaea2 runtests.py now using pytest sr#965517
  • python-fabio run_tests.py sr#971316 -- run_tests.py uses unittest discovery
  • python-Pympler own test command
  • python-pycryptodome now uses it's own Crypto.SelfTest module to test
  • python-pycryptodomex now uses it's own Cryptodome.SelfTest module to test
  • python-PyYAML implements own setup.py test() command

Checklist: openstack

Checklist: test suite does not run or is not present at all

  • python-bpython testsuite does not run at all
  • python-pyalsaaudio converted to pytest sr#974811
  • python-musicbrainzngs upstream have fixed the testsuite, and migrated to pytest sr#972989
  • python-calysto testsuite not present, not even upstream
  • python-husl testsuite not present in tarball, other repo not found, upstream url does not work
  • python-PyPrint no tests in tarball, issued delete request: https://build.opensuse.org/request/show/932471

Checklist: only for older distros, probably ok

  • python-Genshi %if %{suse_version} < 1550, otherwise %pyunittest_arch
  • python-html5-parser %pyunittest_arch %if 0%{?suse_version} > 1500
  • python-jmespath %if 0%{?suse_version} > 1500 %pyunittest

Trello Labels (Unmatched): deprecations

There are few special uses of setup.py test, eventually worth to replace. --- ### Checklist: custom test command - [x] python-apsw "# python setup.py test is in this case very complicated home-brewn, .." - [x] python-pycairo "# this is not the deprecated setuptools test call but a custom setup compiling stuff and running pytest" - [x] python-django-eremaea2 runtests.py now using pytest sr#965517 - [x] python-fabio run_tests.py sr#971316 -- run_tests.py uses unittest discovery - [x] python-Pympler own test command - [x] python-pycryptodome now uses it's own Crypto.SelfTest module to test - [x] python-pycryptodomex now uses it's own Cryptodome.SelfTest module to test - [x] python-PyYAML implements own setup.py test() command ### Checklist: openstack - [x] python-openstackdocstheme https://opendev.org/openstack/rpm-packaging/ sr#988926 - [x] python-requestsexceptions no testsuite found ### Checklist: test suite does not run or is not present at all - [x] python-bpython testsuite does not run at all - [x] python-pyalsaaudio converted to pytest sr#974811 - [x] python-musicbrainzngs upstream have fixed the testsuite, and migrated to pytest sr#972989 - [x] python-calysto testsuite not present, not even upstream - [x] python-husl testsuite not present in tarball, other repo not found, upstream url does not work - [x] python-PyPrint no tests in tarball, issued delete request: https://build.opensuse.org/request/show/932471 ### Checklist: only for older distros, probably ok - [x] python-Genshi %if %{suse_version} < 1550, otherwise %pyunittest_arch - [x] python-html5-parser %pyunittest_arch %if 0%{?suse_version} > 1500 - [x] python-jmespath %if 0%{?suse_version} > 1500 %pyunittest **Trello Labels (Unmatched):** deprecations
mcepl closed this issue 2025-12-29 01:25:58 +01:00
dgarcia added this to the openSUSE Python project 2026-01-09 08:25:37 +01:00
dgarcia removed this from the openSUSE Python project 2026-01-09 08:27:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: python/_ObsPrj#633