From 159a81ba6f159474f17d26e157239056dc5c7c6c9bf85afcde793857a19a7bec Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 13 Nov 2024 22:27:56 +0000 Subject: [PATCH] - Skip failing tests with Python 3.13 (gh#python/cpython#126811) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=63 --- python-rope.changes | 5 +++++ python-rope.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-rope.changes b/python-rope.changes index 9f53ab7..99c8664 100644 --- a/python-rope.changes +++ b/python-rope.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 13 22:27:03 UTC 2024 - Matej Cepl + +- Skip failing tests with Python 3.13 (gh#python/cpython#126811) + ------------------------------------------------------------------- Sun Jan 21 11:09:36 UTC 2024 - Dirk Müller diff --git a/python-rope.spec b/python-rope.spec index a809041..c1d3139 100644 --- a/python-rope.spec +++ b/python-rope.spec @@ -73,8 +73,12 @@ export LANG=en_US.UTF-8 export LANG=en_US.UTF-8 # find ropetest from local source dir export PYTHONPATH=":x" -# https://github.com/python-rope/rope/issues/478, we have a shuffled build directory and can't work around this -%pytest -k "not test_search_submodule" +# gh#python-rope/rope#478, we have a shuffled build directory and can't work around this +skip_tests="test_search_submodule " +# gh#python/cpython#126811 +skip_tests_python313="or test_skipping_directories_not_accessible_because_of_permission_error " +skip_tests_python313+="or test_hint_parametrized_iterable or test_hint_parametrized_iterator" +%pytest -k "not (${skip_tests} ${skip_tests_$python})" %files %{python_files} %license COPYING