14
0
forked from pool/python-rope

Accepting request 1224046 from devel:languages:python

- Skip failing tests with Python 3.13 (gh#python/cpython#126811)

OBS-URL: https://build.opensuse.org/request/show/1224046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rope?expand=0&rev=34
This commit is contained in:
2024-11-14 15:09:29 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 13 22:27:03 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Skip failing tests with Python 3.13 (gh#python/cpython#126811)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 21 11:09:36 UTC 2024 - Dirk Müller <dmueller@suse.com> Sun Jan 21 11:09:36 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -73,8 +73,12 @@ export LANG=en_US.UTF-8
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# find ropetest from local source dir # find ropetest from local source dir
export PYTHONPATH=":x" export PYTHONPATH=":x"
# https://github.com/python-rope/rope/issues/478, we have a shuffled build directory and can't work around this # gh#python-rope/rope#478, we have a shuffled build directory and can't work around this
%pytest -k "not test_search_submodule" 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} %files %{python_files}
%license COPYING %license COPYING