1
0
forked from pool/python-pluggy

23 Commits

Author SHA256 Message Date
Steve Kowalik
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
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
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
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
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
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
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
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
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
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
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
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
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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