public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pylint] epel10: Do not comment out tests, only 37 fails, 1.8k pass
@ 2026-11-04 22:38
0 siblings, 0 replies; only message in thread
From: @ 2026-11-04 22:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pylint
Branch : epel10
Commit : a197a1d7b57a0c82460d26598be6201f3286d054
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2025-08-26T12:14:41+02:00
Stats : +43/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pylint/c/a197a1d7b57a0c82460d26598be6201f3286d054?branch=epel10
Log:
Do not comment out tests, only 37 fails, 1.8k pass
See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_running_tests
> You MAY exclude specific failing tests.
> You MUST NOT disable the entire testsuite or ignore its result
> to solve a build failure.
The added block of deselects is a tad ugly,
but it was easy to copy-paste-edit from the build.log.
---
diff --git a/pylint.spec b/pylint.spec
index a436dde..5ba6859 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -71,16 +71,53 @@ for NAME in pylint pyreverse symilar; do
done
%check
-#export PYTHONPATH=%{buildroot}%{python3_sitelib}
+export PYTHONPATH=%{buildroot}%{python3_sitelib}
# astroid gets confused if pylint is importable both from buildroot/sitelib
# (see above) and the location we're running the tests from, so we'll
# move it out of the way here
-#mkdir src
-#mv pylint src
+mkdir src
+mv pylint src
# Skip benchmarks
-# It's not immediately clear why the delected tests fail
-#%%{__python3} -m pytest -v --ignore=benchmark \
-# --deselect=tests/test_functional.py::test_functional[missing_timeout]
+# Deselect all tests failing with Python 3.14
+%{__python3} -m pytest -v --ignore=benchmark \
+ --deselect=tests/test_functional.py::test_functional[missing_timeout] \
+ --deselect=tests/config/pylint_config/test_pylint_config_help.py::test_pylint_config_main_messages \
+ --deselect=tests/pyreverse/test_writer.py::test_dot_files[packages_No_Name.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_dot_files[classes_No_Name.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_colorized_dot_files[packages_colorized.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_colorized_dot_files[classes_colorized.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_no_standalone_dot_files[classes_no_standalone.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_no_standalone_dot_files[packages_no_standalone.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_type_check_imports_dot_files[packages_type_check_imports.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_type_check_imports_dot_files[classes_type_check_imports.dot] \
+ --deselect=tests/pyreverse/test_writer.py::test_puml_files[packages_No_Name.puml] \
+ --deselect=tests/pyreverse/test_writer.py::test_puml_files[classes_No_Name.puml] \
+ --deselect=tests/pyreverse/test_writer.py::test_mmd_files[packages_No_Name.mmd] \
+ --deselect=tests/pyreverse/test_writer.py::test_mmd_files[classes_No_Name.mmd] \
+ --deselect=tests/pyreverse/test_writer.py::test_html_files[packages_No_Name.html] \
+ --deselect=tests/pyreverse/test_writer.py::test_html_files[classes_No_Name.html] \
+ --deselect=tests/pyreverse/test_writer.py::test_colorized_puml_files[packages_colorized.puml] \
+ --deselect=tests/pyreverse/test_writer.py::test_colorized_puml_files[classes_colorized.puml] \
+ --deselect=tests/test_functional.py::test_functional[continue_in_finally] \
+ --deselect=tests/test_functional.py::test_functional[consider_using_with] \
+ --deselect=tests/test_functional.py::test_functional[typing_broken_callable] \
+ --deselect=tests/test_functional.py::test_functional[typing_broken_callable_future_import] \
+ --deselect=tests/test_functional.py::test_functional[typing_consider_using_union] \
+ --deselect=tests/test_functional.py::test_functional[typing_consider_using_union_py310] \
+ --deselect=tests/test_functional.py::test_functional[typing_consider_using_union_without_future] \
+ --deselect=tests/test_functional.py::test_functional[function_redefined_2540] \
+ --deselect=tests/test_functional.py::test_functional[generic_alias_collections] \
+ --deselect=tests/test_functional.py::test_functional[generic_alias_mixed_py39] \
+ --deselect=tests/test_functional.py::test_functional[generic_alias_typing] \
+ --deselect=tests/test_functional.py::test_functional[lost_exception] \
+ --deselect=tests/test_functional.py::test_functional[return_in_finally] \
+ --deselect=tests/test_functional.py::test_functional[wrong_import_order] \
+ --deselect=tests/test_import_graph.py::test_dependencies_graph[foo.dot] \
+ --deselect=tests/test_import_graph.py::test_dependencies_graph[foo.gv] \
+ --deselect=tests/test_import_graph.py::test_dependencies_graph[tests/regrtest_data/foo.dot] \
+ --deselect=tests/test_import_graph.py::test_checker_dep_graphs \
+ --deselect=tests/test_self.py::TestRunTC::test_do_not_import_files_from_local_directory[args0] \
+ --deselect=tests/test_self.py::TestRunTC::test_do_not_import_files_from_local_directory[args1]
%files
%doc CONTRIBUTORS.txt
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 22:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 22:38 [rpms/pylint] epel10: Do not comment out tests, only 37 fails, 1.8k pass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox