Skip to content

Bump the python group with 6 updates - #22

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-1331029983
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-1331029983

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the python group with 6 updates:

Package From To
fastapi 0.141.1 0.165.0
numpy 2.5.3 2.5.5
python-multipart 0.0.32 0.0.34
pytest 9.1.1 9.2.0
pytest-playwright 0.9.0 0.10.0
ruff 0.16.9 0.17.6

Updates fastapi from 0.141.1 to 0.165.0

Release notes

Sourced from fastapi's releases.

0.165.0

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

0.164.0

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Features

0.163.2

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Refactors

  • ♻️ Refactor query, header, and form parameter extraction. PR #16779 by @​tiangolo.

Translations

Internal

... (truncated)

Commits

Updates numpy from 2.5.3 to 2.5.5

Release notes

Sourced from numpy's releases.

v2.5.5 (Nov 15, 2026)

NumPy 2.5.5 Release Notes

Released on 2026-11-15.

NumPy 2.5.5 is a patch release that fixes bugs discovered after the 2.5.4 release. It is unusually large for a patch release due to bugs discovered during continuing work on strings for the upcoming 2.6.0 release, ongoing threading work, the eMudhra compromise fixes, and updates in GitHub CI infrastructure.

This release supports Python versions 3.12-3.15.

Compatibility notes

  • Casting a structured void dtype or subarray dtype to numpy.dtypes.StringDType now raises a TypeError instead of interpreting the raw bytes of each element as UTF-8.

    (gh-33298)

Contributors

A total of 12 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Anush Vishwakarma +
  • Arthur Lacote
  • Bharath Pranav +
  • Charles Harris
  • David King +
  • Iason Krommydas
  • Joren Hammudoglu
  • Kevin Sheppard
  • Matti Picus
  • Nathan Goldbaum
  • Peter Hawkins
  • Shubham Bansal +

Pull requests merged

A total of 37 pull requests were merged for this release.

  • #32971: MAINT: Prepare 2.5.x for further development
  • #33100: MAINT: Update OpenBLAS to 0.3.34.237.2
  • #33114: MAINT: Update cibuildwheel to v4.3.3
  • #33117: BUG: warm finfo cache with float64 on 2.5.x (gh-32947)
  • #33130: MAINT: Update pixi workflow from main.
  • #33141: MAINT: Update cibuildwheel to v4.3.4 and uv to v0.13.5
  • #33155: BUG: fix nanquantile dtype for all-NaN first slice (#32940)

... (truncated)

Commits

Updates python-multipart from 0.0.32 to 0.0.34

Release notes

Sourced from python-multipart's releases.

Version 0.0.34

⚡ Faster form parsing

This release reduces parser overhead for forms with many fields and corrects multipart boundary and header handling. Parsers created without callbacks also no longer share callback registrations.

pip install python-multipart==0.0.34
  • Faster query-string parsing (#372). The parser reuses separator positions and starts the next field directly when its data is already available.
  • Less overhead for multipart forms (#370, #373). Complete CRLF sequences are consumed without stepping through each intermediate parser state, and mark-helper functions are no longer created on each write.

🧩 More predictable multipart handling

  • Padded boundaries no longer merge adjacent parts (#363). Spaces and tabs after delimiters between parts are recognized as transport padding. Malformed padding now raises MultipartParseError instead of being returned as part data. Padded opening boundaries remain unsupported.
  • Non-ASCII parameter bytes are preserved (#364). parse_options_header trims only spaces and tabs, rather than all Unicode whitespace. This avoids changing parameter values such as names ending in the UTF-8 bytes for à.
  • Whitespace around part header values is ignored by FormParser (#366). For example, Content-Transfer-Encoding: base64 is recognized and decoded despite the trailing space. Low-level MultipartParser callbacks still receive the raw header value bytes.

🛡️ Isolated callbacks and clearer security scope

  • Callback registrations stay with their parser (#362). Parsers constructed without callbacks now get separate dictionaries, so calling set_callback() on one no longer changes another parser's handlers.
  • A documented threat model (#358, #359, #367). The threat model defines trust boundaries, application responsibilities, and vulnerability scope. Bugs in deprecated Content-Transfer-Encoding decoding are handled as public bug reports rather than security reports.

💜 Thank you

Thanks to @​deadstrobe5 and @​g4lb for the parser performance proposals that informed this release.

Full changelog: 0.0.33...0.0.34

Version 0.0.33

🛡️ Safer form parsing

This release lets you cap URL-encoded form fields as they stream in, and fixes several upload and decoding edge cases. It also drops Python 3.10 and adds Python 3.15.

pip install python-multipart==0.0.33
  • Limit URL-encoded fields while streaming (#333). The new opt-in MAX_FIELDS and MAX_FIELD_SIZE options for FormParser raise FormParserError before oversized data is buffered. Both default to no limit, and multipart forms are unaffected.
  • Nameless uploads no longer crash when spilled to disk (#343). Uploads without a filename used to raise AttributeError when UPLOAD_KEEP_EXTENSIONS or UPLOAD_KEEP_FILENAME was set.
  • UPLOAD_DIR accepts str with UPLOAD_KEEP_FILENAME (#335). A str upload directory used to fail on the first write to disk.
  • Decoded data is complete before callbacks run (#336, #355). Content-Transfer-Encoding decoders are finalized at the end of each part, and quoted-printable escapes split across writes decode correctly.
  • parse_options_header lowercases content types with parameters (#287). Multipart/Form-Data; boundary=abc now returns multipart/form-data, the same as headers without parameters.

⚡ Faster parsing

  • Faster opening boundary matching (#328). Complete boundaries are matched in one step.
  • Faster parser state lookups (#330). Parser states are module-level enum members, so their repr is now multipart.END instead of <MultipartState.END: 12>.
  • Faster querystring callback dispatch (#316).

... (truncated)

Changelog

Sourced from python-multipart's changelog.

0.0.34 (2026-11-16)

  • Reduce multipart parser overhead by removing mark-helper closures and consuming buffered line endings #370, #373.
  • Speed up query-string parsing by reusing separators and starting fields directly #372.
  • Keep default callback dictionaries separate between parser instances #362.
  • Recognize transport padding after between-part boundaries and reject malformed padding #363.
  • Only trim spaces and tabs in parse_options_header, preserving other whitespace in media types and parameters #364.
  • Strip spaces and tabs around part header values in FormParser #366.
  • Add a threat model and clarify vulnerability scope #358, #359.

0.0.33 (2026-10-31)

  • Drop Python 3.10 support #329.
  • Add Python 3.15 support #350.
  • Add opt-in field-count and field-size limits for URL-encoded forms in FormParser #333.
  • Normalize the content type returned by parse_options_header when the header has parameters #287.
  • Finalize Content-Transfer-Encoding decoding before invoking field and file callbacks #336.
  • Keep only the incomplete escape when quoted-printable data is split across writes #355.
  • Handle nameless uploads when UPLOAD_KEEP_FILENAME or UPLOAD_KEEP_EXTENSIONS is set #343.
  • Accept a str UPLOAD_DIR when UPLOAD_KEEP_FILENAME is set #335.
  • Speed up parser state lookups #330.
  • Speed up opening boundary matching #328.
  • Speed up querystring callback dispatch #316.
Commits
  • c511ff0 Exclude Content-Transfer-Encoding decoding from the threat model (#367)
  • 783f37a Bump version to 0.0.34 (#374)
  • 8ee1f50 Skip buffered multipart line endings (#373)
  • 55ba6f4 Reuse query-string separators and start fields directly (#372)
  • 89a8013 Inline multipart mark operations (#370)
  • 9bd038e Strip whitespace around part header values in FormParser (#366)
  • 6cebfd8 Only trim spaces and tabs around header parameters (#364)
  • 70297b7 Bump the python-packages group with 9 updates (#361)
  • 17334ce Handle transport padding after multipart boundaries (#363)
  • 66e4fa4 Create a new default callbacks dict for each parser (#362)
  • 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: -c now 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 unhandled FileNotFoundError.

  • #8593: The indirect, ids and scope arguments of Metafunc.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 in indirect and failed with indirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandable TypeError. 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_plugins or PYTEST_PLUGINS -- exits with pytest.ExitCode USAGE_ERROR (4), like a conftest.py that fails to import;
    • a plugin that is found but raises while importing -- including a broken pytest11 entry point or a missing plugin dependency -- exits with pytest.ExitCode INTERNAL_ERROR (3), with the traceback preserved.

    pytest.main now returns these codes instead of raising ImportError. Also fixed an IndexError from pytest's own internals when the plugin raised an exception with no arguments.

Deprecations (removal in next major release)

  • #14742: The private _pytest.python.CallSpec2 name has been renamed to CallSpec. The old CallSpec2 alias 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, and session) defined as instance methods are now deprecated.

    They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see 10819 and 14011.

  • #14808: Passing a non-string value to a string-typed ini option now emits a pytest.PytestRemovedIn10Warning. This affects [tool.pytest.ini_options] in pyproject.toml. In pytest 10 this will raise a TypeError, matching the behavior of the corresponding TOML config path.

  • #7323: Passing bytes to TerminalReporter.write_line() is now deprecated, pass a str instead.

New features

  • #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
  • #2781: When strict_markers is enabled, marker names used in -m expressions are now validated against registered markers.
  • #6881: Added the parametrize_long_str_id_strategy configuration option to control how long str/bytes parameter values are handled in auto-generated test IDs. Explicit IDs set via ids=[...] or pytest.param(..., id=...) are not affected. Available strategies: short (default, values over 100 chars fall back to argname+index), sha256 (SHA-256 hex digest), legacy (keep full value), and disallow (error requesting explicit IDs).

Improvements in existing functionality

  • #10745: A RecursionError whose 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-trace to see every frame.

... (truncated)

Commits
  • ae1d0ff Prepare release version 9.2.0
  • 143ce31 pre-commit: exclude codespell on generated release announcements
  • 532dc5f tox: add attrs dependency to regen, needed in reportingdemo.rst
  • a7b2446 Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91
  • 679d09c [pre-commit.ci] pre-commit autoupdate (#15266)
  • 41d12cd docs: clarify typing for yield fixtures
  • b9022ba Merge pull request #15182 from 1871698/docs/improve-getting-started-description
  • 16f87a7 docs: improve getting-started.rst test execution description
  • 082ed70 Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6
  • ae37a01 Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4
  • Additional commits viewable in compare view

Updates pytest-playwright from 0.9.0 to 0.10.0

Release notes

Sourced from pytest-playwright's releases.

v0.10.0

Highlights

Traces for playwright.request API contexts (#333). --tracing now also records contexts created with playwright.request.new_context(), one chunk per test, so a session-scoped API context yields a trace per test. The traces follow the same retain-on-failure handling, trace-N.zip naming and report attachments as browser traces. Requires Playwright 1.60 or newer.

Artifacts in test reports (#332). Kept screenshots, videos and traces are added to the teardown report as playwright_screenshot, playwright_video and playwright_trace user properties, so --junitxml writes them as <property> elements and pytest_runtest_logreport hooks and reporters can pick them up. With pytest-html >= 4 they are linked from the report, and embedded with --self-contained-html.

Reruns keep their own artifacts (#331). With pytest-rerunfailures, every attempt now writes to its own folder, test-results/<test>-retry1/ and so on, like Playwright Test. Attempts no longer overwrite each other.

Artifacts survive fixture failures in teardown (#330). --tracing retain-on-failure, --video retain-on-failure and --screenshot only-on-failure now keep artifacts when a fixture fails during teardown. A test skipped from a fixture no longer counts as failed.

Per-test browser launch options (#329):

@pytest.mark.parametrize(
    "browser_type_launch_args",
    [{"args": ["--lang=de-DE"]}],
    indirect=True,
)
def test_german(page):
    ...

Each distinct value launches its own browser; command line options such as --headed and --slowmo still apply.

Multi-browser parametrization fixes. Overriding the page fixture no longer drops --browser parametrization on older pytest versions (#314). browser_name is now parametrized indirectly, so tests keep their original order within a browser (#284).

VS Code debugger (#328). The browser is launched headed under the debugger only when a display is available. On Linux without DISPLAY or WAYLAND_DISPLAY set, it stays headless unless --headed is passed.

Breaking changes

  • pytest-base-url is now an optional dependency (#334). The plugin provides --base-url, the base_url ini option, the PYTEST_BASE_URL environment variable and the base_url fixture on its own. --verify-base-url needs the extra:

    pip install pytest-playwright[base-url]
  • Minimum pytest version is 7.0 for pytest-playwright and 8.2 for pytest-playwright-asyncio (#333).

  • python-slugify 9.x is now supported (#324).

Full Changelog: microsoft/playwright-pytest@v0.9.0...v0.10.0

Commits
  • 80d7569 feat: record traces of playwright.request API contexts (#333)
  • 63a07cd feat: make pytest-base-url an optional dependency (#334)
  • be5238a feat: attach screenshots, videos and traces to test reports (#332)
  • 543216d feat: keep artifacts of each pytest-rerunfailures attempt in its own folder (...
  • 4607d7c fix: keep artifacts when a fixture fails during teardown (#330)
  • cfd68b8 feat: allow per-test browser launch options via indirect parametrization (#329)
  • dc8396a fix: only default to headed under the VS Code debugger when a display is avai...
  • 0356d90 fix: keep multi-browser parametrization when the page fixture is overridden (...
  • 838da8d fix: Make 'browser_name' parameter indirect (#284)
  • 6dfaff3 chore(deps-dev): bump setuptools in /pytest-playwright-asyncio (#327)
  • Additional commits viewable in compare view

Updates ruff from 0.16.9 to 0.17.6

Release notes

Sourced from ruff's releases.

0.17.6

Release Notes

Released on 2026-11-19.

Preview features

  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#15635)

Bug fixes

  • Fix handling of parenthesized duplicate items (B033, RUF068) (#30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#30349)
  • Treat relative imports from .__future__ as ordinary imports (#30260)

Rule changes

  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#29600)

Performance

  • Decode in-memory notebooks directly from their source string (#30385)
  • Short-circuit exact qualified-name checks (#30058)
  • Stream JSON diagnostics to the output writer (#30384)

Documentation

  • Fix the multiline string example in Known Deviations from Black (#30447)
  • Include the category in individual rule documentation pages (#30503)

Other changes

  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#30416)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.6

Released on 2026-11-19.

Preview features

  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#15635)

Bug fixes

  • Fix handling of parenthesized duplicate items (B033, RUF068) (#30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#30349)
  • Treat relative imports from .__future__ as ordinary imports (#30260)

Rule changes

  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#29600)

Performance

  • Decode in-memory notebooks directly from their source string (#30385)
  • Short-circuit exact qualified-name checks (#30058)
  • Stream JSON diagnostics to the output writer (#30384)

Documentation

  • Fix the multiline string example in Known Deviations from Black (#30447)
  • Include the category in individual rule documentation pages (#30503)

Other changes

  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#30416)

Contributors

... (truncated)

Commits
  • a7ba68b Bump version to 0.17.6 (#30578)
  • 3067e15 [ty] Fix lambda parameter inference with an unsolved ParamSpec (#30547)
  • 7aae7a5 Treat relative imports from .__future__ as ordinary imports (#30260)
  • dcc9519 Separate Ruff configuration loading from settings resolution (#30574)
  • c6c706a Avoid repeated scans of unclosed script metadata blocks (#30571)
  • 17ff3e8 Clarify Ruff's root settings and resolver entries (#30573)
  • 1b93171 [ty] Add NumPy to ecosystem runs (#30572)
  • c117517 Resolve configuration roots directly from their origin (#30569)
  • 700c1e8 [ty] Move NamedTupleLike to ty_extensions._internal (#30567)
  • 981d44c [ty] Rename uv-metadata diagnostic to project-manager and improve its wor...
  • 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 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 python group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.141.1` | `0.165.0` |
| [numpy](https://github.com/numpy/numpy) | `2.5.3` | `2.5.5` |
| [python-multipart](https://github.com/Kludex/python-multipart) | `0.0.32` | `0.0.34` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [pytest-playwright](https://github.com/microsoft/playwright-pytest) | `0.9.0` | `0.10.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.16.9` | `0.17.6` |


Updates `fastapi` from 0.141.1 to 0.165.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.141.1...0.165.0)

Updates `numpy` from 2.5.3 to 2.5.5
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.5.3...v2.5.5)

Updates `python-multipart` from 0.0.32 to 0.0.34
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.32...0.0.34)

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

Updates `pytest-playwright` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](microsoft/playwright-pytest@v0.9.0...v0.10.0)

Updates `ruff` from 0.16.9 to 0.17.6
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.16.9...0.17.6)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.165.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: numpy
  dependency-version: 2.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: python-multipart
  dependency-version: 0.0.34
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pytest-playwright
  dependency-version: 0.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: ruff
  dependency-version: 0.17.6
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 28, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Dec 5, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/python-1331029983 branch December 5, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants