Skip to content

Commit

Permalink
Merge pull request #31 from nicoddemus/changelog-format
Browse files Browse the repository at this point in the history
Use links in CHANGELOG and add rst-link to "check" tox-env
  • Loading branch information
hpk42 authored Nov 11, 2016
2 parents 7102c74 + 420e9b3 commit f65dab2
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 40 deletions.
40 changes: 0 additions & 40 deletions CHANGELOG

This file was deleted.

61 changes: 61 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
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 `#9`_: allow registering hookspecs from instances. The PR from
`@tgoodlet`_ also modernized the varnames implementation.


.. _#9: https://github.com/pytest-dev/pytest/issues/9
.. _#17: https://github.com/pytest-dev/pytest/issues/17

.. _@tgoodlet: https://github.com/tgoodlet
.. _@vodik: https://github.com/vodik
.. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt


0.4.0
-----

- add ``has_plugin(name)`` method to pluginmanager. thanks `@nicoddemus`_.

- fix `#11`_: make plugin parsing more resilient against exceptions
from ``__getattr__`` functions. Thanks `@nicoddemus`_.

- fix issue `#4`_: specific ``HookCallError`` exception for when a hook call
provides not enough arguments.

- better error message when loading setuptools entrypoints fails
due to a ``VersionConflict``. Thanks `@blueyed`_.

.. _#11: https://github.com/pytest-dev/pytest/issues/11
.. _#4: https://github.com/pytest-dev/pytest/issues/4

.. _@blueyed: https://github.com/blueyed
.. _@nicoddemus: https://github.com/nicoddemus


0.3.1
-----

- avoid using deprecated-in-python3.5 getargspec method. Thanks
`@mdboom`_.

.. _@mdboom: https://github.com/mdboom

0.3.0
-----

initial release

.. _@hpk42: https://github.com/hpk42


2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ usedevelop=True
deps = pytest>=2.7.0,<2.8.0
pytest-pep8
pytest-flakes
restructuredtext_lint
commands =
py.test --pep8
py.test --flakes -m flakes pluggy.py testing/test_pluggy.py
rst-lint CHANGELOG.rst README.rst

[pytest]
minversion=2.0
Expand Down

0 comments on commit f65dab2

Please sign in to comment.