FAQ | This is a LIVE service | Changelog

fix(deps): update all non-major dependencies

This MR contains the following updates:

Package Change Age Confidence Type Update
black (changelog) 25.1.025.12.0 age confidence docs minor
click (changelog) 8.1.88.3.1 age confidence dependencies minor
cloudevents 1.11.01.12.0 age confidence dependencies minor
faker (changelog) 37.4.037.12.0 age confidence dev minor
flask (changelog) 3.1.03.1.2 age confidence dependencies patch
functions-framework 3.8.23.10.0 age confidence dependencies minor
google-cloud-pubsub 2.29.02.35.0 age confidence entra minor
google-cloud-storage 3.1.13.9.0 age confidence dependencies minor
mkdocs-material (changelog) 9.6.169.7.1 age confidence docs minor
mkdocstrings-python (changelog) 1.16.121.19.0 age confidence docs minor
mypy (changelog) 1.16.11.19.1 age confidence typecheck minor
polyfactory (changelog) 2.21.02.22.5 age confidence extras minor
pre-commit 4.3.04.5.1 age confidence dev minor
pydantic (changelog) 2.11.52.12.5 age confidence entra minor
pydantic (changelog) 2.11.52.12.5 age confidence dev minor
pydantic (changelog) 2.11.52.12.5 age confidence dependencies minor
pydantic-settings (changelog) 2.9.12.12.0 age confidence entra minor
pytest (changelog) 8.3.58.4.2 age confidence extras minor
pytest-env 1.1.51.2.0 age confidence dev minor
pytest-mock (changelog) 3.14.03.15.1 age confidence dev minor
requests (source, changelog) 2.32.32.32.5 age confidence dependencies patch
tox (changelog) 4.26.04.34.1 age confidence dev minor
typing-extensions (changelog) 4.13.24.15.0 age confidence dependencies minor
uis/devops/continuous-delivery/ci-templates v7.25.7v7.27.10 age confidence repository minor

Release Notes

psf/black (black)

v25.12.0

Compare Source

Highlights
  • Black no longer supports running with Python 3.9 (#​4842)
Stable style
  • Fix bug where comments preceding # fmt: off/# fmt: on blocks were incorrectly removed, particularly affecting Jupytext's # %% [markdown] comments (#​4845)
  • Fix crash when multiple # fmt: skip comments are used in a multi-part if-clause, on string literals, or on dictionary entries with long lines (#​4872)
  • Fix possible crash when fmt: directives aren't on the top level (#​4856)
Preview style
  • Fix fmt: skip skipping the line after instead of the line it's on (#​4855)
  • Remove unnecessary parentheses from the left-hand side of assignments while preserving magic trailing commas and intentional multiline formatting (#​4865)
  • Fix fix_fmt_skip_in_one_liners crashing on with statements (#​4853)
  • Fix fix_fmt_skip_in_one_liners crashing on annotated parameters (#​4854)
  • Fix new lines being added after imports with # fmt: skip on them (#​4894)
Packaging
  • Releases now include arm64 Windows binaries and wheels (#​4814)
Integrations
  • Add output-file input to GitHub Action psf/black to write formatter output to a file for artifact capture and log cleanliness (#​4824)

v25.11.0

Compare Source

Highlights
  • Enable base 3.14 support (#​4804)
  • Add support for the new Python 3.14 t-string syntax introduced by PEP 750 (#​4805)
Stable style
  • Fix bug where comments between # fmt: off and # fmt: on were reformatted (#​4811)
  • Comments containing fmt directives now preserve their exact formatting instead of being normalized (#​4811)
Preview style
  • Move multiline_string_handling from --unstable to --preview (#​4760)
  • Fix bug where module docstrings would be treated as normal strings if preceded by comments (#​4764)
  • Fix bug where python 3.12 generics syntax split line happens weirdly (#​4777)
  • Standardize type comments to form # type: <value> (#​4645)
  • Fix fix_fmt_skip_in_one_liners preview feature to respect # fmt: skip for compound statements with semicolon-separated bodies (#​4800)
Configuration
  • Add no_cache option to control caching behavior. (#​4803)
Packaging
  • Releases now include arm64 Linux binaries (#​4773)
  • Releases now include arm64 Windows binaries and wheels (#​4814)
Output
  • Write unchanged content to stdout when excluding formatting from stdin using pipes (#​4610)
Blackd
  • Implemented BlackDClient. This simple python client allows to easily send formatting requests to blackd (#​4774)
Integrations
  • Enable 3.14 base CI (#​4804)
  • Enhance GitHub Action psf/black to support the required-version major-version-only "stability" format when using pyproject.toml (#​4770)
  • Improve error message for vim plugin users. It now handles independently vim version
  • Vim: Warn on unsupported Vim and Python versions independently (#​4772)
  • Vim: Print the import paths when importing black fails (#​4675)
  • Vim: Fix handling of virtualenvs that have a different Python version (#​4675)

v25.9.0

Compare Source

Highlights
  • Remove support for pre-python 3.7 await/async as soft keywords/variable names (#​4676)
Stable style
  • Fix crash while formatting a long del statement containing tuples (#​4628)
  • Fix crash while formatting expressions using the walrus operator in complex with statements (#​4630)
  • Handle # fmt: skip followed by a comment at the end of file (#​4635)
  • Fix crash when a tuple appears in the as clause of a with statement (#​4634)
  • Fix crash when tuple is used as a context manager inside a with statement (#​4646)
  • Fix crash when formatting a \ followed by a \r followed by a comment (#​4663)
  • Fix crash on a \\r\n (#​4673)
  • Fix crash on await ... (where ... is a literal Ellipsis) (#​4676)
  • Fix crash on parenthesized expression inside a type parameter bound (#​4684)
  • Fix crash when using line ranges excluding indented single line decorated items (#​4670)
Preview style
  • Fix a bug where one-liner functions/conditionals marked with # fmt: skip would still be formatted (#​4552)
  • Improve multiline_string_handling with ternaries and dictionaries (#​4657)
  • Fix a bug where string_processing would not split f-strings directly after expressions (#​4680)
  • Wrap the in clause of comprehensions across lines if necessary (#​4699)
  • Remove parentheses around multiple exception types in except and except* without as. (#​4720)
  • Add \r style newlines to the potential newlines to normalize file newlines both from and to (#​4710)
Parser
  • Rewrite tokenizer to improve performance and compliance (#​4536)
  • Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type parameter bounds and defaults. (#​4602)
Performance
  • Avoid using an extra process when running with only one worker (#​4734)
Integrations
  • Fix the version check in the vim file to reject Python 3.8 (#​4567)
  • Enhance GitHub Action psf/black to read Black version from an additional section in pyproject.toml: [project.dependency-groups] (#​4606)
  • Build gallery docker image with python3-slim and reduce image size (#​4686)
Documentation
  • Add FAQ entry for windows emoji not displaying (#​4714)
pallets/click (click)

v8.3.1

Compare Source

Released 2025-11-15

  • Don't discard pager arguments by correctly using subprocess.Popen. :issue:3039 :pr:3055
  • Replace Sentinel.UNSET default values by None as they're passed through the Context.invoke() method. :issue:3066 :issue:3065 :pr:3068
  • Fix conversion of Sentinel.UNSET happening too early, which caused incorrect behavior for multiple parameters using the same name. :issue:3071 :pr:3079
  • Hide Sentinel.UNSET values as None when looking up for other parameters through the context inside parameter callbacks. :issue:3136 :pr:3137
  • Fix rendering when prompt and confirm parameter prompt_suffix is empty. :issue:3019 :pr:3021
  • When Sentinel.UNSET is found during parsing, it will skip calls to type_cast_value. :issue:3069 :pr:3090

v8.3.0

Compare Source

Released 2025-09-17

  • Improved flag option handling: Reworked the relationship between flag_value and default parameters for better consistency:

    • The default parameter value is now preserved as-is and passed directly to CLI functions (no more unexpected transformations)
    • Exception: flag options with default=True maintain backward compatibility by defaulting to their flag_value
    • The default parameter can now be any type (bool, None, etc.)
    • Fixes inconsistencies reported in: :issue:1992 :issue:2514 :issue:2610 :issue:3024 :pr:3030
  • Allow default to be set on Argument for nargs = -1. :issue:2164 :pr:3030

  • Show correct auto complete value for nargs option in combination with flag option :issue:2813

  • Fix handling of quoted and escaped parameters in Fish autocompletion. :issue:2995 :pr:3013

  • Lazily import shutil. :pr:3023

  • Properly forward exception information to resources registered with click.core.Context.with_resource(). :issue:2447 :pr:3058

  • Fix regression related to EOF handling in CliRunner. :issue:2939 :pr:2940

v8.2.2

Compare Source

Released 2025-07-31

  • Fix reconciliation of default, flag_value and type parameters for flag options, as well as parsing and normalization of environment variables. :issue:2952 :pr:2956
  • Fix typing issue in BadParameter and MissingParameter exceptions for the parameter param_hint that did not allow for a sequence of string where the underlying function _join_param_hints allows for it. :issue:2777 :pr:2990
  • Use the value of Enum choices to render their default value in help screen. Refs :issue:2911 :pr:3004
  • Fix completion for the Z shell (zsh) for completion items containing colons. :issue:2703 :pr:2846
  • Don't include envvar in error hint when not configured. :issue:2971 :pr:2972
  • Fix a rare race in click.testing.StreamMixer's finalization that manifested as a ValueError on close in a multi-threaded test session. :issue:2993 :pr:2991

v8.2.1

Compare Source

Released 2025-05-20

  • Fix flag value handling for flag options with a provided type. :issue:2894 :issue:2897 :pr:2930
  • Fix shell completion for nested groups. :issue:2906 :pr:2907
  • Flush sys.stderr at the end of CliRunner.invoke. :issue:2682
  • Fix EOF handling for stdin input in CliRunner. :issue:2787

v8.2.0

Compare Source

Released 2025-05-10

  • Drop support for Python 3.7, 3.8, and 3.9. :pr:2588 :pr:2893

  • Use modern packaging metadata with pyproject.toml instead of setup.cfg. :pr:2438

  • Use flit_core instead of setuptools as build backend. :pr:2543

  • Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("click"), instead. :issue:2598

  • BaseCommand is deprecated. Command is the base class for all commands. :issue:2589

  • MultiCommand is deprecated. Group is the base class for all group commands. :issue:2590

  • The current parser and related classes and methods, are deprecated. :issue:2205

    • OptionParser and the parser module, which is a modified copy of optparse in the standard library.
    • Context.protected_args is unneeded. Context.args contains any remaining arguments while parsing.
    • Parameter.add_to_parser (on both Argument and Option) is unneeded. Parsing works directly without building a separate parser.
    • split_arg_string is moved from parser to shell_completion.
  • Enable deferred evaluation of annotations with from __future__ import annotations. :pr:2270

  • When generating a command's name from a decorated function's name, the suffixes _command, _cmd, _group, and _grp are removed. :issue:2322

  • Show the types.ParamType.name for types.Choice options within --help message if show_choices=False is specified. :issue:2356

  • Do not display default values in prompts when Option.show_default is False. :pr:2509

  • Add get_help_extra method on Option to fetch the generated extra items used in get_help_record to render help text. :issue:2516 :pr:2517

  • Keep stdout and stderr streams independent in CliRunner. Always collect stderr output and never raise an exception. Add a new output stream to simulate what the user sees in its terminal. Removes the mix_stderr parameter in CliRunner. :issue:2522 :pr:2523

  • Option.show_envvar now also shows environment variable in error messages. :issue:2695 :pr:2696

  • Context.close will be called on exit. This results in all Context.call_on_close callbacks and context managers added via Context.with_resource to be closed on exit as well. :pr:2680

  • Add ProgressBar(hidden: bool) to allow hiding the progressbar. :issue:2609

  • A UserWarning will be shown when multiple parameters attempt to use the same name. :issue:2396

  • When using Option.envvar with Option.flag_value, the flag_value will always be used instead of the value of the environment variable. :issue:2746 :pr:2788

  • Add Choice.get_invalid_choice_message method for customizing the invalid choice message. :issue:2621 :pr:2622

  • If help is shown because no_args_is_help is enabled (defaults to True for groups, False for commands), the exit code is 2 instead of 0. :issue:1489 :pr:1489

  • Contexts created during shell completion are closed properly, fixing a ResourceWarning when using click.File. :issue:2644 :pr:2800 :pr:2767

  • click.edit(filename) now supports passing an iterable of filenames in case the editor supports editing multiple files at once. Its return type is now also typed: AnyStr if text is passed, otherwise None. :issue:2067 :pr:2068

  • Specialized typing of progressbar(length=...) as ProgressBar[int]. :pr:2630

  • Improve echo_via_pager behaviour in face of errors. :issue:2674

    • Terminate the pager in case a generator passed to echo_via_pager raises an exception.
    • Ensure to always close the pipe to the pager process and wait for it to terminate.
    • echo_via_pager will not ignore KeyboardInterrupt anymore. This allows the user to search for future output of the generator when using less and then aborting the program using ctrl-c.
  • deprecated: bool | str can now be used on options and arguments. This previously was only available for Command. The message can now also be customised by using a str instead of a bool. :issue:2263 :pr:2271

    • Command.deprecated formatting in --help changed from (Deprecated) help to help (DEPRECATED).
    • Parameters cannot be required nor prompted or an error is raised.
    • A warning will be printed when something deprecated is used.
  • Add a catch_exceptions parameter to CliRunner. If catch_exceptions is not passed to CliRunner.invoke, the value from CliRunner is used. :issue:2817 :pr:2818

  • Option.flag_value will no longer have a default value set based on Option.default if Option.is_flag is False. This results in Option.default not needing to implement __bool__. :pr:2829

  • Incorrect click.edit typing has been corrected. :pr:2804

  • Choice is now generic and supports any iterable value. This allows you to use enums and other non-str values. :pr:2796 :issue:605

  • Fix setup of help option's defaults when using a custom class on its decorator. Removes HelpOption. :issue:2832 :pr:2840

cloudevents/sdk-python (cloudevents)

v1.12.0

Compare Source

Changed
  • Dropped Python3.8 support while it has reached EOL. ([])

v1.11.1

Compare Source

Fixed
  • Kafka conversion marshaller and unmarshaller typings ([#​240])
  • Improved public API type annotations and fixed unit test type errors ([#​248])
joke2k/faker (faker)

v37.12.0

Compare Source

v37.11.0

Compare Source

v37.9.0

Compare Source

  • Add names generation to en_KE locale. Thanks @​titustum.

v37.8.0

Compare Source

v37.7.0

Compare Source

v37.6.0

Compare Source

  • Add Automotive providers for ko_KR locale. Thanks @​ydj515.

v37.5.3

Compare Source

  • Allow Decimal type for min_value and max_value in pydecimal. Thanks @​sshishov.

v37.5.2

Compare Source

  • Fix Turkish Republic National Number (TCKN) provider. Thanks @​fleizean.

v37.5.1

Compare Source

  • Fix unnatural Korean company names in ko_KR locale. Thanks @​r-4bb1t.

v37.5.0

Compare Source

  • Add Spanish lorem provider for es_ES, es_AR and es_MX. Thanks @​Pandede.

v37.4.3

Compare Source

  • Fix male names in sv_SE locale. Thanks @​peterk.

v37.4.2

Compare Source

  • Fix the function for generating VIN, now the last 4 characters are digits. Thanks @​nesb1.

v37.4.1

Compare Source

  • Fix leading 0s in building numbers for de_DE locale. Thanks @​KarelZe.
pallets/flask (flask)

v3.1.2

Compare Source

Released 2025-08-19

  • stream_with_context does not fail inside async views. :issue:5774
  • When using follow_redirects in the test client, the final state of session is correct. :issue:5786
  • Relax type hint for passing bytes IO to send_file. :issue:5776

v3.1.1

Compare Source

Released 2025-05-13

  • Fix signing key selection order when key rotation is enabled via SECRET_KEY_FALLBACKS. :ghsa:4grg-w6v8-c28g
  • Fix type hint for cli_runner.invoke. :issue:5645
  • flask --help loads the app and plugins first to make sure all commands are shown. :issue:5673
  • Mark sans-io base class as being able to handle views that return AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. :pr:5659
googlecloudplatform/functions-framework-python (functions-framework)

v3.10.0

Compare Source

Features
Bug Fixes
  • ci: Add release-assets.githubusercontent.com to allowed endpoints (#​394) (9b37f85)
  • remove Python 3.7 test execution (#​402) (ef45fae)

v3.9.2

Compare Source

Bug Fixes
  • increase start delay for ASGI conformance tests to address flaky failures (#​391) (1b6c428)

v3.9.1

Compare Source

Bug Fixes

v3.9.0

Compare Source

Features
Bug Fixes
  • ci: specify python version in tox environment (#​375) (37e0bf7)
  • Pin cloudevent sdk version to support python3.7. (#​373) (cc2b9b5)
  • resolve CI failures for egress policies and Python 3.7 buildpack support (#​388) (2de6eec)
  • set default log level for asgi logger to WARNING to match default python behavior (#​381) (a576a8f)

v3.8.3

Compare Source

Bug Fixes
Documentation
googleapis/python-pubsub (google-cloud-pubsub)

v2.35.0

Compare Source

Documentation
Features

v2.34.0

Compare Source

Features

v2.33.0

Compare Source

Features
  • Add AwsKinesisFailureReason.ApiViolationReason (ac68093)
  • Add tags to Subscription, Topic, and CreateSnapshotRequest messages for use in CreateSubscription, CreateTopic, and CreateSnapshot requests respectively (ac68093)
  • Annotate some resource fields with their corresponding API types (ac68093)
Bug Fixes
  • Deprecate credentials_file argument (ac68093)
Documentation
  • A comment for field received_messages in message .google.pubsub.v1.StreamingPullResponse is changed (ac68093)

v2.32.0

Compare Source

Features
Bug Fixes

v2.31.1

Compare Source

Bug Fixes

v2.31.0

Compare Source

Features
  • Add MessageTransformationFailureReason to IngestionFailureEvent (#​1427) (8ab13e1)
Bug Fixes
  • Surface Fatal Stream Errors to Future; Adjust Retryable Error Codes (#​1422) (e081beb)

v2.30.0

Compare Source

Features

v2.29.1

Compare Source

Bug Fixes
  • Remove setup.cfg configuration for creating universal wheels (#​1376) (60639c4)
Documentation
  • sample: Add samples for topic and subscription SMTs (#​1386) (4d072e0)
  • Update documentation for JavaScriptUDF to indicate that the message_id metadata field is optional instead of required (#​1380) (be90054)
  • Update readme links (#​1409) (77ba05d)
googleapis/python-storage (google-cloud-storage)

v3.9.0

Compare Source

Features
Bug Fixes

v3.8.0

Compare Source

Features
Bug Fixes

v3.7.0

Compare Source

Features
Bug Fixes

v3.6.0

Compare Source

Features
  • Add support for partial list buckets (#​1606) (92fc2b0)
  • Make return_partial_success and unreachable fields public for list Bucket (#​1601) (323cddd)
  • zb-experimental: Add async write object stream (5ab8103)
  • zb-experimental: Add async write object stream (#​1612) (5ab8103)
Bug Fixes

v3.5.0

Compare Source

Features
Bug Fixes
  • Deprecate credentials_file argument (74415a2)
  • Flaky system tests for resumable_media (#​1592) (7fee3dd)
  • Make download_ranges compatible with asyncio.create_task(..) (#​1591) (faf8b83)
  • Make download_ranges compatible with asyncio.create_task(..) (#​1591) (faf8b83)
  • Redact sensitive data from OTEL traces and fix env var parsing (#​1553) (a38ca19)
  • Redact sensitive data from OTEL traces and fix env var parsing (#​1553) (a38ca19)
  • Use separate header object for each upload in Transfer Manager MPU (#​1595) (0d867bd)

v3.4.1

Compare Source

Bug Fixes
  • Fixes #​1561 by adding an option to specify the entire object checksum for resumable uploads via the upload_from_string, upload_from_file, and upload_from_filename methods (acb918e)

v3.4.0

Compare Source

Features
Bug Fixes

v3.3.1

Compare Source

Bug Fixes
  • Provide option to user to set entire object checksum at "initiate a resumable upload session" and send the same (#​1525) (a8109e0)
  • Send part's checksum for XML MPU part upload (#​1529) (2ad77c7)

v3.3.0

Compare Source

Features
Bug Fixes
Documentation

v3.2.0

Compare Source

Features
squidfunk/mkdocs-material (mkdocs-material)

v9.7.1: mkdocs-material-9.7.1

Compare Source

  • Updated requests to 2.30+ to mitigate CVE in urllib
  • Fixed privacy plugin not picking up protocol-relative URLs
  • Fixed #​8542: false positives and negatives captured in privacy plugin

v9.7.0: mkdocs-material-9.7.0

Compare Source

[!WARNING]

Material for MkDocs is now in maintenance mode

This is the last release of Material for MkDocs that will receive new features. Going forward, the Material for MkDocs team focuses on Zensical, a next-gen static site generator built from first principles. We will provide critical bug fixes and security updates for Material for MkDocs for 12 months at least.

Read the full announcement on our blog

This release includes all features that were previously exclusive to the Insiders edition. These features are now freely available to everyone.

Note on deprecated plugins: The projects and typeset plugins are included in this release, but must be considered deprecated. Both plugins proved unsustainable to maintain and represent architectural dead ends. They are provided as-is without ongoing support.

Changes:

  • Added support for projects plugin (for compat, now deprecated)
  • Added support for typeset plugin (for compat, now deprecated)
  • Added support for pinned blog posts and author profiles
  • Added support for customizing pagination for blog index pages
  • Added support for customizing blog category sort order
  • Added support for staying on page when switching languages
  • Added support for disabling tags in table of contents
  • Added support for nested tags and shadow tags
  • Added support for footnote tooltips
  • Added support for instant previews
  • Added support for instant prefetching
  • Added support for custom social card layouts
  • Added support for custom social card background images
  • Added support for selectable rangs in code blocks
  • Added support for custom selectors for code annotations
  • Added support for configurable log level in privacy plugin
  • Added support for processing of external links in privacy plugin
  • Added support for automatic image optimization via optimize plugin
  • Added support for navigation paths (breadcrumbs)
  • Fixed #​8519: Vector accents do not render when using KaTeX

v9.6.23: mkdocs-material-9.6.23

Compare Source

  • Updated Burmese translation

v9.6.22: mkdocs-material-9.6.22

Compare Source

  • Updated Georgian translation

v9.6.21: mkdocs-material-9.6.21

Compare Source

  • Updated Serbian translations
  • Fixed #​8458: Temporary pin of click dependency

v9.6.20: mkdocs-material-9.6.20

Compare Source

  • Fixed #​8446: Deprecation warning as of Python 3.14 in Emoji extension
  • Fixed #​8440: & character not escaped in search highlighting
  • Fixed #​8439: FontAwesome icons color not set in social cards (regression)

v9.6.19: mkdocs-material-9.6.19

Compare Source

  • Added support for Python 3.14
  • Updated Bahasa Malaysia translations

v9.6.18: mkdocs-material-9.6.18

Compare Source

  • Updated Azerbaijani translations
  • Fixed last compat issues with minijinja, now 100% compatible

v9.6.17: mkdocs-material-9.6.17

Compare Source

  • Fixed #​8396: Videos do not autoplay when inside a content tab
  • Fixed #​8394: Stroke width not effective in Mermaid.js diagrams
  • Fixed disappearing version selector when hiding page title
mkdocstrings/python (mkdocstrings-python)

v1.19.0

Compare Source

Compare with 1.18.2

Features
  • Release scoped and relative cross-references (872afc5 by Timothée Mazzucotelli).
  • Release __all__ ordering feature (84aaebc by Timothée Mazzucotelli).
  • Release public filter feature (3be14cc by Timothée Mazzucotelli).
  • Release backlinks feature (ae7cc2d by Timothée Mazzucotelli).
  • Release expression modernization feature (dbadd1e by Timothée Mazzucotelli).
  • Release visually-lighter admonitions for source code blocks (fdaeb48 by Timothée Mazzucotelli).
  • Release inheritance diagram features (669b42e by Timothée Mazzucotelli).
Code Refactoring
  • Update code base for Python 3.10 (b696ed2 by Timothée Mazzucotelli).

v1.18.2

Compare Source

Compare with 1.18.1

Bug Fixes
  • Normalize spaces to underscores when passing object to rendering context using its kind as key (6f79be0 by Timothée Mazzucotelli). Issue-mkdocstrings-791

v1.18.1

Compare Source

Compare with 1.18.0

Bug Fixes
  • Don't show implementation signature of __init__ method when overloads_only is true and it is merged into the class (9ef620f by Timothée Mazzucotelli). Issue-308

v1.18.0

Compare Source

Compare with 1.17.0

Features
Bug Fixes
  • Increase maximum recursion limit in case of deeply nested ASTs (rare occurrence) (6004ccf by Timothée Mazzucotelli). Issue-griffe-402

v1.17.0

Compare Source

Compare with 1.16.12

Features
Code Refactoring
  • Deprecate locale option in favor of mkdocstrings' (17f71ba by Timothée Mazzucotelli). MR-288
python/mypy (mypy)

v1.19.1

Compare Source

  • Fix noncommutative joins with bounded TypeVars (Shantanu, MR 20345)
  • Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, MR 20372)
  • Allow types.NoneType in match cases (A5rocks, MR 20383)
  • Fix mypyc generator regression with empty tuple (BobTheBuidler, MR 20371)
  • Fix crash involving Unpack-ed TypeVarTuple (Shantanu, MR 20323)
  • Fix crash on star import of redefinition (Ivan Levkivskyi, MR 20333)
  • Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, MR 20334)
  • Fail with an explicit error on PyPy (Ivan Levkivskyi, MR 20389)

v1.19.0

Compare Source

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, MR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, MR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, MR 19846)

v1.18.1

Compare Source

v1.17.1

Compare Source

  • Retain None as constraints bottom if no bottoms were provided (Stanislav Terliakov, MR 19485)
  • Fix "ignored exception in hasattr" in dmypy (Stanislav Terliakov, MR 19428)
  • Prevent a crash when InitVar is redefined with a method in a subclass (Stanislav Terliakov, MR 19453)

v1.17.0

Compare Source

litestar-org/polyfactory (polyfactory)

v2.22.5

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.22.4...v2.22.5

v2.22.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.22.3...v2.22.4

v2.22.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.22.2...v2.22.3

v2.22.2

Compare Source

What's Changed

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.22.1...v2.22.2

v2.22.1

Compare Source

What's Changed

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.22.0...v2.22.1

v2.22.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.21.0...v2.22.0

pre-commit/pre-commit (pre-commit)

v4.5.1

Compare Source

==================

Fixes
  • Fix language: python with repo: local without additional_dependencies.

v4.5.0

Compare Source

==================

Features

v4.4.0

Compare Source

==================

Features
Fixes
pydantic/pydantic (pydantic)

v2.12.5

Compare Source

GitHub release

This is the fifth 2.12 patch release, addressing an issue with the MISSING sentinel and providing several documentation improvements.

The next 2.13 minor release will be published in a couple weeks, and will include a new polymorphic serialization feature addressing the remaining unexpected changes to the serialize as any behavior.

  • Fix pickle error when using model_construct() on a model with MISSING as a default value by @​ornariece in #​12522.
  • Several updates to the documentation by @​Viicos.

v2.12.4

Compare Source

GitHub release

This is the fourth 2.12 patch release, fixing more regressions, and reverting a change in the build() method of the AnyUrl and Dsn types.

This patch release also fixes an issue with the serialization of IP address types, when serialize_as_any is used. The next patch release will try to address the remaining issues with serialize as any behavior by introducing a new polymorphic serialization feature, that should be used in most cases in place of serialize as any.

v2.12.3

Compare Source

GitHub release

What's Changed

This is the third 2.12 patch release, fixing issues related to the FieldInfo class, and reverting a change to the supported after model validator function signatures.

  • Raise a warning when an invalid after model validator function signature is raised by @​Viicos in #​12414. Starting in 2.12.0, using class methods for after model validators raised an error, but the error wasn't raised concistently. We decided to emit a deprecation warning instead.
  • Add FieldInfo.asdict() method, improve documentation around FieldInfo by @​Viicos in #​12411. This also add back support for mutations on FieldInfo classes, that are reused as Annotated metadata. However, note that this is still not a supported pattern. Instead, please refer to the added example in the documentation.

The blog post section on changes was also updated to document the changes related to serialize_as_any.

v2.12.2

Compare Source

GitHub release

What's Changed
Fixes
  • Release a new pydantic-core version, as a corrupted CPython 3.10 manylinux2014_aarch64 wheel got uploaded (pydantic-core#1843).
  • Fix issue with recursive generic models with a parent model class by @​Viicos in #​12398

v2.12.1

Compare Source

GitHub release

What's Changed

This is the first 2.12 patch release, addressing most (but not all yet) regressions from the initial 2.12.0 release.

Fixes
New Contributors

v2.12.0

Compare Source

GitHub release

What's Changed

This is the final 2.12 release. It features the work of 20 external contributors and provides useful new features, along with initial Python 3.14 support. Several minor changes (considered non-breaking changes according to our versioning policy) are also included in this release. Make sure to look into them before upgrading.

Note that Pydantic V1 is not compatible with Python 3.14 and greater.

Changes (see the alpha and beta releases for additional changes since 2.11):

Packaging
New Features
Fixes
New Contributors

v2.11.10

Compare Source

GitHub release

What's Changed
Fixes

v2.11.9

Compare Source

GitHub release

What's Changed
Fixes

v2.11.8

Compare Source

GitHub release

What's Changed
Fixes

v2.11.7

Compare Source

GitHub release

What's Changed
Fixes

v2.11.6

Compare Source

GitHub release

What's Changed
Fixes
pydantic/pydantic-settings (pydantic-settings)

v2.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.11.0...v2.12.0

v2.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/2.10.1...v2.11.0

v2.10.1

Compare Source

What's Changed

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/2.10.0...2.10.1

v2.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.9.1...2.10.0

pytest-dev/pytest (pytest)

v8.4.2

Compare Source

pytest 8.4.2 (2025-09-03)

Bug fixes

  • #​13478: Fixed a crash when using console_output_style{.interpreted-text role="confval"} with times and a module is skipped.

  • #​13530: Fixed a crash when using pytest.approx{.interpreted-text role="func"} and decimal.Decimal{.interpreted-text role="class"} instances with the decimal.FloatOperation{.interpreted-text role="class"} trap set.

  • #​13549: No longer evaluate type annotations in Python 3.14 when inspecting function signatures.

    This prevents crashes during module collection when modules do not explicitly use from __future__ import annotations and import types for annotations within a if TYPE_CHECKING: block.

  • #​13559: Added missing [int]{.title-ref} and [float]{.title-ref} variants to the [Literal]{.title-ref} type annotation of the [type]{.title-ref} parameter in pytest.Parser.addini{.interpreted-text role="meth"}.

  • #​13563: pytest.approx{.interpreted-text role="func"} now only imports numpy if NumPy is already in sys.modules. This fixes unconditional import behavior introduced in [8.4.0]{.title-ref}.

Improved documentation

  • #​13577: Clarify that pytest_generate_tests is discovered in test modules/classes; other hooks must be in conftest.py or plugins.

Contributor-facing changes

  • #​13480: Self-testing: fixed a few test failures when run with -Wdefault or a similar override.
  • #​13547: Self-testing: corrected expected message for test_doctest_unexpected_exception in Python 3.14.
  • #​13684: Make pytest's own testsuite insensitive to the presence of the CI environment variable -- by ogrisel{.interpreted-text role="user"}.

v8.4.1

Compare Source

pytest 8.4.1 (2025-06-17)

Bug fixes

  • #​13461: Corrected _pytest.terminal.TerminalReporter.isatty to support being called as a method. Before it was just a boolean which could break correct code when using -o log_cli=true).

  • #​13477: Reintroduced pytest.PytestReturnNotNoneWarning{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.

    This warning is raised when a test functions returns a value other than None, which is often a mistake made by beginners.

    See return-not-none{.interpreted-text role="ref"} for more information.

  • #​13497: Fixed compatibility with Twisted 25+.

Improved documentation

  • #​13492: Fixed outdated warning about faulthandler not working on Windows.

v8.4.0

Compare Source

pytest 8.4.0 (2025-06-02)

Removals and backward incompatible breaking changes

  • #​11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.

  • #​12346: Tests will now fail, instead of raising a warning, if they return any value other than None.

  • #​12874: We dropped support for Python 3.8 following its end of life (2024-10-07).

  • #​12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.

    See the docs <yield tests deprecated>{.interpreted-text role="ref"} for more information.

Deprecations (removal in next major release)

  • #​10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or autouse=True. For guidance on how to work around this warning see sync-test-async-fixture{.interpreted-text role="ref"}.

New features

  • #​11538: Added pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent to pytest.raises{.interpreted-text role="func"} for expecting ExceptionGroup{.interpreted-text role="exc"}. Also adds pytest.RaisesExc{.interpreted-text role="class"} which is now the logic behind pytest.raises{.interpreted-text role="func"} and used as parameter to pytest.RaisesGroup{.interpreted-text role="class"}. RaisesGroup includes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulating except* <except_star>{.interpreted-text role="ref"}. See assert-matching-exception-groups{.interpreted-text role="ref"} and docstrings for more information.

  • #​12081: Added capteesys{.interpreted-text role="fixture"} to capture AND pass output to next handler set by --capture=.

  • #​12504: pytest.mark.xfail{.interpreted-text role="func"} now accepts pytest.RaisesGroup{.interpreted-text role="class"} for the raises parameter when you expect an exception group. You can also pass a pytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of the check parameter.

  • #​12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.

    This lets users still see condensed summary output of failures for quick reference in log files from job outputs, being especially useful if non-condensed output is very verbose.

  • #​12749: pytest traditionally collects classes/functions in the test module namespace even if they are imported from another file.

    For example:

contents of src/domain.py

class Testament: ...

contents of tests/test_testament.py

from domain import Testament

def test_testament(): ...
```

In this scenario with the default options, pytest will collect the class [Testament]{.title-ref} from [tests/test_testament.py]{.title-ref} because it starts with [Test]{.title-ref}, even though in this case it is a production class being imported in the test module namespace.

This behavior can now be prevented by setting the new `collect_imported_tests`{.interpreted-text role="confval"} configuration option to `false`, which will make pytest collect classes/functions from test files **only** if they are defined in that file.

\-- by `FreerGit`{.interpreted-text role="user"}
  • #​12765: Thresholds to trigger snippet truncation can now be set with truncation_limit_lines{.interpreted-text role="confval"} and truncation_limit_chars{.interpreted-text role="confval"}.

    See truncation-params{.interpreted-text role="ref"} for more information.

  • #​13125: console_output_style{.interpreted-text role="confval"} now supports times to show execution time of each test.

  • #​13192: pytest.raises{.interpreted-text role="func"} will now raise a warning when passing an empty string to match, as this will match against any value. Use match="^$" if you want to check that an exception has no message.

  • #​13192: pytest.raises{.interpreted-text role="func"} will now print a helpful string diff if matching fails and the match parameter has ^ and $ and is otherwise escaped.

  • #​13192: You can now pass with pytest.raises(check=fn): <pytest.raises>{.interpreted-text role="func"}, where fn is a function which takes a raised exception and returns a boolean. The raises fails if no exception was raised (as usual), passes if an exception is raised and fn returns True (as well as match and the type matching, if specified, which are checked before), and propagates the exception if fn returns False (which likely also fails the test).

  • #​13228: hidden-param{.interpreted-text role="ref"} can now be used in id of pytest.param{.interpreted-text role="func"} or in ids of Metafunc.parametrize <pytest.Metafunc.parametrize>{.interpreted-text role="py:func"}. It hides the parameter set from the test name.

  • #​13253: New flag: --disable-plugin-autoload <disable_plugin_autoload>{.interpreted-text role="ref"} which works as an alternative to PYTEST_DISABLE_PLUGIN_AUTOLOAD{.interpreted-text role="envvar"} when setting environment variables is inconvenient; and allows setting it in config files with addopts{.interpreted-text role="confval"}.

Improvements in existing functionality

  • #​10224: pytest's short and long traceback styles (how-to-modifying-python-tb-printing{.interpreted-text role="ref"}) now have partial 657{.interpreted-text role="pep"} support and will show specific code segments in the traceback.

    ================================= FAILURES =================================
    _______________________ test_gets_correct_tracebacks _______________________
    
    test_tracebacks.py:12: in test_gets_correct_tracebacks
        assert manhattan_distance(p1, p2) == 1
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
    test_tracebacks.py:6: in manhattan_distance
        return abs(point_1.x - point_2.x) + abs(point_1.y - point_2.y)
                               ^^^^^^^^^
    E   AttributeError: 'NoneType' object has no attribute 'x'
    

    -- by ammaraskar{.interpreted-text role="user"}

  • #​11118: Now pythonpath{.interpreted-text role="confval"} configures [$PYTHONPATH]{.title-ref} earlier than before during the initialization process, which now also affects plugins loaded via the [-p]{.title-ref} command-line option.

    -- by millerdev{.interpreted-text role="user"}

  • #​11381: The type parameter of the parser.addini method now accepts ["int"]{.title-ref} and "float" parameters, facilitating the parsing of configuration values in the configuration file.

    Example:

    def pytest_addoption(parser):
        parser.addini("int_value", type="int", default=2, help="my int value")
        parser.addini("float_value", type="float", default=4.2, help="my float value")
    

    The [pytest.ini]{.title-ref} file:

    [pytest]
    int_value = 3
    float_value = 5.4
    
  • #​11525: Fixtures are now clearly represented in the output as a "fixture object", not as a normal function as before, making it easy for beginners to catch mistakes such as referencing a fixture declared in the same module but not requested in the test function.

    -- by the-compiler{.interpreted-text role="user"} and glyphack{.interpreted-text role="user"}

  • #​12426: A warning is now issued when pytest.mark.usefixtures ref{.interpreted-text role="ref"} is used without specifying any fixtures. Previously, empty usefixtures markers were silently ignored.

  • #​12707: Exception chains can be navigated when dropped into Pdb in Python 3.13+.

  • #​12736: Added a new attribute [name]{.title-ref} with the fixed value ["pytest tests"]{.title-ref} to the root tag [testsuites]{.title-ref} of the junit-xml generated by pytest.

    This attribute is part of many junit-xml specifications and is even part of the [junit-10.xsd]{.title-ref} specification that pytest's implementation is based on.

  • #​12943: If a test fails with an exceptiongroup with a single exception, the contained exception will now be displayed in the short test summary info.

  • #​12958: A number of unraisable <unraisable>{.interpreted-text role="ref"} enhancements:

    • Set the unraisable hook as early as possible and unset it as late as possible, to collect the most possible number of unraisable exceptions.
    • Call the garbage collector just before unsetting the unraisable hook, to collect any straggling exceptions.
    • Collect multiple unraisable exceptions per test phase.
    • Report the tracemalloc{.interpreted-text role="mod"} allocation traceback (if available).
    • Avoid using a generator based hook to allow handling StopIteration{.interpreted-text role="class"} in test failures.
    • Report the unraisable exception as the cause of the pytest.PytestUnraisableExceptionWarning{.interpreted-text role="class"} exception if raised.
    • Compute the repr of the unraisable object in the unraisable hook so you get the latest information if available, and should help with resurrection of the object.
  • #​13010: pytest.approx{.interpreted-text role="func"} now can compare collections that contain numbers and non-numbers mixed.

  • #​13016: A number of threadexception <unraisable>{.interpreted-text role="ref"} enhancements:

    • Set the excepthook as early as possible and unset it as late as possible, to collect the most possible number of unhandled exceptions from threads.
    • Collect multiple thread exceptions per test phase.
    • Report the tracemalloc{.interpreted-text role="mod"} allocation traceback (if available).
    • Avoid using a generator based hook to allow handling StopIteration{.interpreted-text role="class"} in test failures.
    • Report the thread exception as the cause of the pytest.PytestUnhandledThreadExceptionWarning{.interpreted-text role="class"} exception if raised.
    • Extract the name of the thread object in the excepthook which should help with resurrection of the thread.
  • #​13031: An empty parameter set as in pytest.mark.parametrize([], ids=idfunc) will no longer trigger a call to idfunc with internal objects.

  • #​13115: Allows supplying ExceptionGroup[Exception] and BaseExceptionGroup[BaseException] to pytest.raises to keep full typing on ExceptionInfo <pytest.ExceptionInfo>{.interpreted-text role="class"}:

    with pytest.raises(ExceptionGroup[Exception]) as exc_info:
        some_function()
    

    Parametrizing with other exception types remains an error - we do not check the types of child exceptions and thus do not permit code that might look like we do.

  • #​13122: The --stepwise mode received a number of improvements:

    • It no longer forgets the last failed test in case pytest is executed later without the flag.

      This enables the following workflow:

      1. Execute pytest with --stepwise, pytest then stops at the first failing test;
      2. Iteratively update the code and run the test in isolation, without the --stepwise flag (for example in an IDE), until it is fixed.
      3. Execute pytest with --stepwise again and pytest will continue from the previously failed test, and if it passes, continue on to the next tests.

      Previously, at step 3, pytest would start from the beginning, forgetting the previously failed test.

      This change however might cause issues if the --stepwise mode is used far apart in time, as the state might get stale, so the internal state will be reset automatically in case the test suite changes (for now only the number of tests are considered for this, we might change/improve this on the future).

    • New --stepwise-reset/--sw-reset flag, allowing the user to explicitly reset the stepwise state and restart the workflow from the beginning.

  • #​13308: Added official support for Python 3.14.

  • #​13380: Fix ExceptionGroup{.interpreted-text role="class"} traceback filtering to exclude pytest internals.

  • #​13415: The author metadata of the BibTex example is now correctly formatted with last names following first names. An example of BibLaTex has been added. BibTex and BibLaTex examples now clearly indicate that what is cited is software.

    -- by willynilly{.interpreted-text role="user"}

  • #​13420: Improved test collection performance by optimizing path resolution used in FSCollector.

  • #​13457: The error message about duplicate parametrization no longer displays an internal stack trace.

  • #​4112: Using pytest.mark.usefixtures <pytest.mark.usefixtures ref>{.interpreted-text role="ref"} on pytest.param{.interpreted-text role="func"} now produces an error instead of silently doing nothing.

  • #​5473: Replace [:]{.title-ref} with [;]{.title-ref} in the assertion rewrite warning message so it can be filtered using standard Python warning filters before calling pytest.main{.interpreted-text role="func"}.

[#&#8203;6985](https://github.com/pytest-dev/pytest/issues/6985): Improved `pytest.approx`{.interpreted-text role="func"} to enhance the readability of value ranges and tolerances between 0.001 and 1000.
:   -   The [repr]{.title-ref} method now provides clearer output for values within those ranges, making it easier to interpret the results.

    -   Previously, the output for those ranges of values and tolerances was displayed in scientific notation (e.g., [42 ± 1.0e+00]{.title-ref}). The updated method now presents the tolerance as a decimal for better readability (e.g., [42 ± 1]{.title-ref}).

        Example:

        **Previous Output:**

        ``` console
        >>> pytest.approx(42, abs=1)
        42 ± 1.0e+00
        ```

        **Current Output:**

        ``` console
        >>> pytest.approx(42, abs=1)
        42 ± 1
        ```

    \-- by `fazeelghafoor`{.interpreted-text role="user"}
  • #​7683: The formerly optional pygments dependency is now required, causing output always to be source-highlighted (unless disabled via the --code-highlight=no CLI option).

Bug fixes

  • #​10404: Apply filterwarnings from config/cli as soon as possible, and revert them as late as possible so that warnings as errors are collected throughout the pytest run and before the unraisable and threadexcept hooks are removed.

    This allows very late warnings and unraisable/threadexcept exceptions to fail the test suite.

    This also changes the warning that the lsof plugin issues from PytestWarning to the new warning PytestFDWarning so it can be more easily filtered.

  • #​11067: The test report is now consistent regardless if the test xfailed via pytest.mark.xfail <pytest.mark.xfail ref>{.interpreted-text role="ref"} or pytest.fail{.interpreted-text role="func"}.

    Previously, xfailed tests via the marker would have the string "reason: " prefixed to the message, while those xfailed via the function did not. The prefix has been removed.

  • #​12008: In 11220{.interpreted-text role="pr"}, an unintended change in reordering was introduced by changing the way indices were assigned to direct params. More specifically, before that change, the indices of direct params to metafunc's callspecs were assigned after all parametrizations took place. Now, that change is reverted.

  • #​12863: Fix applying markers, including pytest.mark.parametrize <pytest.mark.parametrize ref>{.interpreted-text role="ref"} when placed above [@​staticmethod]{.title-ref} or [@​classmethod]{.title-ref}.

  • #​12929: Handle StopIteration from test cases, setup and teardown correctly.

  • #​12938: Fixed --durations-min argument not respected if -vv is used.

  • #​12946: Fixed missing help for pdb{.interpreted-text role="mod"} commands wrapped by pytest -- by adamchainz{.interpreted-text role="user"}.

  • #​12981: Prevent exceptions in pytest.Config.add_cleanup{.interpreted-text role="func"} callbacks preventing further cleanups.

  • #​13047: Restore pytest.approx{.interpreted-text role="func"} handling of equality checks between [bool]{.title-ref} and [numpy.bool_]{.title-ref} types.

    Comparing [bool]{.title-ref} and [numpy.bool_]{.title-ref} using pytest.approx{.interpreted-text role="func"} accidentally changed in version [8.3.4]{.title-ref} and [8.3.5]{.title-ref} to no longer match:

    >>> import numpy as np
    >>> from pytest import approx
    >>> [np.True_, np.True_] == pytest.approx([True, True])
    False
    

    This has now been fixed:

    >>> [np.True_, np.True_] == pytest.approx([True, True])
    True
    
  • #​13119: Improved handling of invalid regex patterns for filter warnings by providing a clear error message.

  • #​13175: The diff is now also highlighted correctly when comparing two strings.

  • #​13248: Fixed an issue where passing a scope in Metafunc.parametrize <pytest.Metafunc.parametrize>{.interpreted-text role="py:func"} with indirect=True could result in other fixtures being unable to depend on the parametrized fixture.

  • #​13291: Fixed repr of attrs objects in assertion failure messages when using attrs>=25.2.

  • #​13312: Fixed a possible KeyError crash on PyPy during collection of tests involving higher-scoped parameters.

  • #​13345: Fix type hints for pytest.TestReport.when{.interpreted-text role="attr"} and pytest.TestReport.location{.interpreted-text role="attr"}.

  • #​13377: Fixed handling of test methods with positional-only parameter syntax.

    Now, methods are supported that formally define self as positional-only and/or fixture parameters as keyword-only, e.g.:

    class TestClass:
    
        def test_method(self, /, *, fixture): ...
    

    Before, this caused an internal error in pytest.

  • #​13384: Fixed an issue where pytest could report negative durations.

  • #​13420: Added lru_cache to nodes._check_initialpaths_for_relpath.

  • #​9037: Honor disable_test_id_escaping_and_forfeit_all_rights_to_community_support{.interpreted-text role="confval"} when escaping ids in parametrized tests.

Improved documentation

  • #​12535: [This example]{.title-ref}<https://docs.pytest.org/en/latest/example/simple.html#making-test-result-information-available-in-fixtures> showed print statements that do not exactly reflect what the different branches actually do. The fix makes the example more precise.

  • #​13218: Pointed out in the pytest.approx{.interpreted-text role="func"} documentation that it considers booleans unequal to numeric zero or one.

  • #​13221: Improved grouping of CLI options in the --help output.

  • #​6649: Added ~pytest.TerminalReporter{.interpreted-text role="class"} to the api-reference{.interpreted-text role="ref"} documentation page.

  • #​8612: Add a recipe for handling abstract test classes in the documentation.

    A new example has been added to the documentation to demonstrate how to use a mixin class to handle abstract test classes without manually setting the __test__ attribute for subclasses. This ensures that subclasses of abstract test classes are automatically collected by pytest.

Packaging updates and notes for downstreams

  • #​13317: Specified minimum allowed versions of colorama, iniconfig, and packaging; and bumped the minimum allowed version of exceptiongroup for python_version<'3.11' from a release candidate to a full release.

Contributor-facing changes

  • #​12017: Mixed internal improvements:

    • Migrate formatting to f-strings in some tests.
    • Use type-safe constructs in JUnitXML tests.
    • MovedMockTiming into _pytest.timing.

    -- by RonnyPfannschmidt{.interpreted-text role="user"}

  • #​12647: Fixed running the test suite with the hypothesis pytest plugin.

Miscellaneous internal changes

  • #​6649: Added ~pytest.TerminalReporter{.interpreted-text role="class"} to the public pytest API, as it is part of the signature of the pytest_terminal_summary{.interpreted-text role="hook"} hook.
pytest-dev/pytest-env (pytest-env)

v1.2.0

Compare Source

What's Changed

Full Changelog: https://github.com/pytest-dev/pytest-env/compare/1.1.5...1.2.0

pytest-dev/pytest-mock (pytest-mock)

v3.15.1

Compare Source

2025-09-16

  • #&#8203;529 <https://github.com/pytest-dev/pytest-mock/issues/529>_: Fixed itertools._tee object has no attribute error -- now duplicate_iterators=True must be passed to mocker.spy to duplicate iterators.

v3.15.0

Compare Source

2025-09-04

  • Python 3.8 (EOL) is no longer supported.
  • #&#8203;524 <https://github.com/pytest-dev/pytest-mock/pull/524>_: Added spy_return_iter to mocker.spy, which contains a duplicate of the return value of the spied method if it is an Iterator.

v3.14.1

Compare Source

  • #&#8203;503 <https://github.com/pytest-dev/pytest-mock/pull/503>_: Python 3.14 is now officially supported.
psf/requests (requests)

v2.32.5

Compare Source

Bugfixes

  • The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a number of use cases. The Requests team has decided to revert this feature as long term maintenance of it is proving to be unsustainable in its current iteration.

Deprecations

  • Added support for Python 3.14.
  • Dropped support for Python 3.8 following its end of support.

v2.32.4

Compare Source

Security

  • CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve credentials for the wrong hostname/machine from a netrc file.

Improvements

  • Numerous documentation improvements

Deprecations

  • Added support for pypy 3.11 for Linux and macOS.
  • Dropped support for pypy 3.9 following its end of support.
tox-dev/tox (tox)

v4.34.1

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.34.0...4.34.1

v4.34.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.33.0...4.34.0

v4.33.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.32.0...4.33.0

v4.32.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.31.0...4.32.0

v4.31.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.30.3...4.31.0

v4.30.3

Compare Source

What's Changed
New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.30.2...4.30.3

v4.30.2

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.30.1...4.30.2

v4.30.1

Compare Source

What's Changed

  • Prevent Tox from hanging with --installpkg sdist due to orphaned build backend by @​vytas7 in #​3530

New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.30.0...4.30.1

v4.30.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.29.0...4.30.0

v4.29.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.28.4...4.29.0

v4.28.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/tox-dev/tox/compare/4.28.3...4.28.4

v4.28.3

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.28.2...4.28.3

v4.28.2

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.28.1...4.28.2

v4.28.1

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.28.0...4.28.1

v4.28.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.27.0...4.28.0

v4.27.0

Compare Source

What's Changed

Full Changelog: https://github.com/tox-dev/tox/compare/4.26.0...4.27.0

python/typing_extensions (typing-extensions)

v4.15.0

Compare Source

No user-facing changes since 4.15.0rc1.

v4.14.1

Compare Source

  • Fix usage of typing_extensions.TypedDict nested inside other types (e.g., typing.Type[typing_extensions.TypedDict]). This is not allowed by the type system but worked on older versions, so we maintain support.

v4.14.0

Compare Source

Changes since 4.14.0rc1:

  • Remove __or__ and __ror__ methods from typing_extensions.Sentinel on Python versions <3.10. PEP 604 was introduced in Python 3.10, and typing_extensions does not generally attempt to backport PEP-604 methods to prior versions.
  • Further update typing_extensions.evaluate_forward_ref with changes in Python 3.14.
uis/devops/continuous-delivery/ci-templates (uis/devops/continuous-delivery/ci-templates)

v7.27.10: 7.27.10

Compare Source

7.27.10 (2026-02-10)
Bug Fixes

v7.27.9: 7.27.9

Compare Source

7.27.9 (2026-02-09)
Bug Fixes

v7.27.8: 7.27.8

Compare Source

7.27.8 (2026-02-05)

v7.27.7: 7.27.7

Compare Source

7.27.7 (2026-02-05)

v7.27.6: 7.27.6

Compare Source

7.27.6 (2026-02-05)
Bug Fixes

v7.27.5: 7.27.5

Compare Source

7.27.5 (2026-02-04)
Bug Fixes

v7.27.4: 7.27.4

Compare Source

7.27.4 (2026-02-04)

v7.27.3: 7.27.3

Compare Source

7.27.3 (2026-02-04)
Bug Fixes

v7.27.2: 7.27.2

Compare Source

7.27.2 (2026-02-03)

v7.27.1: 7.27.1

Compare Source

7.27.1 (2026-02-03)
Bug Fixes

v7.27.0: 7.27.0

Compare Source

7.27.0 (2026-02-02)
Features

v7.26.3: 7.26.3

Compare Source

7.26.3 (2026-02-02)
Bug Fixes

v7.26.2: 7.26.2

Compare Source

7.26.2 (2026-01-29)

v7.26.1: 7.26.1

Compare Source

7.26.1 (2026-01-29)
Bug Fixes

v7.26.0: 7.26.0

Compare Source

7.26.0 (2026-01-28)
Features
  • use gitlab runner cache for pre-commit jobs (fe53b0d)

v7.25.17: 7.25.17

Compare Source

7.25.17 (2026-01-28)
Bug Fixes

v7.25.16: 7.25.16

Compare Source

7.25.16 (2026-01-26)
Bug Fixes

v7.25.15: 7.25.15

Compare Source

7.25.15 (2026-01-22)

v7.25.14: 7.25.14

Compare Source

7.25.14 (2026-01-22)
Bug Fixes

v7.25.13: 7.25.13

Compare Source

7.25.13 (2026-01-19)

v7.25.12: 7.25.12

Compare Source

7.25.12 (2026-01-19)
Bug Fixes

v7.25.11: 7.25.11

Compare Source

7.25.11 (2026-01-15)

Bug Fixes
  • pick up only the first value for the version from the openapi.yaml (857b1dd)

v7.25.10: 7.25.10

Compare Source

7.25.10 (2026-01-14)

Bug Fixes

v7.25.9: 7.25.9

Compare Source

7.25.9 (2026-01-12)
Bug Fixes

v7.25.8: 7.25.8

Compare Source

7.25.8 (2026-01-12)
Bug Fixes

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by uis-devops-renovatebot

Merge request reports

Loading