Build(deps-dev): bump the dev-tooling group across 1 directory with 6 updates
Bumps the dev-tooling group with 6 updates in the / directory:
| Package | From | To |
|---|---|---|
| hypothesis | 6.165.2 | 6.170.14 |
| mypy | 2.3.0 | 2.4.1 |
| pandas-stubs | 3.0.5.260730 | 3.1.0.261029 |
| pre-commit | 4.6.1 | 4.7.0 |
| pytest | 9.1.1 | 9.2.0 |
| ruff | 0.16.2 | 0.17.3 |
Updates hypothesis from 6.165.2 to 6.170.14
Commits
255a880Bump hypothesis version to 6.170.14 and update changelogfd6038cMerge pull request #4949 from moreati/issue4926-denylist8dd4664Rephrase RELEASE note following review5e93693Bump hypothesis version to 6.170.13 and update changeloga5512a3Merge pull request #4952 from jorenham/codemods/characters-kwargs8375d12Fixcharacters()codemod crash with**kwargsac21c15Add RELEASE note04e55b4dateutil: Exclude coverage measurement of old releases891e478Update pinned dependencies (to block eMudhra certificates)8fca8fdBump hypothesis version to 6.170.12 and update changelog- Additional commits viewable in compare view
Updates mypy from 2.3.0 to 2.4.1
Changelog
Sourced from mypy's changelog.
Mypy 2.4.1
- Process overloads as a whole in two-phase type checking (Ivan Levkivskyi, PR 22231)
- Skip recursive setup for frame-private nested functions in mypyc (Piotr Sawicki, PR 22187)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
- A5rocks
- Adam Dangoor
- Alex Waygood
- Ali Hamdan
- Brian Helba
- Chad Dombrova
- David Foster
- dnwpark
- Edgar Ramírez Mondragón
- Giorgos Michas
- Ivan Levkivskyi
- Jelle Zijlstra
- Jukka Lehtosalo
- Marc Mueller
- Michael R. Crusoe
- NIYONSHUTI Emmanuel
- Piotr Sawicki
- Shantanu
- themylogin
- Vaggelis Danias
- Willy Bruns
I'd also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 2.3
We've just uploaded mypy 2.3.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypyYou can read the full documentation for this release on Read the Docs.
The Upcoming Switch to the New Native Parser
We are planning to enable the new native parser (
--native-parser) by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.Mypyc Free-threading Memory Safety
... (truncated)
Commits
ad02a35Skip test for 2.4.1cad7794Finalize version to 2.4.1d9cbcbcAdd changelog for Mypy 2.4.1 (#22310)2860baaProcess overloads as a whole in two-phase type-checking (#22231)9b3e307[mypyc] Skip recursive setup for frame-private nested functions (#22187)10ad5f6Bump ast-serialize to 0.12.1 (#22093)350052fBump ast-serialize to 0.12.0 (#22087)f7d08cfBump version to 2.4.1+dev935ba8aBump version to 2.4.0334a678Add link for PR 22066 in mypy 2.4 changelog (#22082)- Additional commits viewable in compare view
Updates pandas-stubs from 3.0.5.260730 to 3.1.0.261029
Commits
2a4a9c1Version 3.1.0.2610299490b69BLD: update to pandas 3.1.0 and adapt stubs and tests (#2036)0bdb355TYP: reject complex ordering for Series and Index (#2016)fadb447TYP: drop the unreachable Series.rmatmul(DataFrame) and document operator...f72cd2aTYP: Remove mode property from BaseBuffer protocol #1956 (#2041)9dccbf5DOC: require public API status before adding stubs (#2039)e201493TST: use canonical IANA time zones in tests (#2033)8dd6d91TST: 🌙 fix nightly dtype warnings and Index.where test data (#2028)36a22a8TYP: Include missing values in scalar indexer returns (#1946)1026204TYP: accept list bounds inDataFrame.clip(#2022)- Additional commits viewable in compare view
Updates pre-commit from 4.6.1 to 4.7.0
Release notes
Sourced from pre-commit's releases.
pre-commit v4.7.0
Fixes
- Fix
language: nodehooks during commit with-aor inside a submodule.
- Regressed in 4.6.1.
- #3773 issue by
@cbirkhold.- #3774 PR by
@cbirkhold.pre-commit v4.6.2
Fixes
- Fix
language: nodehooks that contain"scripts": {"build": ...}with npm 11.x.
- Regressed in 4.6.1.
- #3737 issue by
@mheiges.- #3743 PR by
@asottile.
Changelog
Sourced from pre-commit's changelog.
4.7.0 - 2026-10-12
Fixes
- Fix
language: nodehooks during commit with-aor inside a submodule.
- Regressed in 4.6.1.
- #3773 issue by
@cbirkhold.- #3774 PR by
@cbirkhold.4.6.2 - 2026-08-10
Fixes
- Fix
language: nodehooks that contain"scripts": {"build": ...}with npm 11.x.
- Regressed in 4.6.1.
- #3737 issue by
@mheiges.- #3743 PR by
@asottile.
Commits
65bb884v4.7.073926c1Merge pull request #3774 from cbirkhold/node-no-git-env-npm-install860d07ddon't leak GIT_* env intonpm installforlanguage: node9ad8a0aMerge pull request #3775 from pre-commit/contextlib-chdir9905e88use contextlib.chdir59cb792Merge pull request #3771 from pre-commit/all-repos_autofix_py311-plus2be1701remove triple-nested withs for 3.14 coverage4c8d22apy311+c429238Merge pull request #3770 from pre-commit/pre-commit-ci-update-configf49e251[pre-commit.ci] pre-commit autoupdate- Additional commits viewable in compare view
Updates pytest from 9.1.1 to 9.2.0
Release notes
Sourced from pytest's releases.
9.2.0
pytest 9.2.0 (2026-10-27)
Removals and backward incompatible breaking changes
#14716:
-cnow raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandledFileNotFoundError.#8593: The
indirect,idsandscopearguments ofMetafunc.parametrize() <pytest.Metafunc.parametrize>-- and therefore of@pytest.mark.parametrize <pytest.mark.parametrize ref>-- are now keyword-only.Passing them positionally was a common source of confusing errors, e.g.
parametrize("arg1", "arg2", [(1, 2)])made the argvalues land inindirectand failed withindirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandableTypeError. The type annotations have always declared these arguments as keyword-only.#993: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code
1:
- a plugin that cannot be found -- via
-p,pytest_pluginsorPYTEST_PLUGINS-- exits withpytest.ExitCodeUSAGE_ERROR(4), like aconftest.pythat fails to import;- a plugin that is found but raises while importing -- including a broken
pytest11entry point or a missing plugin dependency -- exits withpytest.ExitCodeINTERNAL_ERROR(3), with the traceback preserved.
pytest.mainnow returns these codes instead of raisingImportError. Also fixed anIndexErrorfrom pytest's own internals when the plugin raised an exception with no arguments.Deprecations (removal in next major release)
#14742: The private
_pytest.python.CallSpec2name has been renamed toCallSpec. The oldCallSpec2alias remains available for now and will be removed in pytest 10 or 11.#14755: Schedule yield_fixture decorator for removal in pytest 10 or 11.
#14774: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, all higher-scoped fixtures (
module,package, andsession) defined as instance methods are now deprecated.They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see
10819and14011.#14808: Passing a non-string value to a
string-typed ini option now emits apytest.PytestRemovedIn10Warning. This affects[tool.pytest.ini_options]inpyproject.toml. In pytest 10 this will raise aTypeError, matching the behavior of the corresponding TOML config path.#7323: Passing
bytestoTerminalReporter.write_line()is now deprecated, pass astrinstead.New features
- #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
- #2781: When
strict_markersis enabled, marker names used in-mexpressions are now validated against registered markers.- #6881: Added the
parametrize_long_str_id_strategyconfiguration option to control how longstr/bytesparameter values are handled in auto-generated test IDs. Explicit IDs set viaids=[...]orpytest.param(..., id=...)are not affected. Available strategies:short(default, values over 100 chars fall back toargname+index),sha256(SHA-256 hex digest),legacy(keep full value), anddisallow(error requesting explicit IDs).Improvements in existing functionality
- #10745: A
RecursionErrorwhose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass--full-traceto see every frame.
... (truncated)
Commits
ae1d0ffPrepare release version 9.2.0143ce31pre-commit: exclude codespell on generated release announcements532dc5ftox: add attrs dependency to regen, needed in reportingdemo.rsta7b2446Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91679d09c[pre-commit.ci] pre-commit autoupdate (#15266)41d12cddocs: clarify typing for yield fixturesb9022baMerge pull request #15182 from 1871698/docs/improve-getting-started-description16f87a7docs: improve getting-started.rst test execution description082ed70Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6ae37a01Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4- Additional commits viewable in compare view
Updates ruff from 0.16.2 to 0.17.3
Release notes
Sourced from ruff's releases.
0.17.3
Release Notes
Released on 2026-10-26.
Preview features
- [
suspicious] Addshared-clock-mock(#29074)Bug fixes
- [
pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#25485)Performance
- Buffer stdout in
ruff format(#29631)- Specialize ASCII identifier lexing (#29503)
- Speed up identifier and keyword lexing (#29463)
Documentation
- [
flake8-bandit] Describe what the rule actually checks forhttpx(S113) (#27936)Contributors
Install ruff 0.17.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.17.3/ruff-installer.ps1 | iex"Download ruff 0.17.3
File Platform Checksum ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.17.3
Released on 2026-10-26.
Preview features
- [
suspicious] Addshared-clock-mock(#29074)Bug fixes
- [
pyupgrade] Avoid incorrect conversions to f-strings (UP032) (#25485)Performance
- Buffer stdout in
ruff format(#29631)- Specialize ASCII identifier lexing (#29503)
- Speed up identifier and keyword lexing (#29463)
Documentation
- [
flake8-bandit] Describe what the rule actually checks forhttpx(S113) (#27936)Contributors
0.17.2
Released on 2026-10-22.
Preview features
- [
complexity] Addunnecessary-regular-expression-compile(#25533)Bug fixes
- Avoid syntax errors for type variables with starred constraints (
UP040,UP046,UP047,RUF053) (#28362)- [
pydocstyle] Treat backslash-escaped*argsand**kwargsas documented (D417) (#29536)- [
pylint] Avoid false positive on starred elements (PLE0643) (#29483)- [
pylint] Mark fixes unsafe when deleting comments (PLR5501,PLW0120) (#29414)- [
pyupgrade] Mark fix unsafe when deleting comments (UP035) (#29413)Performance
... (truncated)
Commits
ba65abfBump version to 0.17.3 (#29745)fb2f921[ty] Fix narrowing of strings and integers compared with enum members (#29743)d181287[ty] Index nominal union alternatives (#29196)07872ad[ty] Preserve string literals in comparisons withLiteralString(#29741)95888b2[ty] Preserve narrowing after guarded match subject captures (#29558)3c8166b[ty] Fix hang when negating recursive unions of instance types (#29652)3fd20e0[ty] Preserve generic callback specializations during return refinement (#29667)2f0a29e[ty] Record predicate truthiness alongside expression inference (#29706)60f104a[ty] Honor@overrideon overload implementations in stubs (#29470)207ec3a[ty] Add diagnostic baseline support (#27636)- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@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
Summary by cubic
Updates the dev-tooling dependency group (hypothesis, mypy, pandas-stubs, pre-commit, pytest, ruff) and raises the corresponding minimum version floors in pyproject.toml.
Notable changes
pytest9.2.0 makesindirect,ids, andscopekeyword-only inparametrizeand changes how plugin import failures exit.pre-commit4.7.0 fixeslanguage: nodehooks when committing with-aor inside a submodule.