forked from pool/python-pluggy
- Update to 1.5.0:
* Features + Add support for deprecating specific hook parameters, or more generally, for issuing a warning whenever a hook implementation requests certain parameters. + A warning ~pluggy.PluggyTeardownRaisedWarning is now issued when an old-style hookwrapper raises an exception during teardown. + Add PluginManager.unblock <pluggy.PluginManager.unblock> method to unblock a plugin by plugin name. * Bug Fixes + PluginManager.get_plugins() no longer returns None for blocked plugins. + Fix ~pluggy.HookCaller.call_extra() extra methods getting ordered before everything else in some circumstances. Regressed in pluggy 1.1.0. + Fix plugins registering other plugins in a hook when the other plugins implement the same hook itself. Regressed in pluggy 1.1.0. - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=30
This commit is contained in:
parent
8e1c4fc208
commit
9cf6bebda0
BIN
pluggy-1.3.0.tar.gz
(Stored with Git LFS)
BIN
pluggy-1.3.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pluggy-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pluggy-1.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 05:24:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.5.0:
|
||||||
|
* Features
|
||||||
|
+ Add support for deprecating specific hook parameters, or more
|
||||||
|
generally, for issuing a warning whenever a hook implementation
|
||||||
|
requests certain parameters.
|
||||||
|
+ A warning ~pluggy.PluggyTeardownRaisedWarning is now issued when an
|
||||||
|
old-style hookwrapper raises an exception during teardown.
|
||||||
|
+ Add PluginManager.unblock <pluggy.PluginManager.unblock> method to
|
||||||
|
unblock a plugin by plugin name.
|
||||||
|
* Bug Fixes
|
||||||
|
+ PluginManager.get_plugins() no longer returns None for blocked plugins.
|
||||||
|
+ Fix ~pluggy.HookCaller.call_extra() extra methods getting ordered
|
||||||
|
before everything else in some circumstances. Regressed in pluggy 1.1.0.
|
||||||
|
+ Fix plugins registering other plugins in a hook when the other plugins
|
||||||
|
implement the same hook itself. Regressed in pluggy 1.1.0.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 20 19:49:28 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Tue Feb 20 19:49:28 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-pluggy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
@ -28,23 +27,21 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pluggy%{psuffix}
|
Name: python-pluggy%{psuffix}
|
||||||
Version: 1.3.0
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A minimalist production ready plugin system
|
Summary: A minimalist production ready plugin system
|
||||||
License: MIT
|
License: MIT
|
||||||
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
|
Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.6}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?python_version_nodots} < 38
|
|
||||||
Requires: python-importlib-metadata >= 0.12
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module importlib-metadata >= 0.12 if %python-base < 3.8}
|
|
||||||
BuildRequires: %{python_module pluggy = %{version}}
|
BuildRequires: %{python_module pluggy = %{version}}
|
||||||
BuildRequires: %{python_module pytest >= 7.3.0}
|
BuildRequires: %{python_module pytest >= 7.3.0}
|
||||||
%endif
|
%endif
|
||||||
@ -57,11 +54,11 @@ This is the core framework used by the pytest, tox, and devpi projects.
|
|||||||
%setup -q -n pluggy-%{version}
|
%setup -q -n pluggy-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -75,7 +72,7 @@ This is the core framework used by the pytest, tox, and devpi projects.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst CHANGELOG.rst
|
%doc README.rst CHANGELOG.rst
|
||||||
%{python_sitelib}/pluggy
|
%{python_sitelib}/pluggy
|
||||||
%{python_sitelib}/pluggy-%{version}*-info
|
%{python_sitelib}/pluggy-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user