Bump the uv-updates group with 4 updates
Bumps the uv-updates group with 4 updates: pyvista, vtk, pytest and ruff.
Updates pyvista from 0.49.1 to 0.49.2
Commits
503ae0aBump that version, dawg!179bbcdFix boundary edges in ParametricKlein (#9457)038861aLook up arrays by index inDataSetAttributes.values(#9418)3204a4bRelease render-window observers inPlotter.close()(#9378)4315b67Picklepyvista_ndarrayas a plainndarray(#9470)- See full diff in compare view
Updates vtk from 9.7.1 to 9.7.2
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.1 to 0.17.4
Release notes
Sourced from ruff's releases.
0.17.4
Release Notes
Released on 2026-11-05.
Preview features
- [
flake8-logging-format] Avoid behavior changes and syntax errors in fixes (G004) (#27419)- [
security] Implementtarfile-ignore-zeros-true(#28680)Bug fixes
- Accept a bare raise before a semicolon (#29761)
- Allow match identifiers after a semicolon (#29760)
- Fix panic on BOM-prefixed files in diagnostic renderer (#30017)
- [
flake8-simplify] Report collapsibleelifclauses after a multi-statementifbranch (SIM102) (#29814)Rule changes
- Show more nonprinting characters in diagnostic fix diffs (#30062)
Performance
- Coalesce source slices when formatting attributes (#29841)
- Collect return statements with a statement-only visitor (#29911)
- [
pyflakes] Defer value comparisons for repeated dictionary keys (F601,F602) (#29739)- Format node fields directly when comment handling is unnecessary (#29853)
- Reduce formatter source-slice overhead (#29855)
- Reuse a callee's qualified name across lint rules (#29916)
- Skip invalid string character checks when the source contains none (#29883)
- Use a Bloom filter for formatter comment lookups (#29852)
- Use a concrete buffer for ordinary writes (#29819)
CLI
- Give
NO_COLORprecedence in Ruff and ty diagnostics (#29898)- Honor
CLICOLOR=0in Ruff and ty diagnostics (#29910)Documentation
- Correct the documented
versionandsrcdefaults forruff-action(#29880)- [
flake8-bugbear] MakeB014example error out-of-the-box (#29941)- [
flake8-no-pep420] Document preview behavior (INP001) (#29764)- [
isort] ExpandI001documentation (#29843)Other changes
- [syntax-errors] Extend
__debug__write check to attribute targets (#27908)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.17.4
Released on 2026-11-05.
Preview features
- [
flake8-logging-format] Avoid behavior changes and syntax errors in fixes (G004) (#27419)- [
security] Implementtarfile-ignore-zeros-true(#28680)Bug fixes
- Accept a bare raise before a semicolon (#29761)
- Allow match identifiers after a semicolon (#29760)
- Fix panic on BOM-prefixed files in diagnostic renderer (#30017)
- [
flake8-simplify] Report collapsibleelifclauses after a multi-statementifbranch (SIM102) (#29814)Rule changes
- Show more nonprinting characters in diagnostic fix diffs (#30062)
Performance
- Coalesce source slices when formatting attributes (#29841)
- Collect return statements with a statement-only visitor (#29911)
- [
pyflakes] Defer value comparisons for repeated dictionary keys (F601,F602) (#29739)- Format node fields directly when comment handling is unnecessary (#29853)
- Reduce formatter source-slice overhead (#29855)
- Reuse a callee's qualified name across lint rules (#29916)
- Skip invalid string character checks when the source contains none (#29883)
- Use a Bloom filter for formatter comment lookups (#29852)
- Use a concrete buffer for ordinary writes (#29819)
CLI
- Give
NO_COLORprecedence in Ruff and ty diagnostics (#29898)- Honor
CLICOLOR=0in Ruff and ty diagnostics (#29910)Documentation
- Correct the documented
versionandsrcdefaults forruff-action(#29880)- [
flake8-bugbear] MakeB014example error out-of-the-box (#29941)- [
flake8-no-pep420] Document preview behavior (INP001) (#29764)- [
isort] ExpandI001documentation (#29843)Other changes
- [syntax-errors] Extend
__debug__write check to attribute targets (#27908)Contributors
... (truncated)
Commits
05cdc36Bump version to 0.17.4 (#30073)c6b17c2[ty] Freshen method typevars before owner specialization (#29543)4b0b407[ty] Preserve unions inferred during fixpoint iteration (#29927)1dd3e9eShow more nonprinting characters in diagnostic fix diffs (#30062)32be8e7[ty] Skip fixpoint iteration for simple generic calls (#30054)926ccc8[ty] Handle output errors when generating shell completions (#29997)c86652a[ty] Skip active Conda and Pixi environments during discovery if the environm...c9150f0Add project walltime benchmarks for Ruff (#30061)64989ec[ty] Report invalid module globs once per override pattern (#30031)367a563[ty] Fix conditional type and tuple annotations (#29987)- 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
Bumps pyvista to 0.49.2, vtk to 9.7.2, pytest to 9.2.0, and ruff to 0.17.4.
Migration
pytest9.2.0 makesindirect,ids, andscopekeyword-only inparametrize(); passing them positionally now raises aTypeError.- Plugin import failures at startup now exit with a proper error code instead of a raw traceback.