1
0
forked from pool/python-pluggy

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
This commit is contained in:
Dominique Leuenberger 2017-11-12 17:00:01 +00:00 committed by Git OBS Bridge
parent 66a9b40f16
commit 63a25a91f4
4 changed files with 57 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd841b5d290b252cf645f75f3bd37ceecfa0f36394ab313e4f785fe68a4081a4
size 19054

3
pluggy-0.5.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd60171dbb250fdebafad46ed16d97065369da40568ae948ef7117eee8536e94
size 18935

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Thu Nov 9 06:02:35 UTC 2017 - arun@gmx.de
- specfile:
* changed from zip to tar.gz
* removed CHANGELOG fomr %doc (not in tar-ball anymore)
- update to version 0.5.2:
* fix bug where firstresult wrappers were being sent an incorrectly
configured _Result (a list was set instead of a single value). Add
tests to check for this as well as _Result.force_result()
behaviour. Thanks to @tgoodlet for the PR #72.
* fix incorrect getattr of DeprecationWarning from the warnings
module. Thanks to @nicoddemus for the PR #77.
hide pytest tracebacks in certain core routines. Thanks to @nicoddemus for the PR #80.
- changes from version 0.5.1:
* fix a bug and add tests for case where firstresult hooks return
None results. Thanks to @RonnyPfannschmidt and @tgoodlet for the
issue (#68) and PR (#69) respectively.
- changes from version 0.5.0:
* fix bug where callbacks for historic hooks would not be called for
already registered plugins. Thanks @vodik for the PR and @hpk42
for further fixes.
* fix #17 by considering only actual functions for hooks this
removes the ability to register arbitrary callable objects which
at first glance is a reasonable simplification, thanks
@RonnyPfannschmidt for report and pr.
* fix #19: allow registering hookspecs from instances. The PR from
@tgoodlet also modernized the varnames implementation.
* resolve #32: split up the test set into multiple modules. Thanks
to @RonnyPfannschmidt for the PR and @tgoodlet for the initial
request.
* resolve #14: add full sphinx docs. Thanks to @tgoodlet for PR #39.
* add hook call mismatch warnings. Thanks to @tgoodlet for the PR
#42.
* resolve #44: move to new-style classes. Thanks to @MichalTHEDUDE
for PR #46.
* add baseline benchmarking/speed tests using pytest-benchmark in PR
#54. Thanks to @tgoodlet.
* update the README to showcase the API. Thanks to @tgoodlet for the
issue and PR #55.
* deprecate __multicall__ and add a faster call loop
implementation. Thanks to @tgoodlet for PR #58.
* raise a comprehensible error when a hookimpl is called with
positional args. Thanks to @RonnyPfannschmidt for the issue and
@tgoodlet for PR #60.
* fix the firstresult test making it more complete and remove a
duplicate of that test. Thanks to @tgoodlet for PR #62.
-------------------------------------------------------------------
Fri Apr 7 15:09:41 UTC 2017 - jmatejek@suse.com

View File

@ -18,17 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pluggy
Version: 0.4.0
Version: 0.5.2
Release: 0
Summary: Plugin registration and hook calling mechanisms for Python
License: MIT
Group: Development/Languages/Python
Url: https://github.com/pytest-dev/pluggy
Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.zip
Source: https://files.pythonhosted.org/packages/source/p/pluggy/pluggy-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -54,7 +53,7 @@ except extensive docstrings in the pluggy.py module.
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst CHANGELOG
%doc LICENSE README.rst
%{python_sitelib}/*
%changelog