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

Scheduled weekly dependency update for week 38 #2985

Closed
wants to merge 18 commits into from

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Sep 18, 2017

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

six 1.10.0 » 1.11.0 PyPI | Changelog | Homepage | Docs
setuptools 36.2.7 » 36.5.0 PyPI | Changelog | Repo
wheel 0.29.0 » 0.30.0 PyPI | Changelog | Repo
httpbin 0.5.0 » 0.6.1 PyPI | Changelog | Repo
hunter 1.4.1 » 2.0.1 PyPI | Changelog | Repo
hypothesis 3.19.1 » 3.28.3 PyPI | Changelog | Repo
pytest 3.2.1 » 3.2.2 PyPI | Changelog | Repo | Homepage
pytest-mock 1.6.2 » 1.6.3 PyPI | Changelog | Repo
pytest-qt 2.1.2 » 2.2.0 PyPI | Changelog | Repo
pytest-rerunfailures 3.0 » 3.1 PyPI | Changelog | Repo
vulture 0.25 » 0.26 PyPI | Changelog | Repo
pluggy 0.4.0 » 0.5.2 PyPI | Changelog | Repo
tox 2.7.0 » 2.8.2 PyPI | Changelog | Docs

Changelogs

six 1.10.0 -> 1.11.0

1.11.0


  • Pull request 178: with_metaclass now properly proxies __prepare__ to the
    underlying metaclass.
  • Pull request 191: Allow with_metaclass to work with metaclasses implemented
    in C.
  • Pull request 203: Add parse_http_list and parse_keqv_list to moved
    urllib.request.
  • Pull request 172 and issue 171: Add unquote_to_bytes to moved urllib.parse.
  • Pull request 167: Add six.moves.getoutput.
  • Pull request 80: Add six.moves.urllib_parse.splitvalue.
  • Pull request 75: Add six.moves.email_mime_image.
  • Pull request 72: Avoid creating reference cycles through tracebacks in
    reraise.

setuptools 36.2.7 -> 36.5.0

36.5.0


  • 170: When working with Mercurial checkouts, use Windows-friendly
    syntax for suppressing output.
  • Inspired by 1134, performed substantial refactoring of
    pkg_resources.find_on_path to facilitate an optimization
    for paths with many non-version entries.

36.4.0


  • 1075: Add new Description-Content-Type metadata field. See here for documentation on how to use this field. <https://packaging.python.org/specifications/description-content-type>_
  • 1068: Sort files and directories when building eggs for
    deterministic order.
  • 196: Remove caching of easy_install command in fetch_build_egg.
    Fixes issue where pytest-runner-N.N would satisfy the installation
    of pytest.
  • 1129: Fix working set dependencies handling when replacing conflicting
    distributions (e.g. when using setup_requires with a conflicting
    transitive dependency, fix 1124).
  • 1133: Improved handling of README files extensions and added
    Markdown to the list of searched READMES.
  • 1135: Improve performance of pkg_resources import by not invoking
    access or stat and using os.listdir instead.

36.3.0


  • 1131: Make possible using several files within file: directive
    in metadata.long_description in setup.cfg.

wheel 0.29.0 -> 0.30.0

0.30.0

======

  • Added py-limited-api {cp32|cp33|cp34|...} flag to produce cpNN.abi3.{arch}
    tags on CPython 3.
  • Documented the license_file metadata key
  • Improved Python, abi tagging for wheel convert. Thanks Ales Erjavec.
  • Fixed > being prepended to lines starting with "From" in the long description
  • Added support for specifying a build number (as per PEP 427).
    Thanks Ian Cordasco.
  • Made the order of files in generated ZIP files deterministic.
    Thanks Matthias Bach.
  • Made the order of requirements in metadata deterministic. Thanks Chris Lamb.
  • Fixed wheel install clobbering existing files
  • Improved the error message when trying to verify an unsigned wheel file
  • Removed support for Python 2.6, 3.2 and 3.3.

httpbin 0.5.0 -> 0.6.1

0.6.1

hunter 1.4.1 -> 2.0.1

2.0.0


  • Added the Event.count and Event.calls attributes.
  • Added the lt/lte/gt/gte lookups.
  • Added convenience aliases for startswith (sw), endswith (ew) and regex (rx).
  • Added a convenience hunter.wrap decorator to start tracing around a function.
  • Added support for remote tracing (with two backends: manhole <https://pypi.python.org/pypi/manhole>__ and GDB) via
    the hunter-trace bin. Note: Windows is NOT SUPPORTED.
  • Changed the default action to CallPrinter. You'll need to use action=CodePrinter if you want the old output.

hypothesis 3.19.1 -> 3.28.3

3.28.3


This release is an internal change that affects how Hypothesis handles
calculating certain properties of strategies.

The primary effect of this is that it fixes a bug where use of
:func:~hypothesis.deferred could sometimes trigger an internal assertion
error. However the fix for this bug involved some moderately deep changes to
how Hypothesis handles certain constructs so you may notice some additional
knock-on effects.

In particular the way Hypothesis handles drawing data from strategies that
cannot generate any values has changed to bail out sooner than it previously
did. This may speed up certain tests, but it is unlikely to make much of a
difference in practice for tests that were not already failing with
Unsatisfiable.


3.28.2


This is a patch release that fixes a bug in the hypothesis.extra.pandas documentation where it incorrectly referred to column instead of columns.


3.28.1


This is a refactoring release. It moves a number of internal uses
of nametuple over to using attrs based classes, and removes a couple
of internal namedtuple classes that were no longer in use.

It should have no user visible impact.


3.28.0


This release adds support for testing pandas via the :ref:hypothesis.extra.pandas <hypothesis-pandas>
module.

It also adds a dependency on attrs.

This work was funded by Stripe <https://stripe.com/>_.


3.27.1


This release fixes some formatting and broken cross-references in the
documentation, which includes editing docstrings - and thus a patch release.


3.27.0


This release introduces a :attr:~hypothesis.settings.deadline
setting to Hypothesis.

When set this turns slow tests into errors. By default it is unset but will
warn if you exceed 200ms, which will become the default value in a future
release.

This work was funded by Smarkets <https://smarkets.com/>_.


3.26.0


Hypothesis now emits deprecation warnings if you are using the legacy
SQLite example database format, or the tool for merging them. These were
already documented as deprecated, so this doesn't change their deprecation
status, only that we warn about it.


3.25.1


This release fixes a bug with generating numpy datetime and timedelta types:
When inferring the strategy from the dtype, datetime and timedelta dtypes with
sub-second precision would always produce examples with one second resolution.
Inferring a strategy from a time dtype will now always produce example with the
same precision.


3.25.0


This release changes how Hypothesis shrinks and replays examples to take into
account that it can encounter new bugs while shrinking the bug it originally
found. Previously it would end up replacing the originally found bug with the
new bug and show you only that one. Now it is (often) able to recognise when
two bugs are distinct and when it finds more than one will show both.


3.24.2


This release removes the (purely internal and no longer useful)
strategy_test_suite function and the corresponding strategytests module.


3.24.1


This release improves the reduction of examples involving floating point
numbers to produce more human readable examples.

It also has some general purpose changes to the way the minimizer works
internally, which may see some improvement in quality and slow down of test
case reduction in cases that have nothing to do with floating point numbers.


3.24.0


Hypothesis now emits deprecation warnings if you use example() inside a
test function or strategy definition (this was never intended to be supported,
but is sufficiently widespread that it warrants a deprecation path).


3.23.3


This is a bugfix release for :func:~hypothesis.strategies.decimals
with the places argument.

  • No longer fails health checks (:issue:725, due to internal filtering)
  • Specifying a min_value and max_value without any decimals with
    places places between them gives a more useful error message.
  • Works for any valid arguments, regardless of the decimal precision context.

3.23.2


This is a small refactoring release that removes a now-unused parameter to an
internal API. It shouldn't have any user visible effect.


3.23.1


Hypothesis no longer propagates the dynamic scope of settings into strategy
definitions.

This release is a small change to something that was never part of the public
API and you will almost certainly not notice any effect unless you're doing
something surprising, but for example the following code will now give a
different answer in some circumstances:

.. code-block:: python

import hypothesis.strategies as st
from hypothesis import settings

CURRENT_SETTINGS = st.builds(lambda: settings.default)

(We don't actually encourage you writing code like this)

Previously this would have generated the settings that were in effect at the
point of definition of CURRENT_SETTINGS. Now it will generate the settings
that are used for the current test.

It is very unlikely to be significant enough to be visible, but you may also
notice a small performance improvement.


3.23.0


This release adds a unique argument to :func:~hypothesis.extra.numpy.arrays
which behaves the same ways as the corresponding one for
:func:~hypothesis.strategies.lists, requiring all of the elements in the
generated array to be distinct.


3.22.2


This release fixes an issue where Hypothesis would raise a TypeError when
using the datetime-related strategies if running with PYTHONOPTIMIZE=2.
This bug was introduced in v3.20.0. (See :issue:822)


3.22.1


Hypothesis now transparently handles problems with an internal unicode cache,
including file truncation or read-only filesystems (:issue:767).
Thanks to Sam Hames for the patch.


3.22.0


This release provides what should be a substantial performance improvement to
numpy arrays generated using :ref:provided numpy support <hypothesis-numpy>,
and adds a new fill_value argument to :func:~hypothesis.extra.numpy.arrays
to control this behaviour.

This work was funded by Stripe <https://stripe.com/>_.


3.21.3


This release fixes some extremely specific circumstances that probably have
never occurred in the wild where users of
:func:~hypothesis.searchstrategy.deferred might have seen a RuntimeError from
too much recursion, usually in cases where no valid example could have been
generated anyway.


3.21.2


This release fixes some minor bugs in argument validation:

  • :ref:hypothesis.extra.numpy <hypothesis-numpy> dtype strategies would raise an internal error
    instead of an InvalidArgument exception when passed an invalid
    endianness specification.
  • :func:~hypothesis.strategies.fractions would raise an internal error instead of an InvalidArgument
    if passed float("nan") as one of its bounds.
  • The error message for passing float("nan") as a bound to various
    strategies has been improved.
  • Various bound arguments will now raise InvalidArgument in cases where
    they would previously have raised an internal TypeError or
    ValueError from the relevant conversion function.
  • :func:~hypothesis.strategies.streaming would not have emitted a
    deprecation warning when called with an invalid argument.

3.21.1


This release fixes a bug where test failures that were the result of
an example would print an extra stack trace before re-raising the
exception.


3.21.0


This release deprecates Hypothesis's strict mode, which turned Hypothesis's
deprecation warnings into errors. Similar functionality can be achieved
by using :func:simplefilter('error', HypothesisDeprecationWarning) <python:warnings.simplefilter>.


3.20.0


This release renames the relevant arguments on the
:func:~hypothesis.strategies.datetimes, :func:~hypothesis.strategies.dates,
:func:~hypothesis.strategies.times, and :func:~hypothesis.strategies.timedeltas
strategies to min_value and max_value, to make them consistent with the
other strategies in the module.

The old argument names are still supported but will emit a deprecation warning
when used explicitly as keyword arguments. Arguments passed positionally will
go to the new argument names and are not deprecated.


3.19.3


This release provides a major overhaul to the internals of how Hypothesis
handles shrinking.

This should mostly be visible in terms of getting better examples for tests
which make heavy use of :func:~hypothesis.strategies.composite,
:ref:data <interactive-draw> or :ref:flatmap <flatmap> where the data
drawn depends a lot on previous choices, especially where size parameters are
affected. Previously Hypothesis would have struggled to reliably produce
good examples here. Now it should do much better. Performance should also be
better for examples with a non-zero min_size.

You may see slight changes to example generation (e.g. improved example
diversity) as a result of related changes to internals, but they are unlikely
to be significant enough to notice.


3.19.2


This release fixes two bugs in hypothesis.extra.numpy:

  • :func:~hypothesis.extra.numpy.unicode_string_dtypes didn't work at all due
    to an incorrect dtype specifier. Now it does.
  • Various impossible conditions would have been accepted but would error when
    they fail to produced any example. Now they raise an explicit InvalidArgument
    error.

pytest 3.2.1 -> 3.2.2

3.2.2

=========================

Bug Fixes

  • Calling the deprecated request.getfuncargvalue() now shows the source of
    the call. (2681 <https://github.com/pytest-dev/pytest/issues/2681>_)
  • Allow tests declared as staticmethod to use fixtures. (2699 <https://github.com/pytest-dev/pytest/issues/2699>_)
  • Fixed edge-case during collection: attributes which raised pytest.fail
    when accessed would abort the entire collection. (2707 <https://github.com/pytest-dev/pytest/issues/2707>_)
  • Fix ReprFuncArgs with mixed unicode and UTF-8 args. (2731 <https://github.com/pytest-dev/pytest/issues/2731>_)

Improved Documentation

  • In examples on working with custom markers, add examples demonstrating the
    usage of pytest.mark.MARKER_NAME.with_args in comparison with
    pytest.mark.MARKER_NAME.__call__ (2604 <https://github.com/pytest-dev/pytest/issues/2604>_)
  • In one of the simple examples, use pytest_collection_modifyitems() to skip
    tests based on a command-line option, allowing its sharing while preventing a
    user error when acessing pytest.config before the argument parsing. (2653 <https://github.com/pytest-dev/pytest/issues/2653>_)

Trivial/Internal Changes

  • Fixed minor error in 'Good Practices/Manual Integration' code snippet.
    (2691 <https://github.com/pytest-dev/pytest/issues/2691>_)
  • Fixed typo in goodpractices.rst. (2721 <https://github.com/pytest-dev/pytest/issues/2721>_)
  • Improve user guidance regarding --resultlog deprecation. (2739 <https://github.com/pytest-dev/pytest/issues/2739>_)

pytest-mock 1.6.2 -> 1.6.3

1.6.3


  • Fix UnicodeDecodeError during assert introspection in assert_called_with in Python 2.
    Thanks AndreasHogstrom_ for the report (91_).

.. _AndreasHogstrom: https://github.com/AndreasHogstrom

.. _91: pytest-dev/pytest-mock#91

pytest-qt 2.1.2 -> 2.2.0

2.2.0


  • pytest-qt now supports PySide2_ thanks to rth_!

.. _PySide2: https://wiki.qt.io/PySide2
.. _rth: https://github.com/rth

pytest-rerunfailures 3.0 -> 3.1

3.1

================

  • Restored compatibility with pytest-xdist. (Thanks to davehunt_ for the PR)

.. _davehunt: https://github.com/davehunt

vulture 0.25 -> 0.26

0.26


  • Detect async function definitions (thanks RJ722).
  • Add Item.get_report() method (thanks RJ722).
  • Move method for finding Python modules out of Vulture class.

pluggy 0.4.0 -> 0.5.2

0.5.2


  • fix bug where firstresult wrappers were being sent an incorrectly configured
    _Result (a list was set instead of a single value). Add tests to check for
    this as well as _Result.force_result() behaviour. Thanks to tgoodlet_
    for the PR 72_.
  • fix incorrect getattr of DeprecationWarning from the warnings
    module. Thanks to nicoddemus_ for the PR 77_.
  • hide pytest tracebacks in certain core routines. Thanks to
    nicoddemus_ for the PR 80_.

.. _72: pytest-dev/pluggy#72
.. _77: pytest-dev/pluggy#77
.. _80: pytest-dev/pluggy#80

0.5.1


  • fix a bug and add tests for case where firstresult hooks return
    None results. Thanks to RonnyPfannschmidt_ and tgoodlet_
    for the issue (68) and PR (69) respectively.

.. _69: pytest-dev/pluggy#69
.. _68: https://github.com/pytest-dev/pluggy/issuses/68

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 19: allow registering hookspecs from instances. The PR from
    tgoodlet
    also modernized the varnames implementation.
  • resolve 32: split up the test set into multiple modules.
    Thanks to RonnyPfannschmidt
    for the PR and tgoodlet_ for
    the initial request.
  • resolve 14: add full sphinx docs. Thanks to tgoodlet for
    PR 39_.
  • add hook call mismatch warnings. Thanks to tgoodlet_ for the
    PR 42_.
  • resolve 44: move to new-style classes. Thanks to MichalTHEDUDE
    for PR 46_.
  • add baseline benchmarking/speed tests using pytest-benchmark
    in PR 54. Thanks to tgoodlet.
  • update the README to showcase the API. Thanks to tgoodlet_ for the
    issue and PR 55_.
  • deprecate __multicall__ and add a faster call loop implementation.
    Thanks to tgoodlet_ for PR 58_.
  • raise a comprehensible error when a hookimpl is called with positional
    args. Thanks to RonnyPfannschmidt_ for the issue and tgoodlet_ for
    PR 60_.
  • fix the firstresult test making it more complete
    and remove a duplicate of that test. Thanks to tgoodlet_
    for PR 62_.

.. _62: pytest-dev/pluggy#62
.. _60: pytest-dev/pluggy#60
.. _58: pytest-dev/pluggy#58
.. _55: pytest-dev/pluggy#55
.. _54: pytest-dev/pluggy#54
.. _46: pytest-dev/pluggy#46
.. _44: pytest-dev/pluggy#44
.. _42: pytest-dev/pluggy#42
.. _39: pytest-dev/pluggy#39
.. _32: pytest-dev/pluggy#32
.. _19: pytest-dev/pluggy#19
.. _17: pytest-dev/pluggy#17
.. _14: pytest-dev/pluggy#14

tox 2.7.0 -> 2.8.2

2.8.1

==================

  • :pull:599: fix problems with implementation of :issue:515.
    Substitutions from other sections were not made anymore if they were not in envlist.
    Thanks to Clark Boylan (:user:cboylan) for helping to get this fixed (:pull:597).

2.8.0

===================

  • :issue:276: Remove easy_install from docs (TL;DR: use pip). Thanks Martin Andrysík (:user:sifuraz).
  • :issue:301: Expand nested substitutions in tox.ini. Thanks :user:vlaci. Thanks to Eli Collins
    (:user:eli-collins) for creating a reproducer.
  • :issue:315: add --help and --version to helptox-quickstart. Thanks :user:vlaci.
  • :issue:326: Fix OSError 'Not a directory' when creating env on Jython 2.7.0. Thanks Nick Douma (:user:LordGaav).
  • :issue:429: Forward MSYSTEM by default on Windows. Thanks Marius Gedminas (:user:mgedmin) for reporting this.
  • :issue:449: add multi platform example to the docs. Thanks Aleks Bunin (:user:sashkab) and :user:rndr.
  • :issue:474: Start using setuptools_scm for tag based versioning.
  • :issue:484: Renamed py.test to pytest throughout the project. Thanks Slam (:user:3lnc).
  • :issue:504: With -a: do not show additional environments header if there are none. Thanks :user:rndr.
  • :issue:515: Don't require environment variables in test environments where they are not used.
    Thanks André Caron (:user:AndreLouisCaron).
  • :issue:517: Forward NUMBER_OF_PROCESSORS by default on Windows to fix multiprocessor.cpu_count().
    Thanks André Caron (:user:AndreLouisCaron).
  • :issue:518: Forward USERPROFILE by default on Windows. Thanks André Caron (:user:AndreLouisCaron).
  • :pull:528: Fix some of the warnings displayed by pytest 3.1.0. Thanks Bruno Oliveira (:user:nicoddemus).
  • :pull:547: Add regression test for :issue:137. Thanks Martin Andrysík (:user:sifuraz).
  • :pull:553: Add an XFAIL test to reproduce upstream bug :issue:203. Thanks
    Bartolomé Sánchez Salado (:user:bartsanchez).
  • :pull:556: Report more meaningful errors on why virtualenv creation failed. Thanks :user:vlaci.
    Also thanks to Igor Sadchenko (:user:igor-sadchenko) for pointing out a problem with that PR
    before it hit the masses ☺
  • :pull:575: Add announcement doc to end all announcement docs
    (using only CHANGELOG and Github issues since 2.5 already).
  • :pull:580: Do not ignore Sphinx warnings anymore. Thanks Bernát Gábor (:user:gaborbernat).
  • :pull:585: Expand documentation to explain pass through of flags from deps to pip
    (e.g. -rrequirements.txt, -cconstraints.txt). Thanks Alexander Loechel (:user:loechel).
  • :pull:588: Run pytest wit xfail_strict and adapt affected tests.

That's it for now!

Happy merging! 🤖


This change is Reviewable

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.

None yet

2 participants