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

Bump the development-deps group with 8 updates #238

Merged
merged 2 commits into from
May 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2024

Bumps the development-deps group with 8 updates:

Package From To
pytest-sugar 0.9.7 1.0.0
pytest-mock 3.10.0 3.11.1
mypy 1.3.0 1.4.1
coverage 7.2.5 7.2.7
pytest-cov 4.0.0 4.1.0
pytest 7.4.2 7.4.4
types-toml 0.10.8.1 0.10.8.7
types-pyyaml 6.0.12.10 6.0.12.12

Updates pytest-sugar from 0.9.7 to 1.0.0

Release notes

Sourced from pytest-sugar's releases.

pytest-sugar 1.0.0

  • Add support for pytest 8.x
  • Drop support for Python 3.7

Thanks to folks to contributed to this release: @​suutari-ai, @​hugovk, @​kianmeng, @​mattcristal, and @​justinmayer

Changelog

Sourced from pytest-sugar's changelog.

1.0.0 - 2024-02-01 ^^^^^^^^^^^^^^^^^^

  • Add support for pytest 8.x
  • Drop support for Python 3.7

Contributed by Justin Mayer via [PR #281](Teemu/pytest-sugar#281)

Commits
  • ceec846 Release pytest-sugar 1.0.0
  • 2944a5e Merge pull request #281 from Teemu/upgrade-linters
  • e81bc74 Prepare release
  • 1cb3a58 Add additional status badges to top of README
  • e02ead2 Set GitHub repository URL as home page URL on PyPI
  • de34860 Update list of contributors
  • 2a10753 Update PyPI classifiers
  • 8954e4a Upgrade code style linters
  • 1d07059 Merge pull request #280 from hugovk/rm-setup
  • 6f5bb89 Move config from setup.cfg to pyproject.toml
  • Additional commits viewable in compare view

Updates pytest-mock from 3.10.0 to 3.11.1

Release notes

Sourced from pytest-mock's releases.

v3.11.1

  • Fixed introspection for failed assert_has_calls (#365).

  • Updated type annotations for mocker.patch and mocker.spy (#364).

Changelog

Sourced from pytest-mock's changelog.

3.11.1 (2023-06-15)

(This release source code is identical to 3.11.0 except a small internal fix to deployment/CI)

  • Fixed introspection for failed assert_has_calls ([#365](https://github.com/pytest-dev/pytest-mock/issues/365)_).

  • Updated type annotations for mocker.patch and mocker.spy ([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_).

.. _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364

3.11.0 (2023-06-15)

  • Fixed introspection for failed assert_has_calls ([#365](https://github.com/pytest-dev/pytest-mock/issues/365)_).

  • Updated type annotations for mocker.patch and mocker.spy ([#364](https://github.com/pytest-dev/pytest-mock/issues/364)_).

.. _#365: pytest-dev/pytest-mock#365 .. _#364: pytest-dev/pytest-mock#364

Commits

Updates mypy from 1.3.0 to 1.4.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.10

We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Support TypeIs (PEP 742)

Mypy now supports TypeIs (PEP 742), which allows functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard, TypeIs can narrow in both the if and else branches of an if statement:

from typing_extensions import TypeIs
def is_str(s: object) -> TypeIs[str]:
return isinstance(s, str)
def f(o: str | int) -> None:
if is_str(o):
# Type of o is 'str'
...
else:
# Type of o is 'int'
...

TypeIs will be added to the typing module in Python 3.13, but it can be used on earlier Python versions by importing it from typing_extensions.

This feature was contributed by Jelle Zijlstra (PR 16898).

Support TypeVar Defaults (PEP 696)

PEP 696 adds support for type parameter defaults. Example:

from typing import Generic
from typing_extensions import TypeVar
</tr></table>

... (truncated)

Commits

Updates coverage from 7.2.5 to 7.2.7

Changelog

Sourced from coverage's changelog.

Version 7.2.7 — 2023-05-29

  • Fix: reverted a change from 6.4.3 <pull 1347b_>_ that helped Cython, but also increased the size of data files when using dynamic contexts, as described in the now-fixed issue 1586. The problem is now avoided due to a recent change (issue 1538 <issue 1538b_>). Thanks to Anders Kaseorg <pull 1629_>_ and David Szotten for persisting with problem reports and detailed diagnoses.

  • Wheels are now provided for CPython 3.12.

.. _pull 1347b: nedbat/coveragepy#1347 .. _issue 1538b: nedbat/coveragepy#1538 .. _issue 1586: nedbat/coveragepy#1586 .. _pull 1629: nedbat/coveragepy#1629

.. _changes_7-2-6:

Version 7.2.6 — 2023-05-23

  • Fix: the lcov command could raise an IndexError exception if a file is translated to Python but then executed under its own name. Jinja2 does this when rendering templates. Fixes issue 1553_.

  • Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled as invisible functions and coverage.py would warn you if they weren't completely executed. This no longer happens under Python 3.12.

  • Fix: the coverage debug sys command includes some environment variables in its output. This could have included sensitive data. Those values are now hidden with asterisks, closing issue 1628_.

.. _issue 1553: nedbat/coveragepy#1553 .. _issue 1628: nedbat/coveragepy#1628

.. _changes_7-2-5:

Commits
  • 27cabc2 docs: sample HTML for 7.2.7
  • 51b3e82 docs: prep for 7.2.7
  • 6df9ee5 fix: revert "Map also empty dictionaries to file" (#1629)
  • 586b1ee chore: make upgrade
  • 86722e1 chore: make workflows
  • 44fd6f8 build: include 3.12 when building wheels
  • c6c88f2 style: fix the spacing of the changes entries
  • 5281c6c build: don't search in cache directories
  • b62fc41 docs: one new-in mention, and tweak the release how-to
  • 3741d0e build: bump version
  • Additional commits viewable in compare view

Updates pytest-cov from 4.0.0 to 4.1.0

Changelog

Sourced from pytest-cov's changelog.

4.1.0 (2023-05-24)

  • Updated CI with new Pythons and dependencies.
  • Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0. Contributed by Sorin Sbarnea in [#558](https://github.com/pytest-dev/pytest-cov/issues/558) <https://github.com/pytest-dev/pytest-cov/pull/558>_.
  • Optimized summary generation to not be performed if no reporting is active (for example, when --cov-report='' is used without --cov-fail-under). Contributed by Jonathan Stewmon in [#589](https://github.com/pytest-dev/pytest-cov/issues/589) <https://github.com/pytest-dev/pytest-cov/pull/589>_.
  • Added support for JSON reporting. Contributed by Matthew Gamble in [#582](https://github.com/pytest-dev/pytest-cov/issues/582) <https://github.com/pytest-dev/pytest-cov/pull/582>_.
  • Refactored code to use f-strings. Contributed by Mark Mayo in [#572](https://github.com/pytest-dev/pytest-cov/issues/572) <https://github.com/pytest-dev/pytest-cov/pull/572>_.
  • Fixed a skip in the test suite for some old xdist. Contributed by a bunch of people in [#565](https://github.com/pytest-dev/pytest-cov/issues/565) <https://github.com/pytest-dev/pytest-cov/pull/565>_.
Commits
  • 2c9f217 Bump version: 4.0.0 → 4.1.0
  • 4d245df Update changelog and authors.
  • 7b095c8 Skip starting from xdist 3.0.2 (where boxed was removed).
  • 605d690 disabling boxed test if version xdist newer than 2.5.0
  • 76fb2a6 introduced f-strings
  • 0d63ede Update test config. Reapply some of the changes from PR567 to the right file ...
  • f3d8d83 Add support for JSON reporter
  • dec02ab Update test deps.
  • 88a7d34 chore: update AUTHORS and CHANGELOG
  • 74eb4cc perf: only call summary when the report will be used
  • Additional commits viewable in compare view

Updates pytest from 7.4.2 to 7.4.4

Release notes

Sourced from pytest's releases.

pytest 7.4.4 (2023-12-31)

Bug Fixes

  • #11140: Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.
  • #11572: Handle an edge case where sys.stderr{.interpreted-text role="data"} and sys.__stderr__{.interpreted-text role="data"} might already be closed when faulthandler{.interpreted-text role="ref"} is tearing down.
  • #11710: Fixed tracebacks from collection errors not getting pruned.
  • #7966: Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in __iter__ methods. Now they are treated un-iterable instead.

Improved Documentation

  • #11091: Updated documentation to refer to hyphenated options: replaced --junitxml with --junit-xml and --collectonly with --collect-only.

pytest 7.4.3 (2023-10-24)

Bug Fixes

  • #10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.

  • #11239: Fixed := in asserts impacting unrelated test cases.

  • #11439: Handled an edge case where :data:sys.stderr might already be closed when :ref:faulthandler is tearing down.

Commits
  • 33f694f Prepare release version 7.4.4
  • 76c107c Merge pull request #11751 from bluetech/backport-11143-to-7.4.x
  • 531d76d [7.4.x] Improve reporting from iter exceptions (#11749)
  • a0f58fa Merge pull request #11143 from tushar-deepsource/patch-1
  • b1f3387 [7.4.x] #11091: documentation should use hypthonated properties (#11750)
  • 2cdd619 Merge pull request #11747 from pytest-dev/backport-11711-to-7.4.x
  • d06c05b [7.4.x] nodes: fix tracebacks from collection errors are not getting pruned
  • 5582bfc [7.4.x] Improves clarity in Sphinx documentation for function signature. (#11...
  • 13024ef [7.4.x] Fix for operation on closed file in faulthandler teardown (#11631)
  • a40dacf [7.4.x] XFAIL TestLocalPath.test_make_numbered_dir_multiprocess_safe (#11616)
  • Additional commits viewable in compare view

Updates types-toml from 0.10.8.1 to 0.10.8.7

Commits

Updates types-pyyaml from 6.0.12.10 to 6.0.12.12

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the development-deps group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [pytest-sugar](https://github.com/Teemu/pytest-sugar) | `0.9.7` | `1.0.0` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.10.0` | `3.11.1` |
| [mypy](https://github.com/python/mypy) | `1.3.0` | `1.4.1` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.2.5` | `7.2.7` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `4.0.0` | `4.1.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.4` |
| [types-toml](https://github.com/python/typeshed) | `0.10.8.1` | `0.10.8.7` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.10` | `6.0.12.12` |


Updates `pytest-sugar` from 0.9.7 to 1.0.0
- [Release notes](https://github.com/Teemu/pytest-sugar/releases)
- [Changelog](https://github.com/Teemu/pytest-sugar/blob/main/CHANGES.rst)
- [Commits](Teemu/pytest-sugar@v0.9.7...v1.0.0)

Updates `pytest-mock` from 3.10.0 to 3.11.1
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v3.10.0...v3.11.1)

Updates `mypy` from 1.3.0 to 1.4.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.3.0...v1.4.1)

Updates `coverage` from 7.2.5 to 7.2.7
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.2.5...7.2.7)

Updates `pytest-cov` from 4.0.0 to 4.1.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v4.0.0...v4.1.0)

Updates `pytest` from 7.4.2 to 7.4.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.2...7.4.4)

Updates `types-toml` from 0.10.8.1 to 0.10.8.7
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pyyaml` from 6.0.12.10 to 6.0.12.12
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: pytest-sugar
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-deps
- dependency-name: pytest-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-deps
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-deps
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-deps
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-deps
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-deps
- dependency-name: types-toml
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-deps
- dependency-name: types-pyyaml
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from twu as a code owner May 8, 2024 14:29
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 8, 2024
@twu twu merged commit ebbeebf into master May 9, 2024
4 checks passed
@twu twu deleted the dependabot/pip/development-deps-f45d73db47 branch May 9, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant