39 Commits

Author SHA256 Message Date
ec20352fe7 Accepting request 1287809 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1287809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=20
2025-06-24 18:45:54 +00:00
45fb53354c Accepting request 1287140 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 1.6.0
  * Fix a regression in pluggy 1.1.0 where using result.get_result()
    on the same failed pluggy.Result causes the exception's traceback
    to get longer and longer.
  * Correctly pass StopIteration through hook wrappers.
  * Fix python 3.14 SyntaxError by rearranging code.
  * Python 3.8 is no longer supported.

OBS-URL: https://build.opensuse.org/request/show/1287140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=32
2025-06-23 05:48:18 +00:00
9ad97691b8 Accepting request 1172296 from devel:languages:python:pytest
- 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.

- Revert to 1.3.0
  * Pytest 7 is not compatible with pluggy 1.4 but many packages
    are not compatible with pytest 8 yet

- 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

OBS-URL: https://build.opensuse.org/request/show/1172296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=19
2024-06-21 14:02:39 +00:00
9cf6bebda0 - 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
2024-05-06 05:24:49 +00:00
8e1c4fc208 Accepting request 1148339 from home:bnavigator:branches:devel:languages:python:pytest
- Revert to 1.3.0
  * Pytest 7 is not compatible with pluggy 1.4 but many packages
    are not compatible with pytest 8 yet

OBS-URL: https://build.opensuse.org/request/show/1148339
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=29
2024-02-20 22:02:38 +00:00
44b91bf4d6 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=28
2024-02-01 21:25:57 +00:00
35fd6c366b Accepting request 1124102 from devel:languages:python:pytest
- update to 1.3.0:
  * Python 3.7 is no longer supported.
  * Pluggy now exposes its typings to static type checkers.
  * Some fields and classes are marked ``Final`` and ``@final``.
  * The :ref:`api-reference` is updated to clearly delineate
    pluggy's public API.
    Compatibility aliases are put in place for the renamed types.
    Please note that pluggy is currently unable to provide strong
    typing for hook calls, e.g. ``pm.hook.my_hook(...)``,
    nor to statically check that a hook implementation matches
    the hook specification's type.
  * The new-style hook wrappers, added in the yanked 1.1.0
    release, now require an explicit ``wrapper=True`` designation
    in the ``@hookimpl()`` decorator.

  Deprecations and Removals
    The deprecation was announced in release 0.7.0.
    deprecation was announced in release 0.7.0.
    deprecation was announced in release 0.6.0.
  * fix issue #4: specific HookCallError exception for when a hook call

OBS-URL: https://build.opensuse.org/request/show/1124102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=18
2023-11-08 21:16:34 +00:00
ee15585396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=26 2023-11-07 20:25:38 +00:00
06a644b260 - update to 1.3.0:
* Python 3.7 is no longer supported.
  * Pluggy now exposes its typings to static type checkers.
  * Some fields and classes are marked ``Final`` and ``@final``.
  * The :ref:`api-reference` is updated to clearly delineate
    pluggy's public API.
    Compatibility aliases are put in place for the renamed types.
    Please note that pluggy is currently unable to provide strong
    typing for hook calls, e.g. ``pm.hook.my_hook(...)``,
    nor to statically check that a hook implementation matches
    the hook specification's type.
  * The new-style hook wrappers, added in the yanked 1.1.0
    release, now require an explicit ``wrapper=True`` designation
    in the ``@hookimpl()`` decorator.
  Deprecations and Removals
    The deprecation was announced in release 0.7.0.
    deprecation was announced in release 0.7.0.
    deprecation was announced in release 0.6.0.
  * fix issue #4: specific HookCallError exception for when a hook call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=25
2023-11-07 20:24:00 +00:00
3bf0e96f33 Accepting request 1082446 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1082446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=17
2023-04-25 14:53:42 +00:00
3aff366719 Accepting request 1082402 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=23
2023-04-24 09:17:36 +00:00
057fadafa1 Accepting request 925918 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/925918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=16
2021-10-25 13:17:04 +00:00
9df5aa47b6 Accepting request 925834 from home:bnavigator:branches:devel:languages:python:pytest
- Update to version 1.0.0
  Deprecations and Removals 
  * #116: Remove deprecated implprefix support. Decorate hook
    implementations using an instance of HookimplMarker instead.
    The deprecation was announced in release 0.7.0.  
  * #120: Remove the deprecated proc argument to call_historic. Use
    result_callback instead, which has the same behavior. The
    deprecation was announced in release 0.7.0.  
  * #265: Remove the _Result.result property. Use
    _Result.get_result() instead. Note that unlike result,
    get_result() raises the exception if the hook raised. The
    deprecation was announced in release 0.6.0.  
  * #267: Remove official support for Python 3.4.
  * #272: Dropped support for Python 2. Continue to use pluggy
    0.13.x for Python 2 support.
  *  #308: Remove official support for Python 3.5.
  * #313: The internal pluggy.callers, pluggy.manager and
    pluggy.hooks are now explicitly marked private by a _ prefix
    (e.g. pluggy._callers). Only API exported by the top-level
    pluggy module is considered public.
  * #59: Remove legacy __multicall__ recursive hook calling system.
    The deprecation was announced in release 0.5.0.
  Features
  * #282: When registering a hookimpl which is declared as
    hookwrapper=True but whose function is not a generator
    function, a PluggyValidationError exception is now raised.
  * #309: Add official support for Python 3.9.
  * #251: Add specname option to @hookimpl. If specname is
    provided, it will be used instead of the function name when
    matching this hook implementation to a hook specification
    during registration (allowing a plugin to register a hook
    implementation that was not named the same thing as the
    corresponding @hookspec).

OBS-URL: https://build.opensuse.org/request/show/925834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=22
2021-10-17 22:57:18 +00:00
2a99d9da58 Accepting request 761138 from devel:languages:python:pytest
- Update to 0.13.1:
  * Improved documentation, especially with regard to references.

OBS-URL: https://build.opensuse.org/request/show/761138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=15
2020-01-16 17:13:24 +00:00
Tomáš Chvátal
a535ae02bb - Update to 0.13.1:
* Improved documentation, especially with regard to references.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=20
2020-01-06 12:52:54 +00:00
8e26141093 Accepting request 756850 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/756850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=14
2019-12-16 16:26:19 +00:00
e5528837e2 Accepting request 756842 from home:StefanBruens:branches:openSUSE:Factory:Staging:A
- importlib-metadata is only a runtime requirement (in accordance
  with setup.py), remove it from BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/756842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=18
2019-12-13 15:28:29 +00:00
e3b1c50de7 Accepting request 730734 from devel:languages:python:pytest
- Update to 0.13.0:
  * support python 3.8

OBS-URL: https://build.opensuse.org/request/show/730734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=13
2019-09-23 10:16:58 +00:00
Tomáš Chvátal
d98486517c - Update to 0.13.0:
* support python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=16
2019-09-13 13:21:27 +00:00
5c794011c9 Accepting request 707081 from devel:languages:python:pytest
- Update to 0.12.0:
  * #215: Switch from pkg_resources to importlib-metadata for entrypoint
    detection for improved performance and import time. This time with .egg support.

OBS-URL: https://build.opensuse.org/request/show/707081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=12
2019-06-18 12:45:10 +00:00
Tomáš Chvátal
c465671aa1 - Update to 0.12.0:
* #215: Switch from pkg_resources to importlib-metadata for entrypoint
    detection for improved performance and import time. This time with .egg support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=14
2019-06-03 08:39:20 +00:00
42b3dc0dc3 Accepting request 704167 from devel:languages:python:pytest
- Update to 0.11.0:
  * Small bugfixes only

OBS-URL: https://build.opensuse.org/request/show/704167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=11
2019-05-22 08:54:17 +00:00
Tomáš Chvátal
82ab8afd5e - Update to 0.11.0:
* Small bugfixes only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=12
2019-05-20 08:37:38 +00:00
f01f8858f1 Accepting request 679233 from devel:languages:python:pytest
- 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.

- Switch to multibuild in order to avoid build loop

- Update to 0.8.1:
   * #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager.

OBS-URL: https://build.opensuse.org/request/show/679233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=10
2019-02-26 21:16:15 +00:00
Tomáš Chvátal
6ebe2d607b - 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
2019-02-26 11:53:23 +00:00
Tomáš Chvátal
1a133038ef - 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
2019-02-25 08:24:44 +00:00
Tomáš Chvátal
e929b6d5e0 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
2019-02-25 08:21:05 +00:00
Stephan Kulow
2da6140204 osc copypac from project:openSUSE:Factory package:python-pluggy revision:7
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=9
2019-02-25 06:36:20 +00:00
OBS User buildservice-autocommit
13ee3cdc1a 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
2019-02-25 06:36:20 +00:00
Stephan Kulow
c989ee5ec7 Accepting request 674134 from devel:languages:python:pytest
- Update to 0.8.1:
   * #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager.

OBS-URL: https://build.opensuse.org/request/show/674134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=8
2019-02-24 16:04:15 +00:00
Tomáš Chvátal
a0a9509345 - Update to 0.8.1:
* #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=6
2019-02-12 14:21:19 +00:00
e9eea5acc4 Accepting request 644857 from devel:languages:python:pytest
- update to 0.8.0
 * Add get_hookimpls() method to hook callers
 * Add changelog in long package description and documentation.
 * Add a test exemplifying the opt-in nature of spec defined args.
 * Encapsulate hook specifications in a type for easier introspection. (forwarded request 644855 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/644857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=7
2018-11-08 08:39:27 +00:00
4b378ed782 Accepting request 644855 from home:mimi_vx:branches:devel:languages:python:pytest
- update to 0.8.0
 * Add get_hookimpls() method to hook callers
 * Add changelog in long package description and documentation.
 * Add a test exemplifying the opt-in nature of spec defined args.
 * Encapsulate hook specifications in a type for easier introspection.

OBS-URL: https://build.opensuse.org/request/show/644855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=4
2018-10-26 13:03:43 +00:00
6facace26a Accepting request 627080 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/627080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=6
2018-08-08 12:45:07 +00:00
75c1cbdcfc Accepting request 559131 from devel:languages:python
- run tests conditionally (fixes bsc#1073845)

OBS-URL: https://build.opensuse.org/request/show/559131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=5
2017-12-23 11:11:47 +00:00
8b5aac1a03 Accepting request 545892 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/545892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=4
2017-12-02 12:10:45 +00:00
63a25a91f4 Accepting request 540463 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/540463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=3
2017-11-12 17:00:01 +00:00
66a9b40f16 Accepting request 486539 from devel:languages:python
- update for singlespec
- please send to Staging:E, it's a requirement for new python-tox

OBS-URL: https://build.opensuse.org/request/show/486539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=2
2017-04-19 16:08:42 +00:00
d1fef2cd8d Accepting request 334713 from devel:languages:python
new dep for pytohn-tox

OBS-URL: https://build.opensuse.org/request/show/334713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=1
2015-10-01 07:29:23 +00:00