Skip to content

Scheduled weekly dependency update for week 09#416

Merged
webknjaz merged 7 commits intomasterfrom
pyup-scheduled-update-2019-03-04
Mar 5, 2019
Merged

Scheduled weekly dependency update for week 09#416
webknjaz merged 7 commits intomasterfrom
pyup-scheduled-update-2019-03-04

Conversation

@pyup-bot
Copy link
Copy Markdown
Contributor

@pyup-bot pyup-bot commented Mar 4, 2019

Update pyflakes from 2.1.0 to 2.1.1.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update pytest from 4.2.0 to 4.3.0.

Changelog

4.3.0

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

Deprecations
------------

- `4724 <https://github.com/pytest-dev/pytest/issues/4724>`_: ``pytest.warns()`` now emits a warning when it receives unknown keyword arguments.

This will be changed into an error in the future.



Features
--------

- `2753 <https://github.com/pytest-dev/pytest/issues/2753>`_: Usage errors from argparse are mapped to pytest's ``UsageError``.


- `3711 <https://github.com/pytest-dev/pytest/issues/3711>`_: Add the ``--ignore-glob`` parameter to exclude test-modules with Unix shell-style wildcards.
Add the ``collect_ignore_glob`` for ``conftest.py`` to exclude test-modules with Unix shell-style wildcards.


- `4698 <https://github.com/pytest-dev/pytest/issues/4698>`_: The warning about Python 2.7 and 3.4 not being supported in pytest 5.0 has been removed.

In the end it was considered to be more
of a nuisance than actual utility and users of those Python versions shouldn't have problems as ``pip`` will not
install pytest 5.0 on those interpreters.


- `4707 <https://github.com/pytest-dev/pytest/issues/4707>`_: With the help of new ``set_log_path()`` method there is a way to set ``log_file`` paths from hooks.



Bug Fixes
---------

- `4651 <https://github.com/pytest-dev/pytest/issues/4651>`_: ``--help`` and ``--version`` are handled with ``UsageError``.


- `4782 <https://github.com/pytest-dev/pytest/issues/4782>`_: Fix ``AssertionError`` with collection of broken symlinks with packages.

4.2.1

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

Bug Fixes
---------

- `2895 <https://github.com/pytest-dev/pytest/issues/2895>`_: The ``pytest_report_collectionfinish`` hook now is also called with ``--collect-only``.


- `3899 <https://github.com/pytest-dev/pytest/issues/3899>`_: Do not raise ``UsageError`` when an imported package has a ``pytest_plugins.py`` child module.


- `4347 <https://github.com/pytest-dev/pytest/issues/4347>`_: Fix output capturing when using pdb++ with recursive debugging.


- `4592 <https://github.com/pytest-dev/pytest/issues/4592>`_: Fix handling of ``collect_ignore`` via parent ``conftest.py``.


- `4700 <https://github.com/pytest-dev/pytest/issues/4700>`_: Fix regression where ``setUpClass`` would always be called in subclasses even if all tests
were skipped by a ``unittest.skip()`` decorator applied in the subclass.


- `4739 <https://github.com/pytest-dev/pytest/issues/4739>`_: Fix ``parametrize(... ids=<function>)`` when the function returns non-strings.


- `4745 <https://github.com/pytest-dev/pytest/issues/4745>`_: Fix/improve collection of args when passing in ``__init__.py`` and a test file.


- `4770 <https://github.com/pytest-dev/pytest/issues/4770>`_: ``more_itertools`` is now constrained to <6.0.0 when required for Python 2.7 compatibility.


- `526 <https://github.com/pytest-dev/pytest/issues/526>`_: Fix "ValueError: Plugin already registered" exceptions when running in build directories that symlink to actual source.



Improved Documentation
----------------------

- `3899 <https://github.com/pytest-dev/pytest/issues/3899>`_: Add note to ``plugins.rst`` that ``pytest_plugins`` should not be used as a name for a user module containing plugins.


- `4324 <https://github.com/pytest-dev/pytest/issues/4324>`_: Document how to use ``raises`` and ``does_not_raise`` to write parametrized tests with conditional raises.


- `4709 <https://github.com/pytest-dev/pytest/issues/4709>`_: Document how to customize test failure messages when using
``pytest.warns``.



Trivial/Internal Changes
------------------------

- `4741 <https://github.com/pytest-dev/pytest/issues/4741>`_: Some verbosity related attributes of the TerminalReporter plugin are now
read only properties.
Links

Update flake8 from 3.7.5 to 3.7.7.

Changelog

3.7.7

-------------------

You can view the `3.7.7 milestone`_ on GitLab for more details.

Bugs Fixed
~~~~~~~~~~

- Fix crahes in plugins causing ``flake8`` to hang while unpickling errors (See
also `GitLab!308`_, `GitLab505`_)


.. all links
.. _3.7.7 milestone:
 https://gitlab.com/pycqa/flake8/milestones/30

.. issue links
.. _GitLab505:
 https://gitlab.com/pycqa/flake8/issues/505

.. merge request links
.. _GitLab!308:
 https://gitlab.com/pycqa/flake8/merge_requests/308

3.7.6

-------------------

You can view the `3.7.6 milestone`_ on GitLab for more details.

Bugs Fixed
~~~~~~~~~~

- Fix ``--per-file-ignores`` for multi-letter error codes (See also
`GitLab!303`_, `GitLab507`_)

- Improve flake8 speed when only 1 filename is passed (See also `GitLab!305`_)


.. all links
.. _3.7.6 milestone:
 https://gitlab.com/pycqa/flake8/milestones/29

.. issue links
.. _GitLab507:
 https://gitlab.com/pycqa/flake8/issues/507

.. merge request links
.. _GitLab!303:
 https://gitlab.com/pycqa/flake8/merge_requests/303
.. _GitLab!305:
 https://gitlab.com/pycqa/flake8/merge_requests/305
Links

Update sqlalchemy from 1.2.17 to 1.2.18.

Changelog

1.2.18

:released: February 15, 2019

 .. change::
    :tags: bug, orm
    :tickets: 4468

    Fixed a regression in 1.2 where a wildcard/load_only loader option would
    not work correctly against a loader path where of_type() were used to limit
    to a particular subclass.  The fix only works for of_type() of a simple
    subclass so far, not a with_polymorphic entity which will be addressed in a
    separate issue; it is unlikely this latter case was working previously.


 .. change::
    :tags: bug, orm
    :tickets: 4489

    Fixed fairly simple but critical issue where the
    :meth:`.SessionEvents.pending_to_persistent` event would be invoked for
    objects not just when they move from pending to persistent, but when they
    were also already persistent and just being updated, thus causing the event
    to be invoked for all objects on every update.

 .. change::
    :tags: bug, sql
    :tickets: 4485

    Fixed issue where the :class:`.JSON` type had a read-only
    :attr:`.JSON.should_evaluate_none` attribute, which would cause failures
    when making use of the :meth:`.TypeEngine.evaluates_none` method in
    conjunction with this type.  Pull request courtesy Sanjana S.

 .. change::
    :tags: bug, mssql
    :tickets: 4499

    Fixed bug where the SQL Server "IDENTITY_INSERT" logic that allows an INSERT
    to proceed with an explicit value on an IDENTITY column was not detecting
    the case where :meth:`.Insert.values` were used with a dictionary that
    contained a :class:`.Column` as key and a SQL expression as a value.

 .. change::
    :tags: bug, sqlite
    :tickets: 4474

    Fixed bug in SQLite DDL where using an expression as a server side default
    required that it be contained within parenthesis to be accepted by the
    sqlite parser.  Pull request courtesy Bartlomiej Biernacki.

 .. change::
    :tags: bug, mysql
    :tickets: 4492

    Fixed a second regression caused by :ticket:`4344` (the first was
    :ticket:`4361`), which works around MySQL issue 88718, where the lower
    casing function used was not correct for Python 2 with OSX/Windows casing
    conventions, which would then raise ``TypeError``.  Full coverage has been
    added to this logic so that every codepath is exercised in a mock style for
    all three casing conventions on all versions of Python. MySQL 8.0 has
    meanwhile fixed issue 88718 so the workaround is only applies to a
    particular span of MySQL 8.0 versions.

.. changelog::
Links

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2019

Codecov Report

Merging #416 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #416   +/-   ##
=======================================
  Coverage   80.89%   80.89%           
=======================================
  Files          13       13           
  Lines         602      602           
  Branches       92       92           
=======================================
  Hits          487      487           
  Misses        103      103           
  Partials       12       12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e63562...bf0ed1f. Read the comment docs.

@webknjaz webknjaz merged commit 9238dc8 into master Mar 5, 2019
@Dreamsorcerer Dreamsorcerer deleted the pyup-scheduled-update-2019-03-04 branch February 8, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants