From 568d4774108c524596a875d100b09d92749469028f9f29bacc3eb95a259366a5 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 24 Nov 2022 10:50:49 +0000 Subject: [PATCH] - Add "git config --global --add protocol.file.allow always" to fix tests, based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-check-manifest?expand=0&rev=27 --- python-check-manifest.changes | 6 ++++++ python-check-manifest.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-check-manifest.changes b/python-check-manifest.changes index c0ffe10..8c33fb6 100644 --- a/python-check-manifest.changes +++ b/python-check-manifest.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 24 10:46:40 UTC 2022 - Daniel Garcia + +- Add "git config --global --add protocol.file.allow always" to fix tests, + based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023597 + ------------------------------------------------------------------- Mon Sep 26 21:17:21 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-check-manifest.spec b/python-check-manifest.spec index 77efa69..7c79b5a 100644 --- a/python-check-manifest.spec +++ b/python-check-manifest.spec @@ -98,6 +98,8 @@ skip='test_build_sdist or test_python_from_path' # E TypeError: tuple indices must be integers or slices, not str skip="$skip or test_extra_ignore_args or test_ignore_bad_ideas_args" %endif +# Fix tests https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023597 +git config --global --add protocol.file.allow always %pytest -rs -k "not ($skip)" %endif