From 13ee3cdc1ad4c49c70cea8876c0fa65fc50136e253065ac5ca3dfe9b6b440de4 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 25 Feb 2019 06:36:20 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/python-pluggy revision 9.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=ca2ca43e078be4b8bd6d6330635e12c2 --- pluggy-0.8.0.tar.gz | 3 +++ pluggy-0.8.1.tar.gz | 3 --- python-pluggy.changes | 6 ------ python-pluggy.spec | 12 +++++++++--- 4 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 pluggy-0.8.0.tar.gz delete mode 100644 pluggy-0.8.1.tar.gz diff --git a/pluggy-0.8.0.tar.gz b/pluggy-0.8.0.tar.gz new file mode 100644 index 0000000..08e5099 --- /dev/null +++ b/pluggy-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095 +size 53259 diff --git a/pluggy-0.8.1.tar.gz b/pluggy-0.8.1.tar.gz deleted file mode 100644 index 8b6f096..0000000 --- a/pluggy-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616 -size 53375 diff --git a/python-pluggy.changes b/python-pluggy.changes index 7931ddb..dc2fac0 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Tue Feb 12 14:20:45 UTC 2019 - Tomáš Chvátal - -- Update to 0.8.1: - * #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager. - ------------------------------------------------------------------- Fri Oct 26 13:01:53 UTC 2018 - Ondřej Súkup diff --git a/python-pluggy.spec b/python-pluggy.spec index 56643e4..88aec0a 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -1,7 +1,7 @@ # # spec file for package python-pluggy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with tests + Name: python-pluggy -Version: 0.8.1 +Version: 0.8.0 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python License: MIT Group: Development/Languages/Python -URL: https://github.com/pytest-dev/pluggy +Url: https://github.com/pytest-dev/pluggy Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz +%if %{with tests} BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -50,8 +54,10 @@ except extensive docstrings in the pluggy.py module. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check %python_exec -m pytest testing +%endif %files %{python_files} %license LICENSE From e929b6d5e0f7cc1ab0a7c10e15229a8633b3f692bf457a15c732ab57385921e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 25 Feb 2019 08:21:05 +0000 Subject: [PATCH 2/4] Accepting request 678635 from openSUSE:Factory re-revert the change from Factory But as such this is a loop, so please readd the bcond OBS-URL: https://build.opensuse.org/request/show/678635 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=8 --- pluggy-0.8.0.tar.gz | 3 --- pluggy-0.8.1.tar.gz | 3 +++ python-pluggy.changes | 6 ++++++ python-pluggy.spec | 12 +++--------- 4 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 pluggy-0.8.0.tar.gz create mode 100644 pluggy-0.8.1.tar.gz diff --git a/pluggy-0.8.0.tar.gz b/pluggy-0.8.0.tar.gz deleted file mode 100644 index 08e5099..0000000 --- a/pluggy-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:447ba94990e8014ee25ec853339faf7b0fc8050cdc3289d4d71f7f410fb90095 -size 53259 diff --git a/pluggy-0.8.1.tar.gz b/pluggy-0.8.1.tar.gz new file mode 100644 index 0000000..8b6f096 --- /dev/null +++ b/pluggy-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616 +size 53375 diff --git a/python-pluggy.changes b/python-pluggy.changes index dc2fac0..7931ddb 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 12 14:20:45 UTC 2019 - Tomáš Chvátal + +- Update to 0.8.1: + * #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager. + ------------------------------------------------------------------- Fri Oct 26 13:01:53 UTC 2018 - Ondřej Súkup diff --git a/python-pluggy.spec b/python-pluggy.spec index 88aec0a..56643e4 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -1,7 +1,7 @@ # # spec file for package python-pluggy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with tests - Name: python-pluggy -Version: 0.8.0 +Version: 0.8.1 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python License: MIT Group: Development/Languages/Python -Url: https://github.com/pytest-dev/pluggy +URL: https://github.com/pytest-dev/pluggy Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz -%if %{with tests} BuildRequires: %{python_module pytest} -%endif BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -54,10 +50,8 @@ except extensive docstrings in the pluggy.py module. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check %python_exec -m pytest testing -%endif %files %{python_files} %license LICENSE From 1a133038ef946b7d39a59be75d96c0695c50e30056dd1649758fd8b45e35c91d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 25 Feb 2019 08:24:44 +0000 Subject: [PATCH 3/4] - Switch to multibuild in order to avoid build loop OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=9 --- _multibuild | 3 +++ python-pluggy.changes | 5 +++++ python-pluggy.spec | 20 ++++++++++++++++++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 _multibuild diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-pluggy.changes b/python-pluggy.changes index 7931ddb..bd526d3 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 25 08:23:41 UTC 2019 - Tomáš Chvátal + +- Switch to multibuild in order to avoid build loop + ------------------------------------------------------------------- Tue Feb 12 14:20:45 UTC 2019 - Tomáš Chvátal diff --git a/python-pluggy.spec b/python-pluggy.spec index 56643e4..2265e9c 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -17,7 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-pluggy +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +Name: python-pluggy%{psuffix} Version: 0.8.1 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python @@ -25,12 +33,14 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/pytest-dev/pluggy Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module pytest} +%endif %python_subpackages %description @@ -47,15 +57,21 @@ except extensive docstrings in the pluggy.py module. %python_build %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check +%if %{with test} %python_exec -m pytest testing +%endif +%if !%{with test} %files %{python_files} %license LICENSE %doc README.rst CHANGELOG.rst %{python_sitelib}/* +%endif %changelog From 6ebe2d607b4bc979f35a7a2ab1f4ef8cb35d6af0ddd02cca85f36069fa0f2abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 Feb 2019 11:53:23 +0000 Subject: [PATCH 4/4] - Update to 0.9.0: * #189: PluginManager.load_setuptools_entrypoints now accepts a name parameter that when given will load only entry points with that name. * PluginManager.load_setuptools_entrypoints also now returns the number of plugins loaded by the call, as opposed to the number of all plugins loaded by all calls to this method. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=10 --- pluggy-0.8.1.tar.gz | 3 --- pluggy-0.9.0.tar.gz | 3 +++ python-pluggy.changes | 7 +++++++ python-pluggy.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 pluggy-0.8.1.tar.gz create mode 100644 pluggy-0.9.0.tar.gz diff --git a/pluggy-0.8.1.tar.gz b/pluggy-0.8.1.tar.gz deleted file mode 100644 index 8b6f096..0000000 --- a/pluggy-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616 -size 53375 diff --git a/pluggy-0.9.0.tar.gz b/pluggy-0.9.0.tar.gz new file mode 100644 index 0000000..eb9af66 --- /dev/null +++ b/pluggy-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f +size 54035 diff --git a/python-pluggy.changes b/python-pluggy.changes index bd526d3..d27aa3a 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 26 11:51:44 UTC 2019 - Tomáš Chvátal + +- Update to 0.9.0: + * #189: PluginManager.load_setuptools_entrypoints now accepts a name parameter that when given will load only entry points with that name. + * PluginManager.load_setuptools_entrypoints also now returns the number of plugins loaded by the call, as opposed to the number of all plugins loaded by all calls to this method. + ------------------------------------------------------------------- Mon Feb 25 08:23:41 UTC 2019 - Tomáš Chvátal diff --git a/python-pluggy.spec b/python-pluggy.spec index 2265e9c..7044a8f 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-pluggy%{psuffix} -Version: 0.8.1 +Version: 0.9.0 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python License: MIT