Skip to content

chore(deps): bump the pip group with 3 updates #79

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

Merged
merged 1 commit into from
May 3, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 3, 2025

Updates the requirements on mypy, ruff and pre-commit to permit the latest version.
Updates mypy 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) -> int:
    return self.value
@f.setter
def f(self, x: str | int) -> None:
    try:
        self.value = int(x)
    except ValueError:
        raise Exception(f"'{x}' is not a valid value for 'f'")

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.4.1 to 0.11.8

Release notes

Sourced from ruff's releases.

0.11.8

Release Notes

Preview features

  • [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302, AIR311) (#17553, #17570, #17571)
  • [airflow] Extend AIR301 rule (#17598)
  • [airflow] Update existing AIR302 rules with better suggestions (#17542)
  • [refurb] Mark fix as safe for readlines-in-for (FURB129) (#17644)
  • [syntax-errors] nonlocal declaration at module level (#17559)
  • [syntax-errors] Detect single starred expression assignment x = *y (#17624)

Bug fixes

  • [flake8-pyi] Ensure Literal[None,] | Literal[None,] is not autofixed to None | None (PYI061) (#17659)
  • [flake8-use-pathlib] Avoid suggesting Path.iterdir() for os.listdir with file descriptor (PTH208) (#17715)
  • [flake8-use-pathlib] Fix PTH104 false positive when rename is passed a file descriptor (#17712)
  • [flake8-use-pathlib] Fix PTH116 false positive when stat is passed a file descriptor (#17709)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor from a function call (#17705)
  • [pycodestyle] Fix duplicated diagnostic in E712 (#17651)
  • [pylint] Detect global declarations in module scope (PLE0118) (#17411)
  • [syntax-errors] Make async-comprehension-in-sync-comprehension more specific (#17460)

Configuration

  • Add option to disable typing_extensions imports (#17611)

Documentation

Other changes

  • Add Python 3.14 to configuration options (#17647)
  • Make syntax error for unparenthesized except tuples version specific to before 3.14 (#17660)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.11.8

Preview features

  • [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302, AIR311) (#17553, #17570, #17571)
  • [airflow] Extend AIR301 rule (#17598)
  • [airflow] Update existing AIR302 rules with better suggestions (#17542)
  • [refurb] Mark fix as safe for readlines-in-for (FURB129) (#17644)
  • [syntax-errors] nonlocal declaration at module level (#17559)
  • [syntax-errors] Detect single starred expression assignment x = *y (#17624)

Bug fixes

  • [flake8-pyi] Ensure Literal[None,] | Literal[None,] is not autofixed to None | None (PYI061) (#17659)
  • [flake8-use-pathlib] Avoid suggesting Path.iterdir() for os.listdir with file descriptor (PTH208) (#17715)
  • [flake8-use-pathlib] Fix PTH104 false positive when rename is passed a file descriptor (#17712)
  • [flake8-use-pathlib] Fix PTH116 false positive when stat is passed a file descriptor (#17709)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor from a function call (#17705)
  • [pycodestyle] Fix duplicated diagnostic in E712 (#17651)
  • [pylint] Detect global declarations in module scope (PLE0118) (#17411)
  • [syntax-errors] Make async-comprehension-in-sync-comprehension more specific (#17460)

Configuration

  • Add option to disable typing_extensions imports (#17611)

Documentation

Other changes

  • Add Python 3.14 to configuration options (#17647)
  • Make syntax error for unparenthesized except tuples version specific to before 3.14 (#17660)

0.11.7

Preview features

  • [airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301) (#17355)
  • [perflint] Implement fix for manual-dict-comprehension (PERF403) (#16719)
  • [syntax-errors] Make duplicate parameter names a semantic error (#17131)

Bug fixes

  • [airflow] Fix typos in provider package names (AIR302, AIR312) (#17574)
  • [flake8-type-checking] Visit keyword arguments in checks involving typing.cast/typing.NewType arguments (#17538)
  • [pyupgrade] Preserve parenthesis when fixing native literals containing newlines (UP018) (#17220)
  • [refurb] Mark the FURB161 fix unsafe except for integers and booleans (#17240)

... (truncated)

Commits
  • 75effb8 Bump 0.11.8 (#17766)
  • 3353d07 [flake8-use-pathlib] Fix PTH104false positive when rename is passed a f...
  • 41f3f21 Improve messages outputted by py-fuzzer (#17764)
  • 76ec64d [red-knot] Allow subclasses of Any to be assignable to Callable types (#17717)
  • b7e69ec [red-knot] Increase durability of read-only File fields (#17757)
  • 9c57862 [red-knot] Cache source type during semanic index building (#17756)
  • 67ef370 [flake8-use-pathlib] Fix PTH116 false positive when stat is passed a fi...
  • e17e1e8 Sync vendored typeshed stubs (#17753)
  • 03d8679 [red-knot] Preliminary NamedTuple support (#17738)
  • d33a503 [red-knot] Add tests for classes that have incompatible __new__ and `__init...
  • Additional commits viewable in compare view

Updates pre-commit to 4.2.0

Release notes

Sourced from pre-commit's releases.

pre-commit v4.2.0

Features

  • For language: python first attempt a versioned python executable for the default language version before consulting a potentially unversioned sys.executable.

Fixes

Changelog

Sourced from pre-commit's changelog.

4.2.0 - 2025-03-18

Features

  • For language: python first attempt a versioned python executable for the default language version before consulting a potentially unversioned sys.executable.

Fixes

4.1.0 - 2025-01-20

Features

Fixes

4.0.1 - 2024-10-08

Fixes

4.0.0 - 2024-10-05

Features

... (truncated)

Commits
  • aa48766 v4.2.0
  • bf6f11d Merge pull request #3430 from pre-commit/preferential-sys-impl
  • 3e8d0f5 adjust python default_language_version to prefer versioned exe
  • ff7256c Merge pull request #3425 from tusharsadhwani/ambiguous-ref
  • b7eb412 fix: crash on ambiguous ref 'HEAD'
  • 7b88c63 Merge pull request #3404 from pre-commit/pre-commit-ci-update-config
  • 94b97e2 [pre-commit.ci] pre-commit autoupdate
  • 2f93b80 Merge pull request #3401 from pre-commit/pre-commit-ci-update-config
  • 4f90a1e [pre-commit.ci] pre-commit autoupdate
  • aba1ce0 Merge pull request #3396 from pre-commit/all-repos_autofix_all-repos-sed
  • 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

Updates the requirements on [mypy](https://github.com/python/mypy), [ruff](https://github.com/astral-sh/ruff) and [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.

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

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

Updates `pre-commit` to 4.2.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.6.0...v4.2.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.15.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: ruff
  dependency-version: 0.11.8
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: pre-commit
  dependency-version: 4.2.0
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 3, 2025
@Lancetnik Lancetnik merged commit 43b3255 into develop May 3, 2025
@dependabot dependabot bot deleted the dependabot/pip/pip-289cb0279e branch May 3, 2025 14:48
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