Skip to content
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

Initial Update #1

Closed
wants to merge 5 commits into from
Closed

Initial Update #1

wants to merge 5 commits into from

Conversation

pyup-bot
Copy link

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Name used latest pypi
dnspython 1.12.0 1.14.0 pypi
mock 1.3.0 2.0.0 pypi
python-coveralls 2.6.0 2.7.0 pypi
pytest-cov 2.2.1 2.3.0 pypi
pytest 2.8.7 2.9.2 pypi

Changelogs

pytest-cov 2.2.1 -> 2.3.0

2.3.0


  • Add support for specifying output location for html, xml, and annotate report.
    Contributed by Patrick Lannigan in PR113 <https://github.com/pytest-dev/pytest-cov/pull/113>_.
  • Fix bug hiding test failure when cov-fail-under failed.
  • For coverage >= 4.0, match the default behaviour of coverage report and
    error if coverage fails to find the source instead of just printing a warning.
    Contributed by David Szotten in PR116 <https://github.com/pytest-dev/pytest-cov/pull/116>_.
  • Fixed bug occurred when bare --cov parameter was used with xdist.
    Contributed by Michael Elovskikh in PR120 <https://github.com/pytest-dev/pytest-cov/pull/120>_.
  • Add support for skip_covered and added --cov-report=term-skip-covered command
    line options. Contributed by Saurabh Kumar in PR115 <https://github.com/pytest-dev/pytest-cov/pull/115>_.

pytest 2.8.7 -> 2.9.2

2.9.2.dev1

Bug Fixes

  • fix 510: skip tests where one parameterize dimension was empty
    thanks Alex Stapleton for the Report and RonnyPfannschmidt
    for the PR
  • Fix Xfail does not work with condition keyword argument.
    Thanks astraw38_ for reporting the issue (1496) and tomviner
    for PR the (1524_).
  • Fix win32 path issue when puttinging custom config file with absolute path
    in pytest.main("-c your_absolute_path").
  • Fix maximum recursion depth detection when raised error class is not aware
    of unicode/encoded bytes.
    Thanks prusse-martin_ for the PR (1506_).
  • Fix pytest.mark.skip mark when used in strict mode.
    Thanks pquentin_ for the PR and RonnyPfannschmidt_ for
    showing how to fix the bug.
  • Minor improvements and fixes to the documentation.
    Thanks omarkohl_ for the PR.
  • Fix --fixtures to show all fixture definitions as opposed to just
    one per fixture name.
    Thanks to hackebrot_ for the PR.

.. _510: pytest-dev/pytest#510
.. _1506: pytest-dev/pytest#1506
.. _1496: https://github.com/pytest-dev/pytest/issue/1496
.. _1524: https://github.com/pytest-dev/pytest/issue/1524

.. _prusse-martin: https://github.com/prusse-martin
.. _astraw38: https://github.com/astraw38

2.9.1

Bug Fixes

  • Improve error message when a plugin fails to load.
    Thanks nicoddemus_ for the PR.
  • Fix (1178 <https://github.com/pytest-dev/pytest/issues/1178>):
    pytest.fail with non-ascii characters raises an internal pytest error.
    Thanks nicoddemus
    for the PR.
  • Fix (469): junit parses report.nodeid incorrectly, when params IDs
    contain ::. Thanks tomviner
    for the PR (1431_).
  • Fix (578 <https://github.com/pytest-dev/pytest/issues/578>): SyntaxErrors
    containing non-ascii lines at the point of failure generated an internal
    py.test error.
    Thanks asottile
    for the report and nicoddemus_ for the PR.
  • Fix (1437_): When passing in a bytestring regex pattern to parameterize
    attempt to decode it as utf-8 ignoring errors.
  • Fix (649_): parametrized test nodes cannot be specified to run on the command line.

.. _1437: pytest-dev/pytest#1437
.. _469: pytest-dev/pytest#469
.. _1431: pytest-dev/pytest#1431
.. _649: pytest-dev/pytest#649

.. _asottile: https://github.com/asottile

2.9.0

New Features

  • New pytest.mark.skip mark, which unconditionally skips marked tests.
    Thanks MichaelAquilina_ for the complete PR (1040_).
  • --doctest-glob may now be passed multiple times in the command-line.
    Thanks jab_ and nicoddemus_ for the PR.
  • New -rp and -rP reporting options give the summary and full output
    of passing tests, respectively. Thanks to codewarrior0_ for the PR.
  • pytest.mark.xfail now has a strict option, which makes XPASS
    tests to fail the test suite (defaulting to False). There's also a
    xfail_strict ini option that can be used to configure it project-wise.
    Thanks rabbbit_ for the request and nicoddemus_ for the PR (1355_).
  • Parser.addini now supports options of type bool.
    Thanks nicoddemus_ for the PR.
  • New ALLOW_BYTES doctest option. This strips b prefixes from byte strings
    in doctest output (similar to ALLOW_UNICODE).
    Thanks jaraco_ for the request and nicoddemus_ for the PR (1287_).
  • Give a hint on KeyboardInterrupt to use the --fulltrace option to show the errors.
    Fixes 1366.
    Thanks to hpk42
    for the report and RonnyPfannschmidt_ for the PR.
  • Catch IndexError exceptions when getting exception source location.
    Fixes a pytest internal error for dynamically generated code (fixtures and tests)
    where source lines are fake by intention.

Changes

  • Important: py.code <https://pylib.readthedocs.io/en/latest/code.html>_ has been
    merged into the pytest repository as pytest._code. This decision
    was made because py.code had very few uses outside pytest and the
    fact that it was in a different repository made it difficult to fix bugs on
    its code in a timely manner. The team hopes with this to be able to better
    refactor out and improve that code.
    This change shouldn't affect users, but it is useful to let users aware
    if they encounter any strange behavior.

    Keep in mind that the code for pytest._code is private and
    experimental, so you definitely should not import it explicitly!

    Please note that the original py.code is still available in
    pylib <https://pylib.readthedocs.io>_.

  • pytest_enter_pdb now optionally receives the pytest config object.
    Thanks nicoddemus_ for the PR.

  • Removed code and documentation for Python 2.5 or lower versions,
    including removal of the obsolete _pytest.assertion.oldinterpret module.
    Thanks nicoddemus_ for the PR (1226_).

  • Comparisons now always show up in full when CI or BUILD_NUMBER is
    found in the environment, even when -vv isn't used.
    Thanks The-Compiler_ for the PR.

  • --lf and --ff now support long names: --last-failed and
    --failed-first respectively.
    Thanks MichaelAquilina_ for the PR.

  • Added expected exceptions to pytest.raises fail message.

  • Collection only displays progress ("collecting X items") when in a terminal.
    This avoids cluttering the output when using --color=yes to obtain
    colors in CI integrations systems (1397_).

Bug Fixes

  • The -s and -c options should now work under xdist;
    Config.fromdictargs now represents its input much more faithfully.
    Thanks to bukzor_ for the complete PR (680_).
  • Fix (1290): support Python 3.5's ````operator in assertion rewriting.
    ThanksShinkenjoe
    for report with test case and `tomviner`_ for the PR.
  • Fix formatting utf-8 explanation messages (1379).
    Thanks biern
    for the PR.
  • Fix traceback style docs_ to describe all of the available options
    (auto/long/short/line/native/no), with auto being the default since v2.6.
    Thanks hackebrot_ for the PR.
  • Fix (1422_): junit record_xml_property doesn't allow multiple records
    with same name.

.. _traceback style docs: https://pytest.org/latest/usage.htmlmodifying-python-traceback-printing

.. _1422: pytest-dev/pytest#1422
.. _1379: pytest-dev/pytest#1379
.. _1366: pytest-dev/pytest#1366
.. _1040: pytest-dev/pytest#1040
.. _680: pytest-dev/pytest#680
.. _1287: pytest-dev/pytest#1287
.. _1226: pytest-dev/pytest#1226
.. _1290: pytest-dev/pytest#1290
.. _1355: pytest-dev/pytest#1355
.. _1397: pytest-dev/pytest#1397
.. _biern: https://github.com/biern
.. _MichaelAquilina: https://github.com/MichaelAquilina
.. _bukzor: https://github.com/bukzor
.. _hpk42: https://github.com/hpk42
.. _nicoddemus: https://github.com/nicoddemus
.. _jab: https://github.com/jab
.. _codewarrior0: https://github.com/codewarrior0
.. _jaraco: https://github.com/jaraco
.. _The-Compiler: https://github.com/The-Compiler
.. _Shinkenjoe: https://github.com/Shinkenjoe
.. _tomviner: https://github.com/tomviner
.. _RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
.. _rabbbit: https://github.com/rabbbit
.. _hackebrot: https://github.com/hackebrot
.. _omarkohl: https://github.com/omarkohl
.. _pquentin: https://github.com/pquentin

Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@tonyandrewmeyer tonyandrewmeyer deleted the pyup-initial-update branch January 8, 2017 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants