Skip to content

Bump the python-dependencies group with 8 updates - #43

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dependencies-bbad10908a
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown

Updates the requirements on setuptools, sentence-transformers, transformers, pytest, pytest-asyncio, pyyaml, ruff and pymdown-extensions to permit the latest version.
Updates setuptools to 84.2.1

Changelog

Sourced from setuptools's changelog.

v84.2.1

Bugfixes

  • Changed wheel tags and stable-ABI validation to use sysconfig data. (#5360)
  • Fixed unimportable extensions on free-threaded Python 3.13 and 3.14 when Extension.py_limited_api is enabled. These builds now use their version-specific extension suffix instead of using the unsupported .abi3t suffix. (#5363)

Improved Documentation

  • Replaced broken link to Python Eggs documentation with an archived version from the Wayback Machine. (#1929)

v84.2.0

Features

  • Added support for building abi3t extensions and abi3.abi3t wheels on Python 3.15 and newer. See :pep:803 and the Python 3.15 "What's New" entry <https://docs.python.org/3.15/whatsnew/3.15.html#pep-803-abi3t-stable-abi-for-free-threaded-builds>_ for more details. (#5193)
  • Updated vendored packaging version to 26.3, which adds support for the abi3t tag from :pep:803. (#5361)

Bugfixes

  • Use target sysconfig data for stable-ABI extension filenames. (#5351)

v84.1.0

Features

  • setuptools.archive_util now raises the new UnsafeMember exception when an archive member would be extracted outside of the extraction directory, where previously such a member was silently skipped. Aborting makes a malicious or malformed archive visible to the caller instead of yielding a quietly incomplete extraction, and matches the behavior of the standard

... (truncated)

Commits

Updates sentence-transformers to 6.3.0

Release notes

Sourced from sentence-transformers's releases.

v6.3.0 - Token-pooling-aware training and kernels support

Train multi-vector models for smaller document representations with token-pooling-aware and Matryoshka training. This release also adds optional kernels for MaxSim, Ward clustering, and transformer backbones, native AWS Neuron inference, faster utilities, and fixes across encoding, training, and evaluation.

[!TIP] I share much more about training multi-vector models with token-pooling-aware losses in my new Token Pooling-Aware Training for Multi-Vector Embedding Models blogpost. Give it a read!

Install with:

# Inference only, use one of:
pip install "sentence-transformers==6.3.0"
pip install "sentence-transformers[kernels]==6.3.0"
pip install "sentence-transformers[openvino]==6.3.0"
Multimodal dependencies:
pip install "sentence-transformers[image]==6.3.0"
pip install "sentence-transformers[audio]==6.3.0"
pip install "sentence-transformers[video]==6.3.0"
Training and merging support:
pip install "sentence-transformers[train]==6.3.0"
pip install "sentence-transformers[merge]==6.3.0"
Or combine as needed:
pip install "sentence-transformers[train,image,kernels]==6.3.0"

Token-pooling-aware training (#4286)

Train for fewer document embeddings

Token pooling for multi-vector models merges similar document token embeddings to reduce the embeddings stored and scored during retrieval. With MultiVectorTokenPoolingLoss, you can now train the encoder for this compression so its document embeddings retain more useful information after pooling.

Wrap a retrieval loss with the pooling configurations you intend to deploy:

from sentence_transformers import MultiVectorEncoder
from sentence_transformers.multi_vector_encoder.losses import (
    CachedMultiVectorMultipleNegativesRankingLoss,
    MultiVectorTokenPoolingLoss,
)
from sentence_transformers.multi_vector_encoder.modules import HierarchicalTokenPooling
model = MultiVectorEncoder("answerdotai/ModernBERT-base")
pooling = HierarchicalTokenPooling(pool_factor=4)
base_loss = CachedMultiVectorMultipleNegativesRankingLoss(model, mini_batch_size=64)
loss = MultiVectorTokenPoolingLoss(
model,
base_loss,
token_poolings=[None, pooling],
</tr></table>

... (truncated)

Commits
  • cddcaee Release v6.3.0
  • 239b030 [docs] Update homepage hint for v6.3 (#4357)
  • 7022686 feat: Simplify community_detection and reduce memory/runtime (#4342)
  • ae77d2b Add kernels support for MaxSim, and Ward clustering, and transformers backb...
  • 5123150 Remove outdated commented Transformers usage sections from model card templat...
  • bcefd2e Speed up dataset column to list conversion throughout ST (#4347)
  • 7a3feb1 docs: Add OpenSearch asym-v1 to pretrained sparse models (#4351)
  • 6063f31 [fix] Run the EmbedDistillLoss and MSELoss projection in float32 for low-pr...
  • adb32bd Fix CrossEncoder dropping positional args after device (#4350)
  • a89a0fb Ensure non-negative distances and zero diagonal in cosine_distance (#4334)
  • Additional commits viewable in compare view

Updates transformers to 5.20.2

Release notes

Sourced from transformers's releases.

Patch release v5.20.2

Patch release: v5.20.2

This patch notably solves an issue where some inputs could loose their original type inside prepare_inputs_for_generation in generate, leading to problems with multimodal models. It also fixes some other issues listed on the below commits.

It contains the following commits:

Commits
  • 18329f1 Release: v5.20.2
  • 2ce3082 Avoid a host-to-device copy in eager_mask (#49684)
  • 62bc6fd Declare the input modalities of the VLMs that report text only (#49677)
  • 30f4e38 Fix zero expert gradients in bfloat16 with expert parallelism and ep_size < f...
  • ce8231f Fix inputs dict casting in generate (#49731)
  • 0ea8779 v5.20.1
  • de4f35f Fix small bug in auto mappings (#49664)
  • 759c538 Make DtensorShardOperation work on torch 2.6 and 2.7 (#49657)
  • c180e2d Fix from_pretrained on torch 2.7: require torch>=2.8 for distributed checkpoi...
  • 10d36aa Fix DeepGEMM Mega MoE under expert parallelism (#49428)
  • Additional commits viewable in compare view

Updates pytest 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-asyncio to 1.5.0

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio v1.5.0

1.5.0 - 2026-11-12

Added

  • A fixture-scope value for asyncio_default_fixture_loop_scope. With it, an asynchronous fixture without loop_scope uses its scope as its loop scope. This is the behavior of an unset option in pytest-asyncio 1.x. (#1095)

Fixed

  • Invalid arguments to the asyncio marker, including an invalid loop_scope, are reported with a message that names the test instead of a traceback. (#1584)
Commits

Updates pyyaml to 6.0.4

Release notes

Sourced from pyyaml's releases.

6.0.4

What's Changed

  • Added support for Python 3.15.
  • Dropped support for EoL Python 3.8, 3.9.
  • Fixed exponential merge key expansion (#937).
  • Exposed libyaml 0.2.6 recursion control API (#1010) - no-op when missing.
  • Bumped wheel builds to libyaml 0.2.6.

Full Changelog: yaml/pyyaml@6.0.3...6.0.4

Changelog

Sourced from pyyaml's changelog.

6.0.4 (2026-11-20)

6.0.3 (2025-09-25)

  • yaml/pyyaml#864 -- Support for Python 3.14 and free-threading (experimental)

6.0.2 (2024-08-06)

6.0.1 (2023-07-18)

6.0 (2021-10-13)

5.4.1 (2021-01-20)

  • yaml/pyyaml#480 -- Fix stub compat with older pyyaml versions that may unwittingly load it

5.4 (2021-01-19)

5.3.1 (2020-03-18)

  • yaml/pyyaml#386 -- Prevents arbitrary code execution during python/object/new constructor

5.3 (2020-01-06)

... (truncated)

Commits

Updates ruff 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

Updates pymdown-extensions to 12.3

Release notes

Sourced from pymdown-extensions's releases.

12.3

  • NEW: BetterEm: Expose a way to disable CommonMark punctuation rules in BetterEm if desired via a new punctuation option.
Commits

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

Updates the requirements on [setuptools](https://github.com/pypa/setuptools), [sentence-transformers](https://github.com/huggingface/sentence-transformers), [transformers](https://github.com/huggingface/transformers), [pytest](https://github.com/pytest-dev/pytest), [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio), [pyyaml](https://github.com/yaml/pyyaml), [ruff](https://github.com/astral-sh/ruff) and [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) to permit the latest version.

Updates `setuptools` to 84.2.1
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v84.0.0...v84.2.1)

Updates `sentence-transformers` to 6.3.0
- [Release notes](https://github.com/huggingface/sentence-transformers/releases)
- [Commits](huggingface/sentence-transformers@v6.0.1...v6.3.0)

Updates `transformers` to 5.20.2
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v5.17.0...v5.20.2)

Updates `pytest` 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-asyncio` to 1.5.0
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v1.4.0...v1.5.0)

Updates `pyyaml` to 6.0.4
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES)
- [Commits](yaml/pyyaml@6.0.3...6.0.4)

Updates `ruff` 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.8...0.17.6)

Updates `pymdown-extensions` to 12.3
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](facelessuser/pymdown-extensions@12.0...12.3)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.2.1
  dependency-type: direct:development
  dependency-group: python-dependencies
- dependency-name: sentence-transformers
  dependency-version: 6.3.0
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: transformers
  dependency-version: 5.20.2
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pytest-asyncio
  dependency-version: 1.5.0
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pyyaml
  dependency-version: 6.0.4
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: ruff
  dependency-version: 0.17.6
  dependency-type: direct:production
  dependency-group: python-dependencies
- dependency-name: pymdown-extensions
  dependency-version: '12.3'
  dependency-type: direct:production
  dependency-group: python-dependencies
...

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 30, 2026

This branch has not been deployed

No deployments
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