Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps the minor group with 6 updates in the / directory:

Package From To
flake8 7.2.0 7.3.0
mypy 1.15.0 1.16.1
types-setuptools 80.3.0.20250505 80.9.0.20250529
pytest 8.3.5 8.4.1
hypothesis 6.131.9 6.135.14
setuptools 80.3.1 80.9.0

Updates flake8 from 7.2.0 to 7.3.0

Commits

Updates mypy from 1.15.0 to 1.16.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Remove Support for targeting Python 3.8

Mypy now requires --python-version 3.9 or greater. Support for only Python 3.8 is fully removed now. Given an unsupported version, mypy will default to the oldest supported one, currently 3.9.

This change is necessary because typeshed stopped supporting Python 3.8 after it reached its End of Life in October 2024.

Contributed by Marc Mueller (PR 19157, PR 19162).

Initial Support for Python 3.14

Mypy is now tested on 3.14 and mypyc works with 3.14.0b3 and later. Mypyc compiled wheels of mypy itself will be available for new versions after 3.14.0rc1 is released.

Note that not all new features might be supported just yet.

Contributed by Marc Mueller (PR 19164)

Deprecated Flag: --force-uppercase-builtins

Mypy only supports Python 3.9+. The --force-uppercase-builtins flag is now deprecated and a no-op. It will be removed in a future version.

Contributed by Marc Mueller (PR 19176)

Mypy 1.16

We’ve just uploaded mypy 1.16 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features 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.

Different Property Getter and Setter Types

Mypy now supports using different types for a property getter and setter:

class A:
    _value: int
@property

</tr></table>

... (truncated)

Commits

Updates types-setuptools from 80.3.0.20250505 to 80.9.0.20250529

Commits

Updates pytest from 8.3.5 to 8.4.1

Release notes

Sourced from pytest's releases.

8.4.1

pytest 8.4.1 (2025-06-17)

Bug fixes

  • #13461: Corrected _pytest.terminal.TerminalReporter.isatty to support being called as a method. Before it was just a boolean which could break correct code when using -o log_cli=true).

  • #13477: Reintroduced pytest.PytestReturnNotNoneWarning{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.

    This warning is raised when a test functions returns a value other than None, which is often a mistake made by beginners.

    See return-not-none{.interpreted-text role="ref"} for more information.

  • #13497: Fixed compatibility with Twisted 25+.

Improved documentation

  • #13492: Fixed outdated warning about faulthandler not working on Windows.

8.4.0

pytest 8.4.0 (2025-06-02)

Removals and backward incompatible breaking changes

  • #11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.

  • #12346: Tests will now fail, instead of raising a warning, if they return any value other than None.

  • #12874: We dropped support for Python 3.8 following its end of life (2024-10-07).

  • #12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.

    See the docs <yield tests deprecated>{.interpreted-text role="ref"} for more information.

Deprecations (removal in next major release)

  • #10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or autouse=True. For guidance on how to work around this warning see sync-test-async-fixture{.interpreted-text role="ref"}.

New features

  • #11538: Added pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent to pytest.raises{.interpreted-text role="func"} for expecting ExceptionGroup{.interpreted-text role="exc"}. Also adds pytest.RaisesExc{.interpreted-text role="class"} which is now the logic behind pytest.raises{.interpreted-text role="func"} and used as parameter to pytest.RaisesGroup{.interpreted-text role="class"}. RaisesGroup includes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulating except* <except_star>{.interpreted-text role="ref"}. See assert-matching-exception-groups{.interpreted-text role="ref"} and docstrings for more information.

  • #12081: Added capteesys{.interpreted-text role="fixture"} to capture AND pass output to next handler set by --capture=.

  • #12504: pytest.mark.xfail{.interpreted-text role="func"} now accepts pytest.RaisesGroup{.interpreted-text role="class"} for the raises parameter when you expect an exception group. You can also pass a pytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of the check parameter.

  • #12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.

... (truncated)

Commits

Updates hypothesis from 6.131.9 to 6.135.14

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.135.14

Speed up usages of "sampled_from()" by deferring evaluation of its repr, and truncating its repr for large collections (over 512 elements). This is especially noticeable when using "sampled_from()" with large collections. The repr of "sampled_from()" strategies involving sequence classes with custom reprs may change as a result of this release.

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

Hypothesis for Python - version 6.135.13

Fixes a substantial performance regression in stateful tests from computing string representations, present since version 6.131.20.

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

Hypothesis for Python - version 6.135.12

Fix a rare race condition in internal cache eviction logic.

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

Hypothesis for Python - version 6.135.11

This patch fixes an error when importing our django extra (via "hypothesis.extra.django") if "django.contrib.auth" was not in "INSTALLED_APPS" (issue #3716).

Thanks to Chris Wesseling for this fix!

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

Hypothesis for Python - version 6.135.10

Fix a rare race condition in "fetch()", where we might have read from a non-existent directory.

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

Hypothesis for Python - version 6.135.9

Refactor some internal code related to patches to make it easier to test.

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

Hypothesis for Python - version 6.135.8

Add type hints to internal code for patching.

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

Hypothesis for Python - version 6.135.7

Fixes a race condition in "add_listener()" for "DirectoryBasedExampleDatabase" after version 6.135.1 where the

... (truncated)

Commits
  • b953137 Bump hypothesis-python version to 6.135.14 and update changelog
  • 886f137 Merge pull request #4441 from tybug/sampledfrom-repr-speed
  • fc2b3ed add from_type(type) special ghostwriter case
  • 7e96e9c use get_pretty_function_description
  • 0addf8e Bump hypothesis-python version to 6.135.13 and update changelog
  • 6856f1f Merge pull request #4440 from tybug/stateful-asdict-perf
  • bca8d95 lint
  • 811762e cache and defer sampled_from repr
  • d48f1c6 use dataclasses.fields, not dataclasses.asdict
  • ed6e36c Bump hypothesis-python version to 6.135.12 and update changelog
  • Additional commits viewable in compare view

Updates setuptools from 80.3.1 to 80.9.0

Changelog

Sourced from setuptools's changelog.

v80.9.0

Features

  • Set a deadline for the removal of pkg_resources later this year (December). (#3085)
  • Removed reliance on pkg_resources in test_wheel. (#3085)

v80.8.0

Features

  • Replaced more references to pkg_resources with importlib equivalents in wheel odule. (#3085)
  • Restore explicit LICENSE file. (#5001)
  • Removed no longer used build dependency on coherent.licensed. (#5003)

v80.7.1

Bugfixes

  • Only attempt to fetch eggs for unsatisfied requirements. (#4998)
  • In installer, when discovering egg dists, let metadata discovery search each egg. (#4998)

v80.7.0

Features

  • Removed usage of pkg_resources from installer. Set an official deadline on the installer deprecation to 2025-10-31. (#4997)

Misc

v80.6.0

Features

... (truncated)

Commits
  • 9c4d383 Bump version: 80.8.0 → 80.9.0
  • 05cb3c8 Merge pull request #5014 from pypa/debt/pkg_resources-deadline
  • 3b0bf5b Adjust ignore
  • 9c28cdf Set a deadline for the removal of pkg_resources later this year (December).
  • a3bfef9 Merge pull request #5013 from DimitriPapadopoulos/ISC
  • 64bf9d0 Enforce ruff/flake8-implicit-str-concat rules (ISC)
  • 3250c25 Fix broken link in docs (#4947)
  • 5ccf50e Merge pull request #5006 from pypa/feature/remove-more-pkg_resources
  • 134e587 Suppress nitpicky typecheck in pyright.
  • 0bf2663 Add news fragment.
  • 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 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [flake8](https://github.com/pycqa/flake8) | `7.2.0` | `7.3.0` |
| [mypy](https://github.com/python/mypy) | `1.15.0` | `1.16.1` |
| [types-setuptools](https://github.com/typeshed-internal/stub_uploader) | `80.3.0.20250505` | `80.9.0.20250529` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.5` | `8.4.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.131.9` | `6.135.14` |
| [setuptools](https://github.com/pypa/setuptools) | `80.3.1` | `80.9.0` |



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

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

Updates `types-setuptools` from 80.3.0.20250505 to 80.9.0.20250529
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

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

Updates `hypothesis` from 6.131.9 to 6.135.14
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.131.9...hypothesis-python-6.135.14)

Updates `setuptools` from 80.3.1 to 80.9.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v80.3.1...v80.9.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: mypy
  dependency-version: 1.16.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: types-setuptools
  dependency-version: 80.9.0.20250529
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: pytest
  dependency-version: 8.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: hypothesis
  dependency-version: 6.135.14
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: setuptools
  dependency-version: 80.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users labels Jun 24, 2025
@dependabot dependabot bot requested a review from a team as a code owner June 24, 2025 13:50
@dependabot dependabot bot requested review from florian-wagner-frequenz and removed request for a team June 24, 2025 13:50
@dependabot dependabot bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Jun 24, 2025
@dependabot dependabot bot added the type:tech-debt Improves the project without visible changes for users label Jun 24, 2025
@github-project-automation github-project-automation bot moved this from To do to Review approved in Python SDK Roadmap Jun 24, 2025
@florian-wagner-frequenz
Copy link
Contributor

@dependabot merge

@florian-wagner-frequenz florian-wagner-frequenz added this pull request to the merge queue Jun 25, 2025
Merged via the queue into v1.x.x with commit f0bca75 Jun 25, 2025
10 checks passed
@florian-wagner-frequenz florian-wagner-frequenz deleted the dependabot/pip/minor-51f4d597fb branch June 25, 2025 07:53
@github-project-automation github-project-automation bot moved this from Review approved to Done in Python SDK Roadmap Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users

Projects

Development

Successfully merging this pull request may close these issues.

1 participant