Skip to content

Pytest 2.8.3 #1181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 19, 2015
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
2.8.3.dev
---------
2.8.3
-----

- fix #1169: add __name__ attribute to testcases in TestCaseFunction to
support the @unittest.skip decorator on functions and methods.
Expand All @@ -19,6 +19,14 @@
they stand out in the output.
Thanks Gabriel Reis for the PR.

- add more talks to the documentation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is worth a changelog entry (and the next one too), but your decision 😉

- extend documentation on the --ignore cli option
- use pytest-runner for setuptools integration
- minor fixes for interaction with elcapitan system integrity protection (thanks Florian)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to say "OS X El Capitan" here so it's clear what this means, even I had to double-read it to understand 😆





2.8.2
-----

Expand Down
2 changes: 1 addition & 1 deletion _pytest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#
__version__ = '2.8.3.dev1'
__version__ = '2.8.3'
1 change: 1 addition & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Release announcements
.. toctree::
:maxdepth: 2

release-2.8.3
release-2.8.2
release-2.7.2
release-2.7.1
Expand Down
56 changes: 56 additions & 0 deletions doc/en/announce/release-2.8.3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
pytest-2.8.3: bug fixes
=======================

pytest is a mature Python testing tool with more than a 1100 tests
against itself, passing on many different interpreters and platforms.
This release is supposed to be drop-in compatible to 2.8.1.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.8.1 -> 2.8.2


See below for the changes and see docs at:

http://pytest.org

As usual, you can upgrade from pypi via::

pip install -U pytest

Thanks to all who contributed to this release, among them:

Bruno Oliveira
Demian Brecht
Florian Bruhin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is missing Gabriel Reis, which contributed the test name highlighting. How did you obtain it? I'm sure there's a git command which list authors between two hashes, if you used that please update HOWTORELEASE with the command, as it will be useful for next releases

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used git log --pretty='format:%an' 2.8.1..HEAD | sort | uniq in the past. I'll add that to HOWTORELEASE.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @The-Compiler! 😄

Ionel Cristian Mărieș
Raphael Pierzina
Ronny Pfannschmidt
holger krekel

Happy testing,
The py.test Development Team


2.8.3 (compared to 2.8.2)
-----------------------------

- fix #1169: add __name__ attribute to testcases in TestCaseFunction to
support the @unittest.skip decorator on functions and methods.
Thanks Lee Kamentsky for the PR.

- fix #1035: collecting tests if test module level obj has __getattr__().
Thanks Suor for the report and Bruno Oliveira / Tom Viner for the PR.

- fix #331: don't collect tests if their failure cannot be reported correctly
e.g. they are a callable instance of a class.

- fix #1133: fixed internal error when filtering tracebacks where one entry
belongs to a file which is no longer available.
Thanks Bruno Oliveira for the PR.

- enhancement made to highlight in red the name of the failing tests so
they stand out in the output.
Thanks Gabriel Reis for the PR.

- add more talks to the documentation
- extend documentation on the --ignore cli option
- use pytest-runner for setuptools integration
- minor fixes for interaction with elcapitan system integrity protection (thanks Florian)