Add %pyproject_check_import to detect runtime errors

epel9
Parag Nemade 3 years ago
parent 47b7ce9241
commit 15b6eb7b16
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

@ -47,6 +47,9 @@ code, tracebacks, and more — out of the box.
%pyproject_save_files rich
%check
# add below to make sure initial build will catch runtime import errors
%pyproject_check_import
# some tests are skipped so python-rich builds during Python 3.11 mass rebuild
# downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=2049619
%pytest -k "not test_inspect_text and not test_inspect_integer_with_methods and not test_log and not test_attrs_broken and not test_inspect_builtin_function"

Loading…
Cancel
Save