Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1854

pytest-2.7.3: fixes and py35 compat

Path csiph.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <holger@merlinux.eu>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'guido': 0.05; 'interpreted': 0.07; 'pypi': 0.07; 'effect.': 0.09; 'expected.': 0.09; 'imported': 0.09; 'propagate': 0.09; 'release,': 0.09; 'subclasses': 0.09; 'python': 0.10; 'python.': 0.11; 'pushed': 0.13; 'argument': 0.15; '2.7.3': 0.16; 'contributors': 0.16; 'krekel': 0.16; 'outputs': 0.16; 'preparing': 0.16; 'pytest': 0.16; 'received:eu': 0.16; 'skipped': 0.16; 'subject:2.7.3': 0.16; 'subject:fixes': 0.16; 'tmpdir': 0.16; 'skip:` 10': 0.18; 'stefan': 0.18; 'tests': 0.18; 'all,': 0.20; 'changes': 0.20; 'purposes': 0.20; 'fix': 0.21; 'holger': 0.22; 'parameter': 0.22; 'skip:$ 20': 0.22; 'visible': 0.22; 'yesterday.': 0.22; 'defined': 0.23; 'passing': 0.23; 'module': 0.25; 'header:User-Agent:1': 0.26; 'example': 0.26; 'van': 0.26; 'correct': 0.28; 'declared': 0.29; 'preserve': 0.29; 'str': 0.29; 'subdirectory': 0.29; 'objects': 0.29; 'reporting': 0.29; 'classes': 0.30; 'functional': 0.32; 'class': 0.33; '(for': 0.34; 'list': 0.34; 'best,': 0.35; 'eric': 0.35; 'files,': 0.35; 'widely': 0.35; 'unit': 0.35; 'should': 0.36; 'instead': 0.36; 'url:org': 0.36; 'created': 0.36; 'faster': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'charset:us- ascii': 0.37; 'version': 0.38; 'skip:p 20': 0.38; 'skip:- 20': 0.39; 'test': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'received:85': 0.60; 'skip:u 10': 0.61; 'thomas': 0.63; 'applying': 0.70; 'examples.': 0.84; 'florian': 0.84; 'p.s.:': 0.84; 'sfxlen:1': 0.91
Date Tue, 15 Sep 2015 11:57:02 +0000
From holger krekel <holger@merlinux.eu>
To pytest-dev <pytest-dev@python.org>, python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>
Subject pytest-2.7.3: fixes and py35 compat
Mail-Followup-To holger krekel <holger@merlinux.eu>, pytest-dev <pytest-dev@python.org>, python announce <python-announce-list@python.org>, Testing in Python <testing-in-python@lists.idyll.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-06-14)
X-Mailman-Approved-At Tue, 15 Sep 2015 16:43:11 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.598.1442328192.8327.python-announce-list@python.org> (permalink)
Lines 65
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442328192 news.xs4all.nl 23800 [2001:888:2000:d::a6]:37459
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1854

Show key headers only | View raw


Hi all,

I just pushed pytest-2.7.3 to pypi which contains bugfixes including
compatibility to python3.5 which was released yesterday.

In case you wonder, pytest is a widely used mature test runner both for
unit and functional test purposes in python.  See http://pytest.org for
documentation and examples.

Thanks to contributors for this release, among them:

Bruno Oliveira, Florian Bruhin, Floris Bruynooghe, Ronny Pfannschmidt,
Eric Hunsberg, Barney Gale, Guido van Rossum, Matthias Matthias
Bussonier, Stefan Zimmermann, Thomas Kluyver, Pieter Mulder, Raphael
Pierzina.

best,
holger krekel 

P.S.: we are also preparing a pytest-2.8 which has a much longer list of
changes/features.


2.7.3 (compared to 2.7.2)
-----------------------------

- Allow 'dev', 'rc', or other non-integer version strings in `importorskip`.
  Thanks to Eric Hunsberger for the PR.

- fix issue856: consider --color parameter in all outputs (for example
  --fixtures). Thanks Barney Gale for the report and Bruno Oliveira for the PR.

- fix issue855: passing str objects as `plugins` argument to pytest.main
  is now interpreted as a module name to be imported and registered as a
  plugin, instead of silently having no effect.
  Thanks xmo-odoo for the report and Bruno Oliveira for the PR.

- fix issue744: fix for ast.Call changes in Python 3.5+.  Thanks
  Guido van Rossum, Matthias Bussonnier, Stefan Zimmermann and
  Thomas Kluyver.

- fix issue842: applying markers in classes no longer propagate this markers
  to superclasses which also have markers.
  Thanks xmo-odoo for the report and Bruno Oliveira for the PR.

- preserve warning functions after call to pytest.deprecated_call. Thanks
  Pieter Mulder for PR.

- fix issue854: autouse yield_fixtures defined as class members of
  unittest.TestCase subclasses now work as expected.
  Thannks xmo-odoo for the report and Bruno Oliveira for the PR.

- fix issue833: --fixtures now shows all fixtures of collected test files, instead of just the
  fixtures declared on the first one.
  Thanks Florian Bruhin for reporting and Bruno Oliveira for the PR.

- fix issue863: skipped tests now report the correct reason when a skip/xfail
  condition is met when using multiple markers.
  Thanks Raphael Pierzina for reporting and Bruno Oliveira for the PR.

- optimized tmpdir fixture initialization, which should make test sessions
  faster (specially when using pytest-xdist). The only visible effect
  is that now pytest uses a subdirectory in the $TEMP directory for all
  directories created by this fixture (defaults to $TEMP/pytest-$USER).
  Thanks Bruno Oliveira for the PR.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

pytest-2.7.3: fixes and py35 compat holger krekel <holger@merlinux.eu> - 2015-09-15 11:57 +0000

csiph-web