From 7b0a9d66806be5b21d5539ec40c592f5e0967bff Mon Sep 17 00:00:00 2001 From: Sandro Date: Mar 24 2024 16:03:19 +0000 Subject: Update to 1.13.0 (RHBZ#2271288) - Filter linter from dev requirements - Re-enable all tests again --- diff --git a/.gitignore b/.gitignore index 21c5ae3..e94c6d2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /rope-1.10.0.tar.gz /rope-1.11.0.tar.gz /rope-1.12.0.tar.gz +/rope-1.13.0.tar.gz diff --git a/python-rope.spec b/python-rope.spec index 6af112b..51ebec1 100644 --- a/python-rope.spec +++ b/python-rope.spec @@ -2,7 +2,7 @@ %global forgeurl https://github.com/python-rope/rope Name: python-rope -Version: 1.12.0 +Version: 1.13.0 Release: %autorelease Summary: Python Code Refactoring Library %global tag %{version} @@ -43,6 +43,9 @@ Documentation for %{summary}.} %prep %forgeautosetup -p1 +# Remove linter from dev requirements +sed -i '/pytest-cov/d' pyproject.toml + %generate_buildrequires %pyproject_buildrequires -x dev @@ -62,12 +65,7 @@ Documentation for %{summary}.} %check -# 1.12.0: pytest fails in -# ropetest/contrib/autoimporttest.py::AutoImportTest::test_search_submodule -# unit and some pytest warnings -# https://github.com/python-rope/rope/issues/749 -k="${k-}${k+ and }not (AutoImportTest and test_search_submodule)" -%pytest -v -k "${k-}" +%pytest -v %files -n python3-rope -f %{pyproject_files} diff --git a/sources b/sources index 904c68f..bac3988 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rope-1.12.0.tar.gz) = cbafe3e180d737ec6f60319c016e6af37fb9abb587d7ea603cd15e35404747ddafdaa87d614b0c8096ebacfa6c0ebd264a42316daf1afb4a68d008456fe1c1cf +SHA512 (rope-1.13.0.tar.gz) = fae1555570997164d14ae8a6541750544b14c2aefd49e77d45585e47550a3c62c734bdfa28cbdcbcaa4c4d3c7a6a0ecf6ff3c116c47d2888ba71c311fe424157