From e7d26519ebeb1fb26cc510895c51e1ccaa84c148409c7acfd85c08c9abf5794f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 8 Jul 2021 15:20:02 +0000 Subject: [PATCH 1/2] Accepting request 905073 from home:mcalabkova:branches:devel:languages:python === What do we think of nose2? === - Update to 0.11.1 * connection: don't automatically disconnect() on connection error * drop support for python 3.5 * tests: switch to nose2 * travis: test python 3.9 OBS-URL: https://build.opensuse.org/request/show/905073 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=20 --- python-xcffib.changes | 9 +++++++++ python-xcffib.spec | 8 ++++---- xcffib-0.10.1.tar.gz | 3 --- xcffib-0.11.1.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 xcffib-0.10.1.tar.gz create mode 100644 xcffib-0.11.1.tar.gz diff --git a/python-xcffib.changes b/python-xcffib.changes index 06904f2..0f27d28 100644 --- a/python-xcffib.changes +++ b/python-xcffib.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová + +- Update to 0.11.1 + * connection: don't automatically disconnect() on connection error + * drop support for python 3.5 + * tests: switch to nose2 + * travis: test python 3.9 + ------------------------------------------------------------------- Mon Oct 26 13:01:07 UTC 2020 - John Vandenberg diff --git a/python-xcffib.spec b/python-xcffib.spec index 7452abf..e8d48fb 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -1,7 +1,7 @@ # # spec file for package python-xcffib # -# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-xcffib -Version: 0.10.1 +Version: 0.11.1 Release: 0 Summary: A drop in replacement for xpyb, an XCB python binding License: Apache-2.0 @@ -27,7 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/tych0/xcffib Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module nose2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -55,7 +55,7 @@ replacement for xpyb. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nose2-%{$python_bin_suffix} -v %files %{python_files} %license LICENSE diff --git a/xcffib-0.10.1.tar.gz b/xcffib-0.10.1.tar.gz deleted file mode 100644 index eda8710..0000000 --- a/xcffib-0.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cab1630a51076b11819c97e6da461ddd4cb21bdf65c071d1c57a846c9b129c12 -size 84689 diff --git a/xcffib-0.11.1.tar.gz b/xcffib-0.11.1.tar.gz new file mode 100644 index 0000000..0802056 --- /dev/null +++ b/xcffib-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12949cfe2e68c806efd57596bb9bf3c151f399d4b53e15d1101b2e9baaa66f5a +size 84713 From d8656a9a58aed0899651623e1beb669704c30cc9d7a8531d3b157b23d854e362 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 16 Jul 2021 11:27:41 +0000 Subject: [PATCH 2/2] - Replace use of nose2 by pytest. There is no need to do anything else. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=21 --- python-xcffib.changes | 6 ++++++ python-xcffib.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-xcffib.changes b/python-xcffib.changes index 0f27d28..78cad74 100644 --- a/python-xcffib.changes +++ b/python-xcffib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 16 11:27:23 UTC 2021 - Matej Cepl + +- Replace use of nose2 by pytest. There is no need to do anything + else. + ------------------------------------------------------------------- Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová diff --git a/python-xcffib.spec b/python-xcffib.spec index e8d48fb..cef14c1 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -27,7 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/tych0/xcffib Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module nose2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -55,7 +55,7 @@ replacement for xpyb. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nose2-%{$python_bin_suffix} -v +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run pytest-%{$python_bin_suffix} -v %files %{python_files} %license LICENSE