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

chore(deps-dev): Bump the development-dependencies group across 1 directory with 3 updates #373

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps the development-dependencies group with 3 updates in the / directory: coverage, mypy and ruff.

Updates coverage from 7.6.10 to 7.6.12

Changelog

Sourced from coverage's changelog.

Version 7.6.12 — 2025-02-11

  • Fix: some aarch64 distributions were missing (issue 1927_). These are now building reliably.

.. _issue 1927: nedbat/coveragepy#1927

.. _changes_7-6-11:

Version 7.6.11 — 2025-02-08

  • Fix: a memory leak in CTracer has been fixed. The details are in issue 1924_ and pytest-dev 676_. This should reduce the memory footprint for everyone even if it hadn't caused a problem before.

  • We now ship a py3-none-any.whl wheel file. Thanks, Russell Keith-Magee <pull 1914_>_.

.. _pull 1914: nedbat/coveragepy#1914 .. _issue 1924: nedbat/coveragepy#1924 .. _pytest-dev 676: pytest-dev/pytest-cov#676

.. _changes_7-6-10:

Commits
  • 7e5373e docs: sample HTML for 7.6.12
  • a4ed38b docs: prep for 7.6.12
  • ce4efdc build: fix aarch64 kits #1927
  • a1f3192 build: don't publish if kit building failed
  • bb68f99 chore: bump the action-dependencies group with 2 updates (#1926)
  • f3d6b4a refactor: check for more kinds of constant tests
  • 67899ea refactor: we no longer care what kind of constant the compile-time constants are
  • c850f20 refactor: macOS is MACOS, not OSX
  • a1b2c1a build: there are always tweaks to howto.txt
  • 9c03039 build: bump version to 7.6.12
  • Additional commits viewable in compare view

Updates mypy from 1.14.1 to 1.15.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Different Property Getter and Setter Types

Mypy now supports using different types for property getter and setter.

class A:
    value: int
@property
def f(self) -&gt; int:
    return self.value
@f.setter
def f(self, x: str | int) -&gt; None:
    try:
        self.value = int(x)
    except ValueError:
        raise Exception(f&quot;'{x}' is not a valid value for 'f'&quot;)

Contributed by Ivan Levkivskyi (PR 18510)

Selectively Disable Deprecated Warnings

It's now possible to selectively disable warnings generated from warnings.deprecated using the --deprecated-calls-exclude option.

# mypy --enable-error-code deprecated
#      --deprecated-calls-exclude=foo.A
import foo
foo.A().func()  # OK, the deprecated warning is ignored
file foo.py
from typing_extensions import deprecated
class A:
@​deprecated("Use A.func2 instead")
def func(self): pass

Contributed by Marc Mueller (PR 18641)

Mypy 1.15

We’ve just uploaded mypy 1.15 to the Python Package Index (PyPI).

... (truncated)

Commits
  • 9397454 remove +dev from version ahead of final release
  • 686b591 remove "unreleased" from 1.15 changelog entry
  • cb4b243 Various small updates to 1.15 changelog (#18599)
  • 1a26502 Prepare changelog for 1.15 release (#18583)
  • d4515e4 Fix a few PR links in the changelog (#18586)
  • f83b643 Add object self-type to tuple test fixture (#18592)
  • ebc2cb8 Prevent crash on generic NamedTuple with unresolved typevar bound (#18585)
  • 63c251e empty commit to trigger wheel rebuild
  • c30573e Fix literal context for ternary expressions (for real) (#18545)
  • 23d862d Fix isinstance with explicit (non generic) type alias (#18512)
  • Additional commits viewable in compare view

Updates ruff from 0.9.3 to 0.9.7

Release notes

Sourced from ruff's releases.

0.9.7

Release Notes

Preview features

  • Consider __new__ methods as special function type for enforcing class method or static method rules (#13305)
  • [airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#16013)
  • [refurb] Manual timezone monkeypatching (FURB162) (#16113)
  • [ruff] Implicit class variable in dataclass (RUF045) (#14349)
  • [ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#16083)
  • [refurb] Check for subclasses includes subscript expressions (FURB189) (#16155)

Rule changes

  • [flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#16191)
  • [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#16251)

Formatter

  • Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#16187)

Server

  • Fix handling of requests received after shutdown message (#16262)
  • Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#16154)
  • Include document specific debug info for ruff.printDebugInformation (#16215)
  • Update server to return the debug info as string with ruff.printDebugInformation (#16214)

CLI

  • Warn on invalid noqa even when there are no diagnostics (#16178)
  • Better error messages while loading configuration extends (#15658)

Bug fixes

  • [flake8-comprehensions] Handle trailing comma in C403 fix (#16110)
  • [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#16141)
  • [pydocstyle] Handle arguments with the same names as sections (D417) (#16011)
  • [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#16080)
  • [pylint] Do not offer fix for raw strings (PLE251) (#16132)
  • [pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#16219)
  • [pyupgrade] Handle micro version numbers correctly (UP036) (#16091)
  • [pyupgrade] Unwrap unary expressions correctly (UP018) (#15919)
  • [refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#16237)
  • [ruff] Skip RUF001 diagnostics when visiting string type definitions (#16122)

Documentation

  • Add FAQ entry for source.* code actions in Notebook (#16212)
  • Add SECURITY.md (#16224)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.7

Preview features

  • Consider __new__ methods as special function type for enforcing class method or static method rules (#13305)
  • [airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#16013)
  • [refurb] Manual timezone monkeypatching (FURB162) (#16113)
  • [ruff] Implicit class variable in dataclass (RUF045) (#14349)
  • [ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#16083)
  • [refurb] Check for subclasses includes subscript expressions (FURB189) (#16155)

Rule changes

  • [flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#16191)
  • [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#16251)

Formatter

  • Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#16187)

Server

  • Fix handling of requests received after shutdown message (#16262)
  • Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#16154)
  • Include document specific debug info for ruff.printDebugInformation (#16215)
  • Update server to return the debug info as string with ruff.printDebugInformation (#16214)

CLI

  • Warn on invalid noqa even when there are no diagnostics (#16178)
  • Better error messages while loading configuration extends (#15658)

Bug fixes

  • [flake8-comprehensions] Handle trailing comma in C403 fix (#16110)
  • [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#16141)
  • [pydocstyle] Handle arguments with the same names as sections (D417) (#16011)
  • [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#16080)
  • [pylint] Do not offer fix for raw strings (PLE251) (#16132)
  • [pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#16219)
  • [pyupgrade] Handle micro version numbers correctly (UP036) (#16091)
  • [pyupgrade] Unwrap unary expressions correctly (UP018) (#15919)
  • [refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#16237)
  • [ruff] Skip RUF001 diagnostics when visiting string type definitions (#16122)

Documentation

  • Add FAQ entry for source.* code actions in Notebook (#16212)
  • Add SECURITY.md (#16224)

... (truncated)

Commits
  • 54fccb3 Bump version to 0.9.7 (#16271)
  • 8198668 [red-knot] MDTest: Use custom class names instead of builtins (#16269)
  • fc6b03c Handle requests received after shutdown message (#16262)
  • fb09d63 [red-knot] Prefix Type::call and dunder_call with try (#16261)
  • 16d0625 Improve internal docs for various string-node APIs (#16256)
  • 25920fe Rename ExprStringLiteral::as_unconcatenated_string() to `ExprStringLiteral:...
  • 97d0659 Pass ParserOptions to the parser (#16220)
  • cfc6941 [red-knot] Resolve references in eager nested scopes eagerly (#16079)
  • f50849a Add text_len() methods to more *Prefix enums in ruff_python_ast (#16254)
  • 55ea094 [red-knot] Allow any Ranged argument for report_lint and `report_diagnost...
  • Additional commits viewable in compare view

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

…ectory with 3 updates

Bumps the development-dependencies group with 3 updates in the / directory: [coverage](https://github.com/nedbat/coveragepy), [mypy](https://github.com/python/mypy) and [ruff](https://github.com/astral-sh/ruff).


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

Updates `mypy` from 1.14.1 to 1.15.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.14.1...v1.15.0)

Updates `ruff` from 0.9.3 to 0.9.7
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.9.3...0.9.7)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Project dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants