Hello community, here is the log from the commit of package python-pluggy for openSUSE:Factory checked in at 2019-05-22 10:54:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pluggy (Old) and /work/SRC/openSUSE:Factory/.python-pluggy.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pluggy" Wed May 22 10:54:17 2019 rev:11 rq:704167 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pluggy/python-pluggy.changes 2019-02-26 22:16:18.770192729 +0100 +++ /work/SRC/openSUSE:Factory/.python-pluggy.new.5148/python-pluggy.changes 2019-05-22 10:54:20.455181049 +0200 @@ -1,0 +2,6 @@ +Mon May 20 08:34:10 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 0.11.0: + * Small bugfixes only + +------------------------------------------------------------------- Old: ---- pluggy-0.9.0.tar.gz New: ---- pluggy-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pluggy.spec ++++++ --- /var/tmp/diff_new_pack.5oBBRT/_old 2019-05-22 10:54:20.979180568 +0200 +++ /var/tmp/diff_new_pack.5oBBRT/_new 2019-05-22 10:54:20.983180565 +0200 @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-pluggy%{psuffix} -Version: 0.9.0 +Version: 0.11.0 Release: 0 Summary: Plugin registration and hook calling mechanisms for Python License: MIT @@ -64,7 +64,7 @@ %check %if %{with test} -%python_exec -m pytest testing +%pytest testing %endif %if !%{with test} ++++++ pluggy-0.9.0.tar.gz -> pluggy-0.11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/.coveragerc new/pluggy-0.11.0/.coveragerc --- old/pluggy-0.9.0/.coveragerc 1970-01-01 01:00:00.000000000 +0100 +++ new/pluggy-0.11.0/.coveragerc 2019-05-07 18:22:28.000000000 +0200 @@ -0,0 +1,14 @@ +[run] +include = + pluggy/* + testing/* + */lib/python*/site-packages/pluggy/* + */pypy*/site-packages/pluggy/* + *\Lib\site-packages\pluggy\* +branch = 1 + +[paths] +source = pluggy/ + */lib/python*/site-packages/pluggy/ + */pypy*/site-packages/pluggy/ + *\Lib\site-packages\pluggy\ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/.pre-commit-config.yaml new/pluggy-0.11.0/.pre-commit-config.yaml --- old/pluggy-0.9.0/.pre-commit-config.yaml 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/.pre-commit-config.yaml 2019-05-07 18:22:28.000000000 +0200 @@ -1,18 +1,18 @@ repos: - repo: https://github.com/ambv/black - rev: 18.6b4 + rev: 19.3b0 hooks: - id: black args: [--safe, --quiet] language_version: python3.6 - repo: https://github.com/asottile/blacken-docs - rev: v0.2.0 + rev: v0.5.0 hooks: - id: blacken-docs - additional_dependencies: [black==18.6b4] + additional_dependencies: [black==19.3b0] language_version: python3.6 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.3.0 + rev: v2.1.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -25,8 +25,8 @@ files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|changelog/.*)$ language: python additional_dependencies: [pygments, restructuredtext_lint] - python_version: python3.6 + language_version: python3.6 - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.0.0 + rev: v1.3.0 hooks: - id: rst-backticks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/.travis.yml new/pluggy-0.11.0/.travis.yml --- old/pluggy-0.9.0/.travis.yml 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/.travis.yml 2019-05-07 18:22:28.000000000 +0200 @@ -1,8 +1,9 @@ -sudo: false +dist: xenial language: python stages: -- test +- name: test + if: tag IS NOT present - name: deploy if: repo = pytest-dev/pluggy AND tag IS present @@ -10,30 +11,33 @@ include: - python: '3.6' env: TOXENV=linting + cache: + directories: + - $HOME/.cache/pre-commit - python: '3.6' env: TOXENV=docs - python: '2.7' - env: TOXENV=py27-pytestrelease + env: TOXENV=py27-pytestrelease-coverage - python: '3.4' - env: TOXENV=py34-pytestrelease + env: TOXENV=py34-pytestrelease-coverage - python: '3.5' - env: TOXENV=py35-pytestrelease + env: TOXENV=py35-pytestrelease-coverage - python: '3.6' - env: TOXENV=py36-pytestrelease - - python: 'pypy' - env: TOXENV=pypy-pytestrelease - - python: 'pypy3.5' - env: TOXENV=pypy3-pytestrelease - - python: 'nightly' - env: TOXENV=py37-pytestrelease + env: TOXENV=py36-pytestrelease-coverage + - python: 'pypy2.7-6.0' + env: TOXENV=pypy-pytestrelease-coverage + - python: 'pypy3.5-6.0' + env: TOXENV=pypy3-pytestrelease-coverage + - python: '3.7' + env: TOXENV=py37-pytestrelease-coverage - python: '2.7' - env: TOXENV=py27-pytestmaster + env: TOXENV=py27-pytestmaster-coverage - python: '2.7' - env: TOXENV=py27-pytestfeatures + env: TOXENV=py27-pytestfeatures-coverage - python: '3.6' - env: TOXENV=py36-pytestmaster + env: TOXENV=py36-pytestmaster-coverage - python: '3.6' - env: TOXENV=py36-pytestfeatures + env: TOXENV=py36-pytestfeatures-coverage - python: '3.6' env: TOXENV=benchmark @@ -60,6 +64,12 @@ script: - tox +after_script: + - | + if [[ "${TOXENV%-coverage}" != "$TOXENV" ]]; then + bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -n $TOXENV + fi + notifications: irc: channels: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/CHANGELOG.rst new/pluggy-0.11.0/CHANGELOG.rst --- old/pluggy-0.9.0/CHANGELOG.rst 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/CHANGELOG.rst 2019-05-07 18:22:28.000000000 +0200 @@ -1,3 +1,27 @@ +========= +Changelog +========= + +.. towncrier release notes start + +pluggy 0.11.0 (2019-05-07) +========================== + +Bug Fixes +--------- + +- `#205 <https://github.com/pytest-dev/pluggy/issues/205>`_: Revert changes made in 0.10.0 release breaking ``.egg`` installs. + + +pluggy 0.10.0 (2019-05-07) +========================== + +Features +-------- + +- `#199 <https://github.com/pytest-dev/pluggy/issues/199>`_: Switch from ``pkg_resources`` to ``importlib-metadata`` for entrypoint detection for improved performance and import time. + + pluggy 0.9.0 (2019-02-21) ========================= @@ -49,13 +73,6 @@ - `#57 <https://github.com/pytest-dev/pluggy/issues/57>`_: Encapsulate hook specifications in a type for easier introspection. -========= -Changelog -========= - -.. towncrier release notes start - - pluggy 0.7.1 (2018-07-28) ========================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/PKG-INFO new/pluggy-0.11.0/PKG-INFO --- old/pluggy-0.9.0/PKG-INFO 2019-02-24 18:10:04.000000000 +0100 +++ new/pluggy-0.11.0/PKG-INFO 2019-05-07 18:22:45.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pluggy -Version: 0.9.0 +Version: 0.11.0 Summary: plugin and hook calling mechanisms for python Home-page: https://github.com/pytest-dev/pluggy Author: Holger Krekel @@ -10,7 +10,7 @@ pluggy - A minimalist production ready plugin system ==================================================== - |pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| + |pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| |codecov| This is the core framework used by the `pytest`_, `tox`_, and `devpi`_ projects. @@ -93,6 +93,10 @@ .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black + .. |codecov| image:: https://codecov.io/gh/pytest-dev/pluggy/branch/master/graph/badge.svg + :target: https://codecov.io/gh/pytest-dev/pluggy + :alt: Code coverage Status + .. links .. _pytest: http://pytest.org @@ -104,6 +108,30 @@ https://pluggy.readthedocs.io/en/latest/ + ========= + Changelog + ========= + + .. towncrier release notes start + + pluggy 0.11.0 (2019-05-07) + ========================== + + Bug Fixes + --------- + + - `#205 <https://github.com/pytest-dev/pluggy/issues/205>`_: Revert changes made in 0.10.0 release breaking ``.egg`` installs. + + + pluggy 0.10.0 (2019-05-07) + ========================== + + Features + -------- + + - `#199 <https://github.com/pytest-dev/pluggy/issues/199>`_: Switch from ``pkg_resources`` to ``importlib-metadata`` for entrypoint detection for improved performance and import time. + + pluggy 0.9.0 (2019-02-21) ========================= @@ -155,13 +183,6 @@ - `#57 <https://github.com/pytest-dev/pluggy/issues/57>`_: Encapsulate hook specifications in a type for easier introspection. - ========= - Changelog - ========= - - .. towncrier release notes start - - pluggy 0.7.1 (2018-07-28) ========================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/README.rst new/pluggy-0.11.0/README.rst --- old/pluggy-0.9.0/README.rst 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/README.rst 2019-05-07 18:22:28.000000000 +0200 @@ -2,7 +2,7 @@ pluggy - A minimalist production ready plugin system ==================================================== -|pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| +|pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| |codecov| This is the core framework used by the `pytest`_, `tox`_, and `devpi`_ projects. @@ -85,6 +85,10 @@ .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black +.. |codecov| image:: https://codecov.io/gh/pytest-dev/pluggy/branch/master/graph/badge.svg + :target: https://codecov.io/gh/pytest-dev/pluggy + :alt: Code coverage Status + .. links .. _pytest: http://pytest.org diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/appveyor.yml new/pluggy-0.11.0/appveyor.yml --- old/pluggy-0.9.0/appveyor.yml 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/appveyor.yml 2019-05-07 18:22:28.000000000 +0200 @@ -31,7 +31,7 @@ build: false # Not a C# project, build stuff at the test step instead. test_script: - - C:\Python35\python -m tox + - C:\Python35\Scripts\tox # We don't deploy anything on tags with AppVeyor, we use Travis instead, so we # might as well save resources diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/docs/index.rst new/pluggy-0.11.0/docs/index.rst --- old/pluggy-0.9.0/docs/index.rst 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/docs/index.rst 2019-05-07 18:22:28.000000000 +0200 @@ -122,6 +122,10 @@ .. literalinclude:: examples/eggsample/eggsample/host.py +``eggsample/setup.py`` + +.. literalinclude:: examples/eggsample/setup.py + Let's get cooking - we install the host and see what a program run looks like:: $ pip install --editable pluggy/docs/examples/eggsample @@ -308,7 +312,7 @@ # load from the local module's namespace pm.register(sys.modules[__name__]) # load a plugin defined on a class - pm.register(SomePlugin()) + pm.register(SomeOtherPlugin()) For another example see the `hook function ordering`_ section of the ``pytest`` docs. @@ -558,7 +562,7 @@ In summary, you pass a plugin namespace object to the :py:meth:`~pluggy.PluginManager.register()` and -:py:meth:`~pluggy.PluginManager.add_hookspec()` methods to collect +:py:meth:`~pluggy.PluginManager.add_hookspecs()` methods to collect hook *implementations* and *specifications* from *plugin* namespaces respectively. You can unregister any *plugin*'s hooks using diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/pluggy/_version.py new/pluggy-0.11.0/pluggy/_version.py --- old/pluggy-0.9.0/pluggy/_version.py 2019-02-24 18:10:04.000000000 +0100 +++ new/pluggy-0.11.0/pluggy/_version.py 2019-05-07 18:22:45.000000000 +0200 @@ -1,4 +1,4 @@ # coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -version = '0.9.0' +version = '0.11.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/pluggy/manager.py new/pluggy-0.11.0/pluggy/manager.py --- old/pluggy-0.9.0/pluggy/manager.py 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/pluggy/manager.py 2019-05-07 18:22:28.000000000 +0200 @@ -29,7 +29,7 @@ """ Core Pluginmanager class which manages registration of plugin objects and 1:N hook calling. - You can register new hooks by calling ``add_hookspec(module_or_class)``. + You can register new hooks by calling ``add_hookspecs(module_or_class)``. You can register plugin objects (which contain hooks) by calling ``register(plugin)``. The Pluginmanager is initialized with a prefix that is searched for in the names of the dict of registered @@ -152,7 +152,7 @@ self._name2plugin[name] = None def is_blocked(self, name): - """ return True if the name blogs registering plugins of that name. """ + """ return True if the given plugin name is blocked. """ return name in self._name2plugin and self._name2plugin[name] is None def add_hookspecs(self, module_or_class): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/pluggy.egg-info/PKG-INFO new/pluggy-0.11.0/pluggy.egg-info/PKG-INFO --- old/pluggy-0.9.0/pluggy.egg-info/PKG-INFO 2019-02-24 18:10:04.000000000 +0100 +++ new/pluggy-0.11.0/pluggy.egg-info/PKG-INFO 2019-05-07 18:22:45.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pluggy -Version: 0.9.0 +Version: 0.11.0 Summary: plugin and hook calling mechanisms for python Home-page: https://github.com/pytest-dev/pluggy Author: Holger Krekel @@ -10,7 +10,7 @@ pluggy - A minimalist production ready plugin system ==================================================== - |pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| + |pypi| |conda-forge| |versions| |travis| |appveyor| |gitter| |black| |codecov| This is the core framework used by the `pytest`_, `tox`_, and `devpi`_ projects. @@ -93,6 +93,10 @@ .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/ambv/black + .. |codecov| image:: https://codecov.io/gh/pytest-dev/pluggy/branch/master/graph/badge.svg + :target: https://codecov.io/gh/pytest-dev/pluggy + :alt: Code coverage Status + .. links .. _pytest: http://pytest.org @@ -104,6 +108,30 @@ https://pluggy.readthedocs.io/en/latest/ + ========= + Changelog + ========= + + .. towncrier release notes start + + pluggy 0.11.0 (2019-05-07) + ========================== + + Bug Fixes + --------- + + - `#205 <https://github.com/pytest-dev/pluggy/issues/205>`_: Revert changes made in 0.10.0 release breaking ``.egg`` installs. + + + pluggy 0.10.0 (2019-05-07) + ========================== + + Features + -------- + + - `#199 <https://github.com/pytest-dev/pluggy/issues/199>`_: Switch from ``pkg_resources`` to ``importlib-metadata`` for entrypoint detection for improved performance and import time. + + pluggy 0.9.0 (2019-02-21) ========================= @@ -155,13 +183,6 @@ - `#57 <https://github.com/pytest-dev/pluggy/issues/57>`_: Encapsulate hook specifications in a type for easier introspection. - ========= - Changelog - ========= - - .. towncrier release notes start - - pluggy 0.7.1 (2018-07-28) ========================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/pluggy.egg-info/SOURCES.txt new/pluggy-0.11.0/pluggy.egg-info/SOURCES.txt --- old/pluggy-0.9.0/pluggy.egg-info/SOURCES.txt 2019-02-24 18:10:04.000000000 +0100 +++ new/pluggy-0.11.0/pluggy.egg-info/SOURCES.txt 2019-05-07 18:22:45.000000000 +0200 @@ -1,3 +1,4 @@ +.coveragerc .gitignore .pre-commit-config.yaml .travis.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pluggy-0.9.0/tox.ini new/pluggy-0.11.0/tox.ini --- old/pluggy-0.9.0/tox.ini 2019-02-24 18:09:46.000000000 +0100 +++ new/pluggy-0.11.0/tox.ini 2019-05-07 18:22:28.000000000 +0200 @@ -2,13 +2,18 @@ envlist=linting,docs,py{27,34,35,36,py,py3}-pytestrelease,py{27,36}-pytest{master,features} [testenv] -commands=pytest {posargs:testing/} +commands= + {env:_PLUGGY_TOX_CMD:pytest} {posargs} + coverage: coverage report -m + coverage: coverage xml setenv= _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 + coverage: _PLUGGY_TOX_CMD=coverage run -m pytest deps= pytestrelease: pytest pytestmaster: git+https://github.com/pytest-dev/pytest.git@master pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features + coverage: coverage [testenv:benchmark] commands=pytest {posargs:testing/benchmark.py} @@ -17,8 +22,7 @@ pytest-benchmark [testenv:linting] -skipsdist = True -usedevelop = True +skip_install = true basepython = python3.6 deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure @@ -32,9 +36,9 @@ [pytest] minversion=2.0 +testpaths = testing #--pyargs --doctest-modules --ignore=.tox -addopts=-rxsX -norecursedirs=.tox ja .hg .env* +addopts=-ra filterwarnings = error
