Bump the pytest group across 1 directory with 3 updates by dependabot[bot] · Pull Request #8010 · mitmproxy/mitmproxy
Bumps the pytest group with 3 updates in the / directory: hypothesis, pytest-asyncio and pytest.
Updates hypothesis from 6.130.6 to 6.148.5
Release notes
Sourced from hypothesis's releases.
Hypothesis for Python - version 6.148.5
This patch improves the error message for "FlakyStrategyDefinition" when the precondition for a rule is flaky (issue #4206).
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.4
This patch improves the type annotations for "basic_indices()". The return type now accurately reflects the "allow_ellipsis" and "allow_newaxis" parameters, excluding "EllipsisType" or "None" from the union when those index types are disabled (issue #4607).
Additionally, "assume()" now has overloaded type annotations: "assume(True)" returns "Literal[True]", while "assume(False)" and "assume(None)" return "NoReturn".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.3
Clean up some internal code.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.2
Document "fuzz_one_input()".
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.1
This patch updates our vendored list of top-level domains, which is used by the provisional "domains()" strategy.
The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.148.0
Calling "register_profile()" from within a test decorated with "
@settings" is now deprecated, to avoid confusion about which settings are used as the baseline for the new profile.The canonical version of these notes (with links) is on readthedocs.
Hypothesis for Python - version 6.147.0
This release drops support for nose, which ceased development 9 years ago and does not support Python 3.10 or newer.
Hypothesis still supports nose2. While we do not test "nose2" in our CI, we will fix any bugs that get reported.
The canonical version of these notes (with links) is on readthedocs.
... (truncated)
Commits
3605694Bump hypothesis-python version to 6.148.5 and update changelog921f246Merge pull request #4615 from Zac-HD/claude/improve-stateful-error-message-01...0e4d4c7Add _flaky_state handling and test for flaky rule strategy41f0329Improve FlakyStrategyDefinition error message for stateful testsd812e5cMerge pull request #4613 from Zac-HD/claude/fix-stack-depth-warning-019yVLCyc...a0bd28fEnable stacklevel test for@st.composite on all Python versions075e2acBump hypothesis-python version to 6.148.4 and update changeloge05b372Merge pull request #4611 from Zac-HD/claude/fix-hypothesis-4607-018dHECpz3mwL...799c0c9Fix type test expectations for basic_indices overloads1308babFix import order in numpy.py- Additional commits viewable in compare view
Updates pytest-asyncio from 1.2.0 to 1.3.0
Release notes
Sourced from pytest-asyncio's releases.
pytest-asyncio 1.3.0
1.3.0 - 2025-11-10
Removed
- Support for Python 3.9 (#1278)
Added
- Support for pytest 9 (#1279)
Notes for Downstream Packagers
- Tested Python versions include free threaded Python 3.14t (#1274)
- Tests are run in the same pytest process, instead of spawning a subprocess with
pytest.Pytester.runpytest_subprocess. This prevents the test suite from accidentally using a system installation of pytest-asyncio, which could result in test errors. (#1275)
Commits
2e9695fdocs: Compile changelog for v1.3.0dd0e9badocs: Reference correct issue in news fragment.4c31abeBuild(deps): Bump nh3 from 0.3.1 to 0.3.213e9477Link to migration guides from changelog4d2cf3ctests: handle Python 3.14 DefaultEventLoopPolicy deprecation warningsee3549btest: Remove obsolete test for the event_loop fixture.7a67c82tests: Fix failing test by preventing warning conversion to error.a17b689test: add pytest config to isolated test directories18afc9dfix(tests): replace runpytest_subprocess with runpytestcdc6bd1Add support for pytest 9 and drop Python 3.9 support- Additional commits viewable in compare view
Updates pytest from 8.4.2 to 9.0.1
Release notes
Sourced from pytest's releases.
9.0.1
pytest 9.0.1 (2025-11-12)
Bug fixes
- #13895: Restore support for skipping tests via
raise unittest.SkipTest.- #13896: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.
- #13904: Fixed the TOML type of the verbosity settings in the API reference from number to string.
- #13910: Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 and 3.13 point versions.
Packaging updates and notes for downstreams
- #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.Contributor-facing changes
- #13891, #13942: The CI/CD part of the release automation is now capable of creating GitHub Releases without having a Git checkout on disk -- by
bluetechandwebknjaz.- #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its
package_envthrough theSETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTESTenvironment variable as a part of the release process -- bywebknjaz.9.0.0
pytest 9.0.0 (2025-11-05)
New features
#1367: Support for subtests has been added.
subtests <subtests>are an alternative to parametrization, useful in situations where the parametrization values are not all known at collection time.Example:
def contains_docstring(p: Path) -> bool: """Return True if the given Python file contains a top-level docstring.""" ... def test_py_files_contain_docstring(subtests: pytest.Subtests) -> None: for path in Path.cwd().glob("*.py"): with subtests.test(path=str(path)): assert contains_docstring(path)
... (truncated)
Commits
d1b64aaPrepare release version 9.0.10a497c7regendoc: remove CI environment variables (#13950) (#13951)a9f7e6e🧪 Rungh releasew/o Git in CI/CD (#13942) (#13947)2682a66Merge pull request #13944 from pytest-dev/patchback/backports/9.0.x/bef7d34f1...a999997Merge pull request #13941 from nicoddemus/min-pre-commit-version4bd63a0Merge pull request #13935 from pytest-dev/patchback/backports/9.0.x/ce8b8a7b4...15f93b3Merge pull request #13933 from webknjaz/maintenance/tox-pep517-env-setuptools...0fa11aeMerge pull request #13927 from pytest-dev/patchback/backports/9.0.x/3d8075743...fa45470Merge pull request #13926 from pytest-dev/patchback/backports/9.0.x/d587e0cf8...b4e3973Merge pull request #13922 from bluetech/fix-argparse-userwarning- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| pytest | [>= 8.2.1.a, < 8.2.2] |
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.