Skip to content

Commit f65dab2

Browse files
authored
Merge pull request #31 from nicoddemus/changelog-format
Use links in CHANGELOG and add rst-link to "check" tox-env
2 parents 7102c74 + 420e9b3 commit f65dab2

File tree

3 files changed

+63
-40
lines changed

3 files changed

+63
-40
lines changed

CHANGELOG

Lines changed: 0 additions & 40 deletions
This file was deleted.

CHANGELOG.rst

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
0.5.0
2+
-----
3+
4+
- fix bug where callbacks for historic hooks would not be called for
5+
already registered plugins. Thanks `@vodik`_ for the PR
6+
and `@hpk42`_ for further fixes.
7+
8+
- fix `#17`_ by considering only actual functions for hooks
9+
this removes the ability to register arbitrary callable objects
10+
which at first glance is a reasonable simplification,
11+
thanks `@RonnyPfannschmidt`_ for report and pr.
12+
13+
- fix `#9`_: allow registering hookspecs from instances. The PR from
14+
`@tgoodlet`_ also modernized the varnames implementation.
15+
16+
17+
.. _#9: https://github.com/pytest-dev/pytest/issues/9
18+
.. _#17: https://github.com/pytest-dev/pytest/issues/17
19+
20+
.. _@tgoodlet: https://github.com/tgoodlet
21+
.. _@vodik: https://github.com/vodik
22+
.. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
23+
24+
25+
0.4.0
26+
-----
27+
28+
- add ``has_plugin(name)`` method to pluginmanager. thanks `@nicoddemus`_.
29+
30+
- fix `#11`_: make plugin parsing more resilient against exceptions
31+
from ``__getattr__`` functions. Thanks `@nicoddemus`_.
32+
33+
- fix issue `#4`_: specific ``HookCallError`` exception for when a hook call
34+
provides not enough arguments.
35+
36+
- better error message when loading setuptools entrypoints fails
37+
due to a ``VersionConflict``. Thanks `@blueyed`_.
38+
39+
.. _#11: https://github.com/pytest-dev/pytest/issues/11
40+
.. _#4: https://github.com/pytest-dev/pytest/issues/4
41+
42+
.. _@blueyed: https://github.com/blueyed
43+
.. _@nicoddemus: https://github.com/nicoddemus
44+
45+
46+
0.3.1
47+
-----
48+
49+
- avoid using deprecated-in-python3.5 getargspec method. Thanks
50+
`@mdboom`_.
51+
52+
.. _@mdboom: https://github.com/mdboom
53+
54+
0.3.0
55+
-----
56+
57+
initial release
58+
59+
.. _@hpk42: https://github.com/hpk42
60+
61+

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ usedevelop=True
1313
deps = pytest>=2.7.0,<2.8.0
1414
pytest-pep8
1515
pytest-flakes
16+
restructuredtext_lint
1617
commands =
1718
py.test --pep8
1819
py.test --flakes -m flakes pluggy.py testing/test_pluggy.py
20+
rst-lint CHANGELOG.rst README.rst
1921

2022
[pytest]
2123
minversion=2.0

0 commit comments

Comments
 (0)