Sync from SUSE:SLFO:Main python-pluggy revision 7c6893cad2d60ba9fab136dbe2cd3b06
This commit is contained in:
parent
620878f491
commit
5888c7e8a5
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,48 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Revert to 1.3.0
|
||||||
|
* Pytest 7 is not compatible with pluggy 1.4 but many packages
|
||||||
|
are not compatible with pytest 8 yet
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 1 21:25:16 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.4.0:
|
||||||
|
* A warning :class:`~pluggy.PluggyTeardownRaisedWarning`
|
||||||
|
is now issued when an old-style hookwrapper raises an
|
||||||
|
exception during teardown. See the warning documentation for
|
||||||
|
more details.
|
||||||
|
* Add :func:`PluginManager.unblock
|
||||||
|
<pluggy.PluginManager.unblock>` method to unblock a plugin by
|
||||||
|
plugin name.
|
||||||
|
* Fix :func:`~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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 7 20:23:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Nov 7 20:23:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -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…
Reference in New Issue
Block a user