From 2f6f4321383237d3ba1ddaf4d2fd70c5dd61654378dcc2eee525ad1e16550381 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sun, 24 Jan 2021 09:54:13 +0000 Subject: [PATCH] - Remove some tests which do not work on python3.6 flavor due to missing files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyannotate?expand=0&rev=13 --- python-pyannotate.changes | 5 +++++ python-pyannotate.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-pyannotate.changes b/python-pyannotate.changes index 1374499..cb79076 100644 --- a/python-pyannotate.changes +++ b/python-pyannotate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 24 09:53:37 UTC 2021 - Sebastian Wagner + +- Remove some tests which do not work on python3.6 flavor due to missing files. + ------------------------------------------------------------------- Mon May 18 20:40:57 UTC 2020 - Matej Cepl diff --git a/python-pyannotate.spec b/python-pyannotate.spec index d88ea90..93f9db7 100644 --- a/python-pyannotate.spec +++ b/python-pyannotate.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyannotate # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,6 +49,7 @@ arguments and return types observed at runtime. %prep %setup -q -n pyannotate-%{version} +rm example/.gitignore %build %python_build @@ -59,6 +60,8 @@ arguments and return types observed at runtime. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# python3.6 is missing the lib2to3.tests module, so we can't test that for all flavors :/ +rm -r pyannotate_tools/fixes/tests/ %pytest %post