diff --git a/pluggy-1.3.0.tar.gz b/pluggy-1.3.0.tar.gz deleted file mode 100644 index 75e6484..0000000 --- a/pluggy-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 -size 63670 diff --git a/pluggy-1.5.0.tar.gz b/pluggy-1.5.0.tar.gz new file mode 100644 index 0000000..29e6735 --- /dev/null +++ b/pluggy-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1 +size 67955 diff --git a/python-pluggy.changes b/python-pluggy.changes index 3dc4ea1..e4bb40e 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Mon May 6 05:24:03 UTC 2024 - Steve Kowalik + +- 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 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 + +- 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 + +- 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 + ` 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 diff --git a/python-pluggy.spec b/python-pluggy.spec index a63cc9f..70c7659 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" @@ -28,23 +27,21 @@ %endif %{?sle15_python_module_pythons} Name: python-pluggy%{psuffix} -Version: 1.3.0 +Version: 1.5.0 Release: 0 Summary: A minimalist production ready plugin system License: MIT URL: https://github.com/pytest-dev/pluggy 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} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if 0%{?python_version_nodots} < 38 -Requires: python-importlib-metadata >= 0.12 -%endif BuildArch: noarch %if %{with test} -BuildRequires: %{python_module importlib-metadata >= 0.12 if %python-base < 3.8} BuildRequires: %{python_module pluggy = %{version}} BuildRequires: %{python_module pytest >= 7.3.0} %endif @@ -57,11 +54,11 @@ This is the core framework used by the pytest, tox, and devpi projects. %setup -q -n pluggy-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -75,7 +72,7 @@ This is the core framework used by the pytest, tox, and devpi projects. %license LICENSE %doc README.rst CHANGELOG.rst %{python_sitelib}/pluggy -%{python_sitelib}/pluggy-%{version}*-info +%{python_sitelib}/pluggy-%{version}.dist-info %endif %changelog