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 36 #54

Merged
merged 12 commits into from
Sep 9, 2017

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Sep 4, 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.

aiohttp 2.2.3 » 2.2.5 PyPI | Changelog | Repo
aioresponses 0.1.5 » 0.2.0 PyPI | Changelog | Repo
async-timeout 1.2.1 » 1.3.0 PyPI | Changelog | Repo
decorator 4.0.11 » 4.1.2 PyPI | Changelog | Repo
multidict 3.1.1 » 3.1.3 PyPI | Changelog | Repo
prompt-toolkit 1.0.14 » 1.0.15 PyPI | Changelog | Repo
pycares 2.2.0 » 2.3.0 PyPI | Changelog | Repo
pytest 3.1.3 » 3.2.1 PyPI | Changelog | Repo | Homepage
pytest-mock 1.6.0 » 1.6.2 PyPI | Changelog | Repo
yarl 0.11.0 » 0.12.0 PyPI | Changelog | Repo
psycopg2 2.7.1 » 2.7.3.1 PyPI | Changelog | Homepage
ipwhois 0.15.1 » 1.0.0 PyPI | Changelog | Repo

Changelogs

aiohttp 2.2.3 -> 2.2.5

2.2.5

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

  • Don't raise deprecation warning on
    loop.run_until_complete(client.close()) (2065)

2.2.4

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

  • Fix issue with synchronous session closing when using ClientSession
    as an asynchronous context manager. (2063)

async-timeout 1.2.1 -> 1.3.0

1.3.0


  • Don't suppress nested exception on timeout. Exception context points
    on cancelled line with suspended await (13)
  • Introduce .timeout property (16)
  • Add methods for using as async context manager (9)

decorator 4.0.11 -> 4.1.2

4.1.2

Made it possible to define decorators converting coroutines into regular
functions, as requested by Itaï Ben Yaacov.

4.1.1

Changed the documentation build system to sphinx and uploaded the docs
on readthedocs.org.

4.1.0

Support for Python 3.5 coroutines defined with async def, thanks to
Victor-Nicolae Savu who raised the issue of iscoroutinefunction not
giving the right answer for coroutines decorated with the decorator module.

multidict 3.1.1 -> 3.1.3

3.1.3


  • Fix build

3.1.2


  • Fix type annotations

prompt-toolkit 1.0.14 -> 1.0.15

1.0.15


Fixes:

  • Don't shuffle tasks in the event loop. This fixes an issue where lines
    printed from background threads were printed in a different order if
    patch_stdout=True.
  • Only consider the text before the cursor when activating history search.
  • Pressing escape should accept the search, this is closer to how readline works.
  • Enable autowrap again when required.

New features:

  • Add run_in_terminal option to disable cooked mode.

pycares 2.2.0 -> 2.3.0

2.3.0

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

  • core: fix CPython implementation TTL parsing issue
  • core: add ability to make queries using the command line
  • core: fix parsing TXT records with invalid UTF-8 chars
  • deps: removed unneeded c-ares files
  • core: update bundled c-ares to 1.13.0
  • ci: fix PyPy in Travis

pytest 3.1.3 -> 3.2.1

3.2.1

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

Bug Fixes

  • Fixed small terminal glitch when collecting a single test item. (2579 <https://github.com/pytest-dev/pytest/issues/2579>_)
  • Correctly consider / as the file separator to automatically mark plugin
    files for rewrite on Windows. (2591 <https://github.com/pytest- dev/pytest/issues/2591>_)
  • Properly escape test names when setting PYTEST_CURRENT_TEST environment
    variable. (2644 <https://github.com/pytest-dev/pytest/issues/2644>_)
  • Fix error on Windows and Python 3.6+ when sys.stdout has been replaced
    with a stream-like object which does not implement the full io module
    buffer protocol. In particular this affects pytest-xdist users on the
    aforementioned platform. (2666 <https://github.com/pytest- dev/pytest/issues/2666>_)

Improved Documentation

  • Explicitly document which pytest features work with unittest. (2626 <https://github.com/pytest-dev/pytest/issues/2626>_)

3.2.0

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

Deprecations and Removals

  • pytest.approx no longer supports >, >=, < and <=
    operators to avoid surprising/inconsistent behavior. See the docs <https://docs.pytest.org/en/latest/builtin.htmlpytest.approx>_ for more
    information. (2003 <https://github.com/pytest-dev/pytest/issues/2003>_)
  • All old-style specific behavior in current classes in the pytest's API is
    considered deprecated at this point and will be removed in a future release.
    This affects Python 2 users only and in rare situations. (2147 <https://github.com/pytest-dev/pytest/issues/2147>_)
  • A deprecation warning is now raised when using marks for parameters
    in pytest.mark.parametrize. Use pytest.param to apply marks to
    parameters instead. (2427 <https://github.com/pytest-dev/pytest/issues/2427>_)

Features

  • Add support for numpy arrays (and dicts) to approx. (1994 <https://github.com/pytest-dev/pytest/issues/1994>_)
  • Now test function objects have a pytestmark attribute containing a list
    of marks applied directly to the test function, as opposed to marks inherited
    from parent classes or modules. (2516 <https://github.com/pytest- dev/pytest/issues/2516>_)
  • Collection ignores local virtualenvs by default; --collect-in-virtualenv
    overrides this behavior. (2518 <https://github.com/pytest- dev/pytest/issues/2518>_)
  • Allow class methods decorated as staticmethod to be candidates for
    collection as a test function. (Only for Python 2.7 and above. Python 2.6
    will still ignore static methods.) (2528 <https://github.com/pytest- dev/pytest/issues/2528>_)
  • Introduce mark.with_args in order to allow passing functions/classes as
    sole argument to marks. (2540 <https://github.com/pytest- dev/pytest/issues/2540>_)
  • New cache_dir ini option: sets the directory where the contents of the
    cache plugin are stored. Directory may be relative or absolute path: if relative path, then
    directory is created relative to rootdir, otherwise it is used as is.
    Additionally path may contain environment variables which are expanded during
    runtime. (2543 <https://github.com/pytest-dev/pytest/issues/2543>_)
  • Introduce the PYTEST_CURRENT_TEST environment variable that is set with
    the nodeid and stage (setup, call and teardown) of the test
    being currently executed. See the documentation <https://docs.pytest.org/en/latest/example/simple.htmlpytest-current-test- environment-variable>_ for more info. (2583 <https://github.com/pytest- dev/pytest/issues/2583>_)
  • Introduced pytest.mark.filterwarnings mark which allows overwriting the
    warnings filter on a per test, class or module level. See the docs <https://docs.pytest.org/en/latest/warnings.htmlpytest-mark- filterwarnings>_ for more information. (2598 <https://github.com/pytest- dev/pytest/issues/2598>_)
  • --last-failed now remembers forever when a test has failed and only
    forgets it if it passes again. This makes it easy to fix a test suite by
    selectively running files and fixing tests incrementally. (2621 <https://github.com/pytest-dev/pytest/issues/2621>_)
  • New pytest_report_collectionfinish hook which allows plugins to add
    messages to the terminal reporting after collection has been finished
    successfully. (2622 <https://github.com/pytest-dev/pytest/issues/2622>_)
  • Added support for PEP-415's <https://www.python.org/dev/peps/pep-0415/>_
    Exception.__suppress_context__. Now if a raise exception from None is
    caught by pytest, pytest will no longer chain the context in the test report.
    The behavior now matches Python's traceback behavior. (2631 <https://github.com/pytest-dev/pytest/issues/2631>_)
  • Exceptions raised by pytest.fail, pytest.skip and pytest.xfail
    now subclass BaseException, making them harder to be caught unintentionally
    by normal code. (580 <https://github.com/pytest-dev/pytest/issues/580>_)

Bug Fixes

  • Set stdin to a closed PIPE in pytester.py.Testdir.popen() for
    avoid unwanted interactive pdb (2023 <https://github.com/pytest- dev/pytest/issues/2023>_)
  • Add missing encoding attribute to sys.std* streams when using
    capsys capture mode. (2375 <https://github.com/pytest- dev/pytest/issues/2375>_)
  • Fix terminal color changing to black on Windows if colorama is imported
    in a conftest.py file. (2510 <https://github.com/pytest- dev/pytest/issues/2510>_)
  • Fix line number when reporting summary of skipped tests. (2548 <https://github.com/pytest-dev/pytest/issues/2548>_)
  • capture: ensure that EncodedFile.name is a string. (2555 <https://github.com/pytest-dev/pytest/issues/2555>_)
  • The options --fixtures and --fixtures-per-test will now keep
    indentation within docstrings. (2574 <https://github.com/pytest- dev/pytest/issues/2574>_)
  • doctests line numbers are now reported correctly, fixing pytest-sugar122 <https://github.com/Frozenball/pytest-sugar/issues/122>. (2610 <https://github.com/pytest-dev/pytest/issues/2610>)
  • Fix non-determinism in order of fixture collection. Adds new dependency
    (ordereddict) for Python 2.6. (920 <https://github.com/pytest- dev/pytest/issues/920>_)

Improved Documentation

  • Clarify pytest_configure hook call order. (2539 <https://github.com/pytest-dev/pytest/issues/2539>_)
  • Extend documentation for testing plugin code with the pytester plugin.
    (971 <https://github.com/pytest-dev/pytest/issues/971>_)

Trivial/Internal Changes

  • Update help message for --strict to make it clear it only deals with
    unregistered markers, not warnings. (2444 <https://github.com/pytest- dev/pytest/issues/2444>_)
  • Internal code move: move code for pytest.approx/pytest.raises to own files in
    order to cut down the size of python.py (2489 <https://github.com/pytest- dev/pytest/issues/2489>_)
  • Renamed the utility function _pytest.compat._escape_strings to
    _ascii_escaped to better communicate the function's purpose. (2533 <https://github.com/pytest-dev/pytest/issues/2533>_)
  • Improve error message for CollectError with skip/skipif. (2546 <https://github.com/pytest-dev/pytest/issues/2546>_)
  • Emit warning about yield tests being deprecated only once per generator.
    (2562 <https://github.com/pytest-dev/pytest/issues/2562>_)
  • Ensure final collected line doesn't include artifacts of previous write.
    (2571 <https://github.com/pytest-dev/pytest/issues/2571>_)
  • Fixed all flake8 errors and warnings. (2581 <https://github.com/pytest- dev/pytest/issues/2581>_)
  • Added fix-lint tox environment to run automatic pep8 fixes on the code.
    (2582 <https://github.com/pytest-dev/pytest/issues/2582>_)
  • Turn warnings into errors in pytest's own test suite in order to catch
    regressions due to deprecations more promptly. (2588 <https://github.com/pytest-dev/pytest/issues/2588>_)
  • Show multiple issue links in CHANGELOG entries. (2620 <https://github.com/pytest-dev/pytest/issues/2620>_)

pytest-mock 1.6.0 -> 1.6.2

1.6.2


  • Provide source package in tar.gz format and remove obsolete MANIFEST.in.

1.6.1


  • Fix mocker.resetall() by ignoring mocker objects which don't have a
    resetall method, like for example patch.dict.
    Thanks jdavisp3_ for the PR (88_).

.. _jdavisp3: https://github.com/jdavisp3

.. _88: pytest-dev/pytest-mock#88

yarl 0.11.0 -> 0.12.0

0.12.0


  • Properly support paths without leading slash in URL.with_path() 90
  • Enable type annotation checks

psycopg2 2.7.1 -> 2.7.3.1

2.7.3.1

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Dropped libresolv from wheel package to avoid incompatibility with
    glibc 2.26 (wheels ticket 2)

2.7.3

^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Restored default :sql:timestamptz[] typecasting to Python !datetime.
    Regression introduced in Psycopg 2.7.2 (:ticket:578).

2.7.2

^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Fixed inconsistent state in externally closed connections
    (:tickets:263, 311, 443). Was fixed in 2.6.2 but not included in
    2.7 by mistake.
  • Fixed Python exceptions propagation in green callback (:ticket:410).
  • Don't display the password in connection.dsn when the connection
    string is specified as an URI (:ticket:528).
  • Return objects with timezone parsing "infinity" :sql:timestamptz
    (:ticket:536).
  • Dropped dependency on VC9 runtime on Windows binary packages
    (:ticket:541).
  • Fixed segfault in ~connection.lobject() when mode=\ !None
    (:ticket:544).
  • Fixed ~connection.lobject() keyword argument lobject_factory
    (:ticket:545).
  • Fixed ~psycopg2.extras.ReplicationCursor.consume_stream()
    keepalive_interval argument (:ticket:547).
  • Maybe fixed random import error on Python 3.6 in multiprocess
    environment (:ticket:550).
  • Fixed random !SystemError upon receiving abort signal (:ticket:551).
  • Accept ~psycopg2.sql.Composable objects in
    ~psycopg2.extras.ReplicationCursor.start_replication_expert()
    (:ticket:554).
  • Parse intervals returned as microseconds from Redshift (:ticket:558).
  • Added ~psycopg2.extras.Json !prepare() method to consider connection
    params when adapting (:ticket:562).
  • ~psycopg2.errorcodes map updated to PostgreSQL 10 beta 1.

ipwhois 0.15.1 -> 1.0.0

1.0.0


  • Deprecated asn_alts, allow_permutations in favor of new asn_methods (158)
  • Added new exception ASNOriginLookupError (158)
  • KRNIC lookups changed to HTTPS (166)
  • Added experimental functions - get_bulk_asn_whois, bulk_lookup_rdap (134)
  • Fixed bug in NIR lookups that caused addresses with multi-line contacts to
    error (172 - kwheeles)
  • Added IANA Reserved CIDR 198.97.38.0/24 to ipv4_is_defined (174)
  • Fixed bug in RDAP notices/remarks parsing that would omit partial entries
    missing one or more of title, description, links (176)
  • Added new return key asn_description via verbose ASN DNS lookup support and
    modified ASN whois lookups. New argument get_asn_description to disable
    additional DNS lookup (176)
  • Fixed some test function naming errors
  • Added new generators to utils.py: ipv4_generate_random and
    ipv6_generate_random (183)
  • Moved upgrade notes to new UPGRADING.rst
  • Deprecated unnecessary protected class functions, changed to public in
    asn.py, nir.py, and whois.py (184)
  • net.Net.get_host(), utils.ipv4_is_defined(), and utils.ipv6_is_defined now
    return namedtuple instead of tuple.
  • Changed docstrings to Google standard for better napoleon parsing (185)
  • Removed deprecated IPWhois.lookup() - This was moved to
    IPWhois.lookup_whois()
  • Fixed 'nets'->'range' bug for legacy whois CIDR net_range values (188)
  • Fixed a bug in IPASN/Net that caused the ASN result to vary if Cymru has
    more than one ASN listed for an IP (190)
  • Updated ElasticSearch example for ES v5.5.1 (138)

That's it for now!

Happy merging! 🤖

@coveralls
Copy link

coveralls commented Sep 4, 2017

Coverage Status

Coverage remained the same at 75.039% when pulling 7f93001 on pyup-scheduled-update-09-04-2017 into 6b5c118 on master.

@nsavch nsavch merged commit 29386ea into master Sep 9, 2017
@nsavch nsavch deleted the pyup-scheduled-update-09-04-2017 branch September 9, 2017 09:07
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.

3 participants