Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 29, 2025

Bumps the minor group with 4 updates: flake8, mypy, hypothesis and setuptools-scm[toml].

Updates flake8 from 7.1.1 to 7.2.0

Commits
  • 16f5f28 Release 7.2.0
  • ebad305 Merge pull request #1974 from PyCQA/update-plugins
  • d56d569 update versions of pycodestyle / pyflakes
  • a7e8f62 Merge pull request #1973 from PyCQA/py39-plus
  • 9d55ccd py39+
  • e492aeb Merge pull request #1967 from PyCQA/unnecessary-mocks
  • fa2ed71 remove a few unnecessary mocks in test_checker_manager
  • fffee8b Release 7.1.2
  • 19001f7 Merge pull request #1966 from PyCQA/limit-procs-to-file-count
  • f35737a avoid starting unnecessary processes when file count is limited
  • See full diff 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) -> 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 hypothesis from 6.124.7 to 6.130.5

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.130.5

Improve our internal type hints.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.130.4

Improve an additional interaction between the hypothesis-crosshair backend and our observability tools.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.130.3

This patch improves the interaction between the hypothesis-crosshair backend and our observability tools.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.130.2

Fix an issue with realizing symbolic values provided by alternative backends when Hypothesis encounters an internal error in its engine.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.130.1

Improve the documentation for some strategies, including "@​composite" and "data()".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.130.0

Nesting "@​given" inside of "@​given" is now a health check failure. Nesting "@​given" results in quadratic generation and shrinking behavior, and can usually be more cleanly expressed by replacing the inner function with a "data()" parameter on the outer given. For more details, see "nested_given". (issue #4167)

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.129.5

Fixes an internal error when certain alternative backends find a failure on their very first generated example.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.129.4

"nothing()" is now typed as "SearchStrategy[Never]", because no value can ever be drawn from it. This may help type checkers statically determine that some code is not reachable.

The canonical version of these notes (with links) is on readthedocs.

... (truncated)

Commits

Updates setuptools-scm[toml] from 8.1.0 to 8.2.0

Changelog

Sourced from setuptools-scm[toml]'s changelog.

v8.2.0

Added

  • fix #960: add a --force-write-version-files flag for the cli

Changed

  • fix #950: ensure to pass encodings to io usage
  • fix #957: add subprocess timeout control env var
  • add sp-repo-review pre-commit hook

Fixed

  • fix #1018: allow non-normalized versions for semver
  • fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels
  • fix #1081: add name normalized pipx entrypoint
  • fix #1080: clean pdm from PYTHONPATH to protect mercurial
Commits
  • e554978 complete changelog to reasonable accuracy for quick release
  • 260dcf0 chore: scriv collect
  • 836eb42 Merge pull request #1096 from DimitriPapadopoulos/ruff_0.9.1
  • 98b7078 Merge pull request #1106 from Ecordonnier/eco/git-ceiling-directories
  • 7d4e94c Merge pull request #1104 from jezdez/patch-1
  • 0b82e5d [pre-commit.ci] auto fixes from pre-commit.com hooks
  • 979d793 respect GIT_CEILING_DIRECTORIES
  • 68c6b20 Add missing code block end.
  • 9b6f031 Merge pull request #1102 from paugier/error-message-env-var
  • 2b0722f Mention SETUPTOOLS_SCM_PRETEND_VERSION_FOR in error message
  • 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

Bumps the minor group with 4 updates: [flake8](https://github.com/pycqa/flake8), [mypy](https://github.com/python/mypy), [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [setuptools-scm[toml]](https://github.com/pypa/setuptools-scm).


Updates `flake8` from 7.1.1 to 7.2.0
- [Commits](PyCQA/flake8@7.1.1...7.2.0)

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 `hypothesis` from 6.124.7 to 6.130.5
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.124.7...hypothesis-python-6.130.5)

Updates `setuptools-scm[toml]` from 8.1.0 to 8.2.0
- [Release notes](https://github.com/pypa/setuptools-scm/releases)
- [Changelog](https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md)
- [Commits](pypa/setuptools-scm@v8.1.0...v8.2.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: hypothesis
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: setuptools-scm[toml]
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 29, 2025

Labels

The following labels could not be found: type:tech-debt. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants