Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1680: Scheduled weekly dependency update for week 01 r=mythmon a=pyup-bot ### Update [botocore](https://pypi.org/project/botocore) from **1.12.62** to **1.12.74**. <details> <summary>Changelog</summary> ### 1.12.74 ``` ======= * api-change:``ecs``: Update ecs client to latest version * api-change:``devicefarm``: Update devicefarm client to latest version ``` ### 1.12.73 ``` ======= * api-change:``iotanalytics``: Update iotanalytics client to latest version ``` ### 1.12.72 ``` ======= * enhancement:Paginator: Added over 400 new paginators. * api-change:``opsworkscm``: Update opsworkscm client to latest version ``` ### 1.12.71 ``` ======= * api-change:``acm-pca``: Update acm-pca client to latest version * api-change:``dynamodb``: Update dynamodb client to latest version * api-change:``sms-voice``: Update sms-voice client to latest version * api-change:``stepfunctions``: Update stepfunctions client to latest version ``` ### 1.12.70 ``` ======= * api-change:``medialive``: Update medialive client to latest version * enhancement:EndpointDiscovery: Add a config option, ``endpoint_discovery_enabled``, for automatically discovering endpoints * api-change:``comprehend``: Update comprehend client to latest version * api-change:``firehose``: Update firehose client to latest version * api-change:``transcribe``: Update transcribe client to latest version * api-change:``cognito-idp``: Update cognito-idp client to latest version ``` ### 1.12.69 ``` ======= * api-change:``sagemaker``: Update sagemaker client to latest version * api-change:``waf-regional``: Update waf-regional client to latest version * api-change:``ec2``: Update ec2 client to latest version * api-change:``waf``: Update waf client to latest version ``` ### 1.12.68 ``` ======= * api-change:``apigatewayv2``: Update apigatewayv2 client to latest version * bugfix:Credentials: Fixes an issue where credentials would be checked when creating an anonymous client. Fixes `1472 <https://github.com/boto/botocore/issues/1472>`__ * api-change:``ec2``: Update ec2 client to latest version * api-change:``elasticbeanstalk``: Update elasticbeanstalk client to latest version * api-change:``globalaccelerator``: Update globalaccelerator client to latest version * enhancement:StreamingBody: Support iterating lines from a streaming response body with CRLF line endings * api-change:``apigatewaymanagementapi``: Update apigatewaymanagementapi client to latest version ``` ### 1.12.67 ``` ======= * api-change:``quicksight``: Update quicksight client to latest version * api-change:``ecr``: Update ecr client to latest version ``` ### 1.12.66 ``` ======= * api-change:``alexaforbusiness``: Update alexaforbusiness client to latest version * api-change:``redshift``: Update redshift client to latest version * api-change:``cloudformation``: Update cloudformation client to latest version ``` ### 1.12.65 ``` ======= * api-change:``organizations``: Update organizations client to latest version * api-change:``pinpoint-email``: Update pinpoint-email client to latest version ``` ### 1.12.64 ``` ======= * api-change:``route53``: Update route53 client to latest version * api-change:``glue``: Update glue client to latest version * api-change:``sagemaker``: Update sagemaker client to latest version * api-change:``eks``: Update eks client to latest version ``` ### 1.12.63 ``` ======= * api-change:``mediastore``: Update mediastore client to latest version * api-change:``ecs``: Update ecs client to latest version * api-change:``connect``: Update connect client to latest version ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/botocore - Changelog: https://pyup.io/changelogs/botocore/ - Repo: https://github.com/boto/botocore </details> ### Update [Faker](https://pypi.org/project/Faker) from **1.0.0** to **1.0.1**. <details> <summary>Changelog</summary> ### 1.0.1 ``` * 1 minor enhancement * Added safe_email method to get someaddressexample.com [Kazimierz Kiełkowicz] * 1 bug fix: * Use the locale fallback properly when parsing string formats ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/faker - Changelog: https://pyup.io/changelogs/faker/ - Repo: https://github.com/joke2k/faker </details> ### Update [more-itertools](https://pypi.org/project/more-itertools) from **4.3.0** to **5.0.0**. <details> <summary>Changelog</summary> ### 5.0.0 ``` See PR 252 for notes. ``` ### 4.3.1 ``` This is [version 4.3.0](https://github.com/erikrose/more-itertools/releases/tag/4.3.0) plus PR 226 . There is no corresponding PyPI release; this is just to fix the docs on RTD. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/more-itertools - Changelog: https://pyup.io/changelogs/more-itertools/ - Repo: https://github.com/erikrose/more-itertools - Docs: https://pythonhosted.org/more-itertools/ </details> ### Update [pytz](https://pypi.org/project/pytz) from **2018.7** to **2018.9**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pytz - Homepage: http://pythonhosted.org/pytz - Docs: https://pythonhosted.org/pytz/ </details> ### Update [setuptools](https://pypi.org/project/setuptools) from **40.6.2** to **40.6.3**. <details> <summary>Changelog</summary> ### 40.6.3 ``` ------- * 1594: PEP 517 backend no longer declares setuptools as a dependency as it can be assumed. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/setuptools - Changelog: https://pyup.io/changelogs/setuptools/ - Repo: https://github.com/pypa/setuptools </details> ### Update [Pygments](https://pypi.org/project/Pygments) from **2.3.0** to **2.3.1**. <details> <summary>Changelog</summary> ### 2.3.1 ``` ------------- (released Dec 16, 2018) - Updated lexers: * ASM (PR784) * Chapel (PR735) * Clean (PR621) * CSound (PR684) * Elm (PR744) * Fortran (PR747) * GLSL (PR740) * Haskell (PR745) * Hy (PR754) * Igor Pro (PR764) * PowerShell (PR705) * Python (PR720, 1299, PR715) * SLexer (PR680) * YAML (PR762, PR724) - Fix invalid string escape sequences - Fix `FutureWarning` introduced by regex changes in Python 3.7 ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pygments - Changelog: https://pyup.io/changelogs/pygments/ - Homepage: http://pygments.org/ </details> ### Update [google-api-core](https://pypi.org/project/google-api-core) from **1.6.0** to **1.7.0**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/google-api-core - Repo: https://github.com/GoogleCloudPlatform/google-cloud-python </details> ### Update [google-resumable-media](https://pypi.org/project/google-resumable-media) from **0.3.1** to **0.3.2**. <details> <summary>Changelog</summary> ### 0.3.2 ``` 12-17-2018 17:31 PST Implementation Changes - Using `str` instead of `repr` for multipart boundary. Dependencies - Making `requests` a strict dependency for the `requests` subpackage. Documentation - Announce deprecation of Python 2.7 ([51](googleapis/google-resumable-media-python#51)) - Fix broken redirect after repository move - Updating generated static content in docs. Internal / Testing Changes - Modify file not found test to look for the correct error message - Harden tests so they can run with debug logging statements - Adding AppVeyor support. - Marking the version in `master` as `.dev1`. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/google-resumable-media - Changelog: https://pyup.io/changelogs/google-resumable-media/ - Repo: https://github.com/GoogleCloudPlatform/google-resumable-media-python </details> ### Update [google-auth](https://pypi.org/project/google-auth) from **1.6.1** to **1.6.2**. <details> <summary>Changelog</summary> ### 1.6.2 ``` ------ 12-17-2018 10:51 PST Documentation +++++++++++++ - Announce deprecation of Python 2.7 (`311 <https://github.com/googleapis/google-auth-library-python/pull/311>`_) - Link all the PRs in CHANGELOG (`307 <https://github.com/googleapis/google-auth-library-python/pull/307>`_) ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/google-auth - Changelog: https://pyup.io/changelogs/google-auth/ - Repo: https://github.com/GoogleCloudPlatform/google-auth-library-python </details> ### Update [Unidecode](https://pypi.org/project/Unidecode) from **1.0.22** to **1.0.23**. <details> <summary>Changelog</summary> ### 1.0.23 ``` * Improve transliteration of Hebrew letters (thanks to Alon Bar-Lev) * Add transliterations for the phonetic block U+1D00 - U+1D7F (thanks to Oscar Laurent) * Transliterate SI "micro" prefix as "u" instead of "micro" in the U+33xx block. * Add U+33DE SQUARE V OVER M and U+33DF SQUARE A OVER M. * Drop support for Python 2.6 and 3.3 (thanks to Jon Dufresne) ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/unidecode - Changelog: https://pyup.io/changelogs/unidecode/ </details> ### Update [bcrypt](https://pypi.org/project/bcrypt) from **3.1.4** to **3.1.5**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/bcrypt - Repo: https://github.com/pyca/bcrypt/ </details> ### Update [boto3](https://pypi.org/project/boto3) from **1.9.62** to **1.9.74**. <details> <summary>Changelog</summary> ### 1.9.74 ``` ====== * api-change:``ecs``: [``botocore``] Update ecs client to latest version * api-change:``devicefarm``: [``botocore``] Update devicefarm client to latest version ``` ### 1.9.73 ``` ====== * api-change:``iotanalytics``: [``botocore``] Update iotanalytics client to latest version ``` ### 1.9.72 ``` ====== * enhancement:Paginator: [``botocore``] Added over 400 new paginators. * api-change:``opsworkscm``: [``botocore``] Update opsworkscm client to latest version ``` ### 1.9.71 ``` ====== * api-change:``acm-pca``: [``botocore``] Update acm-pca client to latest version * api-change:``dynamodb``: [``botocore``] Update dynamodb client to latest version * api-change:``sms-voice``: [``botocore``] Update sms-voice client to latest version * api-change:``stepfunctions``: [``botocore``] Update stepfunctions client to latest version ``` ### 1.9.70 ``` ====== * api-change:``medialive``: [``botocore``] Update medialive client to latest version * enhancement:EndpointDiscovery: [``botocore``] Add a config option, ``endpoint_discovery_enabled``, for automatically discovering endpoints * api-change:``comprehend``: [``botocore``] Update comprehend client to latest version * api-change:``firehose``: [``botocore``] Update firehose client to latest version * api-change:``transcribe``: [``botocore``] Update transcribe client to latest version * api-change:``cognito-idp``: [``botocore``] Update cognito-idp client to latest version ``` ### 1.9.69 ``` ====== * api-change:``sagemaker``: [``botocore``] Update sagemaker client to latest version * api-change:``waf-regional``: [``botocore``] Update waf-regional client to latest version * api-change:``ec2``: [``botocore``] Update ec2 client to latest version * api-change:``waf``: [``botocore``] Update waf client to latest version ``` ### 1.9.68 ``` ====== * api-change:``apigatewayv2``: [``botocore``] Update apigatewayv2 client to latest version * bugfix:Credentials: [``botocore``] Fixes an issue where credentials would be checked when creating an anonymous client. Fixes `1472 <https://github.com/boto/botocore/issues/1472>`__ * api-change:``ec2``: [``botocore``] Update ec2 client to latest version * api-change:``elasticbeanstalk``: [``botocore``] Update elasticbeanstalk client to latest version * api-change:``globalaccelerator``: [``botocore``] Update globalaccelerator client to latest version * enhancement:StreamingBody: [``botocore``] Support iterating lines from a streaming response body with CRLF line endings * api-change:``apigatewaymanagementapi``: [``botocore``] Update apigatewaymanagementapi client to latest version ``` ### 1.9.67 ``` ====== * api-change:``quicksight``: [``botocore``] Update quicksight client to latest version * api-change:``ecr``: [``botocore``] Update ecr client to latest version ``` ### 1.9.66 ``` ====== * api-change:``alexaforbusiness``: [``botocore``] Update alexaforbusiness client to latest version * api-change:``redshift``: [``botocore``] Update redshift client to latest version * api-change:``cloudformation``: [``botocore``] Update cloudformation client to latest version ``` ### 1.9.65 ``` ====== * api-change:``organizations``: [``botocore``] Update organizations client to latest version * api-change:``pinpoint-email``: [``botocore``] Update pinpoint-email client to latest version ``` ### 1.9.64 ``` ====== * api-change:``route53``: [``botocore``] Update route53 client to latest version * api-change:``glue``: [``botocore``] Update glue client to latest version * api-change:``sagemaker``: [``botocore``] Update sagemaker client to latest version * api-change:``eks``: [``botocore``] Update eks client to latest version ``` ### 1.9.63 ``` ====== * api-change:``mediastore``: [``botocore``] Update mediastore client to latest version * api-change:``ecs``: [``botocore``] Update ecs client to latest version * api-change:``connect``: [``botocore``] Update connect client to latest version ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/boto3 - Changelog: https://pyup.io/changelogs/boto3/ - Repo: https://github.com/boto/boto3 </details> ### Update [Django](https://pypi.org/project/Django) from **2.0.9** to **2.0.10**. <details> <summary>Changelog</summary> ### 2.0.10 ``` =========================== *January 4, 2019* Django 2.0.10 fixes a security issue and several bugs in 2.0.9. CVE-2019-3498: Content spoofing possibility in the default 404 page ------------------------------------------------------------------- An attacker could craft a malicious URL that could make spoofed content appear on the default page generated by the ``django.views.defaults.page_not_found()`` view. The URL path is no longer displayed in the default 404 template and the ``request_path`` context variable is now quoted to fix the issue for custom templates that use the path. Bugfixes ======== * Prevented repetitive calls to ``geos_version_tuple()`` in the ``WKBWriter`` class in an attempt to fix a random crash involving ``LooseVersion`` since Django 2.0.6 (:ticket:`29959`). * Fixed a schema corruption issue on SQLite 3.26+. You might have to drop and rebuild your SQLite database if you applied a migration while using an older version of Django with SQLite 3.26 or later (:ticket:`29182`). * Prevented SQLite schema alterations while foreign key checks are enabled to avoid the possibility of schema corruption (:ticket:`30023`). ========================== ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/django - Changelog: https://pyup.io/changelogs/django/ - Homepage: https://www.djangoproject.com/ </details> ### Update [gevent](https://pypi.org/project/gevent) from **1.3.7** to **1.4.0**. <details> <summary>Changelog</summary> ### 1.4.0 ``` ================== - Build with Cython 0.29 in '3str' mode. - Test with PyPy 6.0 on Windows. - Add support for application-wide callbacks when ``Greenlet`` objects are started. See :pr:`1289`, provided by Yury Selivanov. - Fix consuming a single ready object using ``next(gevent.iwait(objs))``. Previously such a construction would hang because `iter` was not called. See :pr:`1288`, provided by Josh Snyder. This is not recommended, though, as unwaited objects will have dangling links (but see next item). - Make `gevent.iwait` return an iterator that can now also be used as a context manager. If you'll only be consuming part of the iterator, use it in a ``with`` block to avoid leaking resources. See :pr:`1290`, provided by Josh Snyder. - Fix semaphores to immediately notify links if they are ready and ``rawlink()`` is called. This behaves like ``Event`` and ``AsyncEvent``. Note that the order in which semaphore links are called is not specified. See :issue:`1287`, reported by Dan Milon. - Improve safety of handling exceptions during interpreter shutdown. See :issue:`1295` reported by BobDenar1212. - Remove the deprecated ability to specify ``GEVENT_RESOLVER`` and other importable settings as a ``path/to/a/package.module.item``. This had race conditions and didn't work with complicated resolver implementations. Place the required package or module on `sys.path` first. - Reduce the chances that using the blocking monitor functionality could result in apparently random ``SystemError: Objects/tupleobject.c: bad argument to internal function``. Reported in :issue:`1302` by Ulrich Petri. - Refactored the gevent test runner and test suite to make them more reusable. In particular, the tests are now run with ``python -m gevent.tests``. See :issue:`1293`. - Make a monkey-patched ``socket.getaddrinfo`` return socket module enums instead of plain integers for the socket type and address family on Python 3. See :issue:`1310` reported by TheYOSH. - Make gevent's pywsgi server set the non-standard environment value ``wsgi.input_terminated`` to True. See :issue:`1308`. - Make `gevent.util.assert_switches` produce more informative messages when the assertion fails. - Python 2: If a `gevent.socket` was closed asynchronously (in a different greenlet or a hub callback), `AttributeError` could result if the socket was already in use. Now the correct socket.error should be raised. - Fix :meth:`gevent.threadpool.ThreadPool.join` raising a `UserWarning` when using the libuv backend. Reported in :issue:`1321` by ZeroNet. - Fix ``FileObjectPosix.seek`` raising `OSError` when it should have been `IOError` on Python 2. Reported by, and PR by, Ricardo Kirkner. See :issue:`1323`. - Upgrade libuv from 1.23.2 to 1.24.0. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/gevent - Changelog: https://pyup.io/changelogs/gevent/ - Homepage: http://www.gevent.org/ </details> ### Update [pyasn1](https://pypi.org/project/pyasn1) from **0.4.4** to **0.4.5**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pyasn1 - Changelog: https://pyup.io/changelogs/pyasn1/ - Repo: https://github.com/etingof/pyasn1 </details> ### Update [pyasn1-modules](https://pypi.org/project/pyasn1-modules) from **0.2.2** to **0.2.3**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pyasn1-modules - Changelog: https://pyup.io/changelogs/pyasn1-modules/ - Repo: https://github.com/etingof/pyasn1-modules </details> ### Update [pytest](https://pypi.org/project/pytest) from **4.0.1** to **4.1.0**. <details> <summary>Changelog</summary> ### 4.1.0 ``` ========================= Removals -------- - `2169 <https://github.com/pytest-dev/pytest/issues/2169>`_: ``pytest.mark.parametrize``: in previous versions, errors raised by id functions were suppressed and changed into warnings. Now the exceptions are propagated, along with a pytest message informing the node, parameter value and index where the exception occurred. - `3078 <https://github.com/pytest-dev/pytest/issues/3078>`_: Remove legacy internal warnings system: ``config.warn``, ``Node.warn``. The ``pytest_logwarning`` now issues a warning when implemented. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlconfig-warn-and-node-warn>`__ on information on how to update your code. - `3079 <https://github.com/pytest-dev/pytest/issues/3079>`_: Removed support for yield tests - they are fundamentally broken because they don't support fixtures properly since collection and test execution were separated. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlyield-tests>`__ on information on how to update your code. - `3082 <https://github.com/pytest-dev/pytest/issues/3082>`_: Removed support for applying marks directly to values in ``pytest.mark.parametrize``. Use ``pytest.param`` instead. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlmarks-in-pytest-mark-parametrize>`__ on information on how to update your code. - `3083 <https://github.com/pytest-dev/pytest/issues/3083>`_: Removed ``Metafunc.addcall``. This was the predecessor mechanism to ``pytest.mark.parametrize``. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlmetafunc-addcall>`__ on information on how to update your code. - `3085 <https://github.com/pytest-dev/pytest/issues/3085>`_: Removed support for passing strings to ``pytest.main``. Now, always pass a list of strings instead. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlpassing-command-line-string-to-pytest-main>`__ on information on how to update your code. - `3086 <https://github.com/pytest-dev/pytest/issues/3086>`_: ``[pytest]`` section in **setup.cfg** files is not longer supported, use ``[tool:pytest]`` instead. ``setup.cfg`` files are meant for use with ``distutils``, and a section named ``pytest`` has notoriously been a source of conflicts and bugs. Note that for **pytest.ini** and **tox.ini** files the section remains ``[pytest]``. - `3616 <https://github.com/pytest-dev/pytest/issues/3616>`_: Removed the deprecated compat properties for ``node.Class/Function/Module`` - use ``pytest.Class/Function/Module`` now. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlinternal-classes-accessed-through-node>`__ on information on how to update your code. - `4421 <https://github.com/pytest-dev/pytest/issues/4421>`_: Removed the implementation of the ``pytest_namespace`` hook. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlpytest-namespace>`__ on information on how to update your code. - `4489 <https://github.com/pytest-dev/pytest/issues/4489>`_: Removed ``request.cached_setup``. This was the predecessor mechanism to modern fixtures. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlcached-setup>`__ on information on how to update your code. - `4535 <https://github.com/pytest-dev/pytest/issues/4535>`_: Removed the deprecated ``PyCollector.makeitem`` method. This method was made public by mistake a long time ago. - `4543 <https://github.com/pytest-dev/pytest/issues/4543>`_: Removed support to define fixtures using the ``pytest_funcarg__`` prefix. Use the ``pytest.fixture`` decorator instead. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlpytest-funcarg-prefix>`__ on information on how to update your code. - `4545 <https://github.com/pytest-dev/pytest/issues/4545>`_: Calling fixtures directly is now always an error instead of a warning. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlcalling-fixtures-directly>`__ on information on how to update your code. - `4546 <https://github.com/pytest-dev/pytest/issues/4546>`_: Remove ``Node.get_marker(name)`` the return value was not usable for more than a existence check. Use ``Node.get_closest_marker(name)`` as a replacement. - `4547 <https://github.com/pytest-dev/pytest/issues/4547>`_: The deprecated ``record_xml_property`` fixture has been removed, use the more generic ``record_property`` instead. See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlrecord-xml-property>`__ for more information. - `4548 <https://github.com/pytest-dev/pytest/issues/4548>`_: An error is now raised if the ``pytest_plugins`` variable is defined in a non-top-level ``conftest.py`` file (i.e., not residing in the ``rootdir``). See our `docs <https://docs.pytest.org/en/latest/deprecations.htmlpytest-plugins-in-non-top-level-conftest-files>`__ for more information. - `891 <https://github.com/pytest-dev/pytest/issues/891>`_: Remove ``testfunction.markername`` attributes - use ``Node.iter_markers(name=None)`` to iterate them. Deprecations ------------ - `3050 <https://github.com/pytest-dev/pytest/issues/3050>`_: Deprecated the ``pytest.config`` global. See https://docs.pytest.org/en/latest/deprecations.htmlpytest-config-global for rationale. - `3974 <https://github.com/pytest-dev/pytest/issues/3974>`_: Passing the ``message`` parameter of ``pytest.raises`` now issues a ``DeprecationWarning``. It is a common mistake to think this parameter will match the exception message, while in fact it only serves to provide a custom message in case the ``pytest.raises`` check fails. To avoid this mistake and because it is believed to be little used, pytest is deprecating it without providing an alternative for the moment. If you have concerns about this, please comment on `issue 3974 <https://github.com/pytest-dev/pytest/issues/3974>`__. - `4435 <https://github.com/pytest-dev/pytest/issues/4435>`_: Deprecated ``raises(..., 'code(as_a_string)')`` and ``warns(..., 'code(as_a_string)')``. See https://docs.pytest.org/en/latest/deprecations.htmlraises-warns-exec for rationale and examples. Features -------- - `3191 <https://github.com/pytest-dev/pytest/issues/3191>`_: A warning is now issued when assertions are made for ``None``. This is a common source of confusion among new users, which write: .. code-block:: python assert mocked_object.assert_called_with(3, 4, 5, key="value") When they should write: .. code-block:: python mocked_object.assert_called_with(3, 4, 5, key="value") Because the ``assert_called_with`` method of mock objects already executes an assertion. This warning will not be issued when ``None`` is explicitly checked. An assertion like: .. code-block:: python assert variable is None will not issue the warning. - `3632 <https://github.com/pytest-dev/pytest/issues/3632>`_: Richer equality comparison introspection on ``AssertionError`` for objects created using `attrs <http://www.attrs.org/en/stable/>`__ or `dataclasses <https://docs.python.org/3/library/dataclasses.html>`_ (Python 3.7+, `backported to 3.6 <https://pypi.org/project/dataclasses>`__). - `4278 <https://github.com/pytest-dev/pytest/issues/4278>`_: ``CACHEDIR.TAG`` files are now created inside cache directories. Those files are part of the `Cache Directory Tagging Standard <http://www.bford.info/cachedir/spec.html>`__, and can be used by backup or synchronization programs to identify pytest's cache directory as such. - `4292 <https://github.com/pytest-dev/pytest/issues/4292>`_: ``pytest.outcomes.Exit`` is derived from ``SystemExit`` instead of ``KeyboardInterrupt``. This allows us to better handle ``pdb`` exiting. - `4371 <https://github.com/pytest-dev/pytest/issues/4371>`_: Updated the ``--collect-only`` option to display test descriptions when ran using ``--verbose``. - `4386 <https://github.com/pytest-dev/pytest/issues/4386>`_: Restructured ``ExceptionInfo`` object construction and ensure incomplete instances have a ``repr``/``str``. - `4416 <https://github.com/pytest-dev/pytest/issues/4416>`_: pdb: added support for keyword arguments with ``pdb.set_trace``. It handles ``header`` similar to Python 3.7 does it, and forwards any other keyword arguments to the ``Pdb`` constructor. This allows for ``__import__("pdb").set_trace(skip=["foo.*"])``. - `4483 <https://github.com/pytest-dev/pytest/issues/4483>`_: Added ini parameter ``junit_duration_report`` to optionally report test call durations, excluding setup and teardown times. The JUnit XML specification and the default pytest behavior is to include setup and teardown times in the test duration report. You can include just the call durations instead (excluding setup and teardown) by adding this to your ``pytest.ini`` file: .. code-block:: ini [pytest] junit_duration_report = call - `4532 <https://github.com/pytest-dev/pytest/issues/4532>`_: ``-ra`` now will show errors and failures last, instead of as the first items in the summary. This makes it easier to obtain a list of errors and failures to run tests selectively. - `4599 <https://github.com/pytest-dev/pytest/issues/4599>`_: ``pytest.importorskip`` now supports a ``reason`` parameter, which will be shown when the requested module cannot be imported. Bug Fixes --------- - `3532 <https://github.com/pytest-dev/pytest/issues/3532>`_: ``-p`` now accepts its argument without a space between the value, for example ``-pmyplugin``. - `4327 <https://github.com/pytest-dev/pytest/issues/4327>`_: ``approx`` again works with more generic containers, more precisely instances of ``Iterable`` and ``Sized`` instead of more restrictive ``Sequence``. - `4397 <https://github.com/pytest-dev/pytest/issues/4397>`_: Ensure that node ids are printable. - `4435 <https://github.com/pytest-dev/pytest/issues/4435>`_: Fixed ``raises(..., 'code(string)')`` frame filename. - `4458 <https://github.com/pytest-dev/pytest/issues/4458>`_: Display actual test ids in ``--collect-only``. Improved Documentation ---------------------- - `4557 <https://github.com/pytest-dev/pytest/issues/4557>`_: Markers example documentation page updated to support latest pytest version. - `4558 <https://github.com/pytest-dev/pytest/issues/4558>`_: Update cache documentation example to correctly show cache hit and miss. - `4580 <https://github.com/pytest-dev/pytest/issues/4580>`_: Improved detailed summary report documentation. Trivial/Internal Changes ------------------------ - `4447 <https://github.com/pytest-dev/pytest/issues/4447>`_: Changed the deprecation type of ``--result-log`` to ``PytestDeprecationWarning``. It was decided to remove this feature at the next major revision. ``` ### 4.0.2 ``` ========================= Bug Fixes --------- - `4265 <https://github.com/pytest-dev/pytest/issues/4265>`_: Validate arguments from the ``PYTEST_ADDOPTS`` environment variable and the ``addopts`` ini option separately. - `4435 <https://github.com/pytest-dev/pytest/issues/4435>`_: Fix ``raises(..., 'code(string)')`` frame filename. - `4500 <https://github.com/pytest-dev/pytest/issues/4500>`_: When a fixture yields and a log call is made after the test runs, and, if the test is interrupted, capture attributes are ``None``. - `4538 <https://github.com/pytest-dev/pytest/issues/4538>`_: Raise ``TypeError`` for ``with raises(..., match=<non-None falsey value>)``. Improved Documentation ---------------------- - `1495 <https://github.com/pytest-dev/pytest/issues/1495>`_: Document common doctest fixture directory tree structure pitfalls ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/pytest - Changelog: https://pyup.io/changelogs/pytest/ - Homepage: https://docs.pytest.org/en/latest/ </details> ### Update [raven](https://pypi.org/project/raven) from **6.9.0** to **6.10.0**. <details> <summary>Changelog</summary> ### 6.10.0 ``` ------ * [Core] Fixed stackframes in some situations being in inverse order. * [Flask] Fix wrong exception handling logic (accidentally relied on Flask internals). * [Core] No longer send NaN local vars as non-standard JSON. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/raven - Changelog: https://pyup.io/changelogs/raven/ - Repo: https://github.com/getsentry/raven-python </details> ### Update [backoff](https://pypi.org/project/backoff) from **1.7.1** to **1.8.0**. <details> <summary>Changelog</summary> ### 1.8.0 ``` Changed - Give up on StopIteration raised in wait generators - Iterable intervals for constant wait_gen for predefined wait sequences - Nullary jitter signature deprecation warning - Custom loggers ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/backoff - Changelog: https://pyup.io/changelogs/backoff/ - Repo: https://github.com/litl/backoff </details> ### Update [google-cloud-storage](https://pypi.org/project/google-cloud-storage) from **1.13.0** to **1.13.2**. *The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)* <details> <summary>Links</summary> - PyPI: https://pypi.org/project/google-cloud-storage - Repo: https://github.com/GoogleCloudPlatform/google-cloud-python </details> ### Update [kinto-http](https://pypi.org/project/kinto-http) from **10.1.0** to **10.2.0**. <details> <summary>Changelog</summary> ### 10.2.0 ``` =================== **New features** - Created new method on client to get paginated records ``get_paginated_records``. (175) - Allow additional querystring params in `get_*()` methods ``` ### 10.1.1 ``` =================== **Bug fixes** - Fix JSON support for `in_` and `exclude_`. (188) ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/kinto-http - Changelog: https://pyup.io/changelogs/kinto-http/ - Repo: https://github.com/Kinto/kinto-http.py/ </details> ### Update [Sphinx](https://pypi.org/project/Sphinx) from **1.8.2** to **1.8.3**. <details> <summary>Changelog</summary> ### 1.8.3 ``` ============================== Dependencies ------------ Incompatible changes -------------------- Deprecated ---------- Features added -------------- * LaTeX: it is possible to insert custom material to appear on back of title page, see discussion of ``'maketitle'`` key of :confval:`latex_elements` (``'manual'`` docclass only) Bugs fixed ---------- * 5725: mathjax: Use CDN URL for "latest" version by default * 5460: html search does not work with some 3rd party themes * 5520: LaTeX, caption package incompatibility since Sphinx 1.6 * 5614: autodoc: incremental build is broken when builtin modules are imported * 5627: qthelp: index.html missing in QtHelp * 5659: linkcheck: crashes for a hyperlink containing multibyte character * 5754: DOC: Fix some mistakes in :doc:`/latex` * 5810: LaTeX: sphinxVerbatim requires explicit "hllines" set-up since 1.6.6 (refs: 1238) * 5636: C++, fix parsing of floating point literals. * 5496 (again): C++, fix assertion in partial builds with duplicates. * 5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty * 1956: Default conf.py is not PEP8-compliant * 5849: LaTeX: document class ``\maketitle`` is overwritten with no possibility to use original meaning in place of Sphinx custom one * 5834: apidoc: wrong help for ``--tocfile`` * 5800: todo: crashed if todo is defined in TextElement * 5846: htmlhelp: convert hex escaping to decimal escaping in .hhc/.hhk files Testing -------- ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/sphinx - Changelog: https://pyup.io/changelogs/sphinx/ - Homepage: http://sphinx-doc.org/ </details> Co-authored-by: pyup-bot <[email protected]> Co-authored-by: Peter Bengtsson <[email protected]>
- Loading branch information