Skip to content

build(deps): bump the python-deps group with 2 updates - #19

Merged
nikolaos-paximadakis-eea merged 1 commit into
mainfrom
dependabot/uv/python-deps-784568d66d
Dec 1, 2026
Merged

nikolaos-paximadakis-eea merged 1 commit into
mainfrom
dependabot/uv/python-deps-784568d66d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-deps group with 2 updates: httpx and datamodel-code-generator.

Updates httpx from 0.28.1 to 0.29.0

Release notes

Sourced from httpx's releases.

Version 0.29.0 (26 November, 2026)

  • Minimum supported Python version is now 3.10 (#3832)
  • Expose FunctionAuth from the public API. (#3699)
Changelog

Sourced from httpx's changelog.

0.29.0 (26 November, 2026)

  • Minimum supported Python version is now 3.10

Added

  • Expose FunctionAuth from the public API. (#3699)
Commits

Updates datamodel-code-generator from 0.99.0 to 0.104.0

Release notes

Sourced from datamodel-code-generator's releases.

0.104.0

Breaking Changes

Code Generation Changes

  • A module outside an import cycle imports the models of a submodule that its package's forwarded class hides - Where an import cycle merge moves a class into _internal.py and the package init.py only re-exports it (from ._internal import Warn), and _internal.py loads the submodule of the same name (pkg/Warn.py) while the init.py runs, a module that runs after the package wrote from . import Warn with Warn.Detail, which read the class: the module failed to import with AttributeError, and with dataclasses, msgspec or TypedDict every decode or get_type_hints failed. Such a module now imports the model from the submodule (from .Warn import Detail), as --use-exact-imports does and as 0.89.0 does for a package init.py that defines the class. Only those modules change; a module the package loads while it runs keeps its import, and the module attribute report.Warn, which only the import bound, goes away. (#7575, #7443)
  • --use-generic-base-class imports a field typed pydantic.BaseModel or msgspec.Struct - With --use-generic-base-class, a field whose x-python-type names the class the generated base class inherits (pydantic.BaseModel, msgspec.Struct) imported it as _BaseModel_aliased while the generated base class kept naming _BaseModel, which nothing bound, so the module failed with NameError; beside a kept --base-class class named _BaseModel it failed with a TypeError on the method resolution order, and with --generate-schema-validators the helper class came before the generated base class. The import, the field and the generated base class now name one binding: from pydantic import BaseModel as _BaseModel and x: _BaseModel | None, or BaseModel_1 and _BaseModel_aliased where another import takes _BaseModel. A dropped --base-class class named _BaseModel keeps the released output. As the inheritance check now knows what the generated base class inherits, generated bases whose method resolution orders conflict are rejected with the error the same input gives without --use-generic-base-class, and the run writes no module; before, the module with the conflict was written and failed to import with a TypeError, and the modules beside it were written too. (#7577, #7437)
  • --input-model keeps the Python type of a Callable field of a dataclass or TypedDict root, or a class it holds, on the reuse path - A dataclass or TypedDict root, or a dataclass or TypedDict it holds that is generated, on the reuse path (--input-model-ref-strategy reuse-all with held classes, reuse-foreign with a Pydantic generic) wrote a Callable field str (hook: str, or str | None for an Optional one), which refused every valid value: a callable such as abs was rejected and a string such as 'abc' accepted. With --field-include-all-keys the id() of a schema reached the output as x-python-unserializable, a different number on every run. The field now keeps its type (hook: Callable[[int], int]), and --field-include-all-keys writes json_schema_extra={'x-python-type': 'Callable[[int], int]'} as a Pydantic root does, so the model_json_schema() of the generated model holds that key in place of the number. None still parses to None. With --field-include-all-keys a Pydantic dataclass field whose alias is another field's name no longer carries the internal x-datamodel-code-generator-field-name key in its json_schema_extra, as a Pydantic root clears it. Class names, field names and structure stay. A union with another branch keeps int | str there and type[int] keeps Any, and a root the standard schema generator writes keeps its output (value: int for Union[int, Callable], kind: Any for type[int]); the stored outputs of those forms pin them. (#7566, #7435)
  • --input-model generates a dataclass or TypedDict root with a Callable field - A dataclass, Pydantic dataclass or TypedDict root with a field JSON Schema cannot express, such as a Callable or an arbitrary class, in the root or in a class it holds, failed with PydanticInvalidForJsonSchema: Cannot generate a JsonSchema for core_schema.CallableSchema. Such a root now takes the generation of a Pydantic root, so the field keeps its Python type (hook: Callable[[int], int]), a union keeps its Callable branch and type[int] is written Type[int], as a Pydantic root writes them. A Pydantic dataclass read by name, not by alias, writes its aliased Callable field str, as a held class does since 0.101.0. A root the standard schema generator writes is unchanged. (#7566, #7435)
  • A msgspec struct whose generated bases conflict below a configured base class imports - With --output-model-type msgspec.Struct, a model whose allOf joins two generated models whose fields msgspec cannot lay out together was written as a subclass of both when one of them, or a model it inherits from, takes a configured base class (--base-class-map, customBasePath) or a --type-overrides class, and the module failed at import with TypeError: multiple bases have instance lay-out conflict. With --reuse-model, or when the overridden model came first, generation stopped with "has incompatible layouts from generated bases" instead. Such a model is now written as a Struct that declares the fields of its bases itself, as other conflicting joins are since 0.86.0: it keeps its name, its fields and the values it accepts, but it no longer inherits from the generated bases or from the configured classes above them, so isinstance checks and methods of those classes no longer apply to it. A join whose conflicting bases both sit below configured classes, as with a --base-class that every model takes, is written as before. One output that imports moves the same way: a join below a configured class that itself subclasses a generated model of the same output (a user module importing the generated package). A join with a type override on one side and a configured class on the other, which failed at import, now stops with the incompatible-layouts error instead of writing the module. (#7569, #7456)
  • Files with the same name in different subdirectories of a directory input are read in path order - Files with the same name in different subdirectories of a directory input are now read in path order. Before, their order came from the file system, so numbered class names such as Status1 and Status2 could differ between machines or CI runner images. If you generate from such a directory, regenerate once: some numbered names may swap; after that they are the same everywhere. Directory inputs whose files all have different names are read as before. The file that settles the input type of a directory, when the type is not given, is the first of the shallowest files in the same order, so a single top-level file decides as before. No option restores the file system order: it was not the same on two machines. (#7564, #7552)

API/CLI Changes

  • Model hook that names the class bodies a model's annotations are evaluated in - DataModel.annotation_namespaces returns, by field name, the generated bases whose namespace evaluates the annotation of one of the model's class body fields; the ClassVar DataModel.EVALUATES_ANNOTATIONS_IN_BASES (True on the Pydantic dataclass model, False elsewhere) switches it on, so the generated module can alias an import that such a base's class body hides. Nothing is removed or changed. (#7594, #7561)
  • Model types say which run configuration a missing generic base class leaves out - DataModel.config_left_without_generic_base_class returns the run-level configuration items a model type writes but leaves out when --use-generic-base-class has no base class to carry them; the pydantic dataclass returns its ConfigDict items. Nothing is removed or changed. (#7588, #7549)
  • Store operation that records the types a field's hint names from type alias bodies - GenerationStore.record_hint_body_types (with GraphBuilder.record_hint_body_types) records, on a field, its own copies of the types naming a model that its hint writes from type alias bodies, so the module imports them. Nothing is removed or changed. (#7563, #7487)
  • Public method that marks a reference loaded - ModelResolver.mark_loaded marks a reference loaded; the JSON Schema parser marks the references it resolves through it. Nothing is removed or changed. (#7546)
  • Public name for --keep-inherited-dataclass-config - The option adds its config field; nothing is removed or changed. (#7585, #7497, #7560)
  • Public names for --keep-typed-input-model-root-python-types and the 20261127 presets - The option adds its config field and the 20261127 presets add their names; nothing is removed or changed. (#7580, #7565)
  • Layout view field that marks the models a type override replaces - BaseLayoutView takes an optional is_replaced callable: a model it accepts is read as replaced whole, so the layout walk does not follow its generated bases. It defaults to None, so existing views keep their meaning. Nothing is removed or changed. (#7569, #7456)

New Warnings

  • A pydantic dataclass that redeclares an inherited field of another module or a type alias without a pattern Python's re rejects warns - Where a pydantic_v2.dataclass selects python-re for a look-around pattern of a base, it now also redeclares the fields of bases in other modules, and the fields whose type alias holds a pattern Python's re rejects, such as \p{L}, without that pattern, and warns that the field is generated without the constraint, as it does for the fields of the bases of its module. Such a module failed at import before. (#7563, #7487)
  • A pydantic dataclass run with --use-generic-base-class warns about the model configuration it leaves out - --use-generic-base-class writes the run's model configuration (--extra-fields, --allow-extra-fields, --allow-population-by-field-name, --use-attribute-docstrings, a preset that sets one of them) on a shared base class. pydantic_v2.dataclass has no such base class and writes the configuration on each class, so with the flag it wrote none of it. The run now warns, naming the ConfigDict items left out; the generated modules are unchanged. Run without --use-generic-base-class to write the items on each class, or turn warnings into errors with -W error to find such runs. (#7588, #7549)

New Options

  • New option --keep-inherited-dataclass-config (--no-keep-inherited-dataclass-config): pydantic_v2.dataclass output only: a dataclass that writes a config of its own also writes the items of the config its first dataclass base applies that it does not set itself, such as extra='forbid' (ConfigDict(extra='forbid', populate_by_name=True)), as a Pydantic model merges the config of every base. Pydantic applies only the config a dataclass names, so without it such a dataclass stops applying the config of its base, as in 0.103.0, and accepts the extra keys the base rejects. The kept items can select the python-re regex engine of the base for the dataclass's own patterns too: a $ then also accepts a trailing newline, and a pattern Python's re rejects is left out with a warning. A base the dataclass builds with that engine can change too: a second base leaves out a pattern Python's re rejects, and a base with a lone surrogate in a pattern keeps the default engine. A configured base class that the generator does not read (--base-class) gives no items. (#7585, #7497, #7560)
  • New option --keep-typed-input-model-root-python-types (--no-keep-typed-input-model-root-python-types): With --input-model, give a dataclass or TypedDict root the Python types of a Pydantic model root: a union keeps the branches Pydantic's standard JSON Schema drops, such as Callable in int | Callable, and a type[X] field keeps its Python type; without it such a root keeps the forms that standard JSON Schema spells (int, Any) (#7580, #7565)

New Dated Presets

  • standard-py3XX-20261127 and practical-py3XX-20261127: they keep the 20261125 options and add Python types of typed input model roots (--keep-typed-input-model-root-python-types): With --input-model, give a dataclass or TypedDict root the Python types of a Pydantic model root: a union keeps the branches Pydantic's standard JSON Schema drops, such as Callable in int | Callable, and a type[X] field keeps its Python type instead of Any; Inherited dataclass config (--keep-inherited-dataclass-config): A Pydantic dataclass that writes a config of its own keeps the config items of its first dataclass base that it does not set itself, such as extra='forbid'. (#7585, #7580, #7565)

Changes That Need No Action

  • A pydantic dataclass that redeclares an inherited field aliases the import its base's field name shadows - A pydantic dataclass that redeclared a field of its base, in a module whose annotations are strings, failed to import when the annotation loaded a name that the base's class body binds to a field's default, such as user.Address next to the base's field user, date next to a field date, or str next to a field str: pydantic evaluates the annotation in the base's class body and raised a TypeError or an AttributeError. The module now aliases that import as it already did for the fields of the class itself (from . import user as user_aliased, from datetime import date as date_aliased, from builtins import str as str_aliased) and the annotation names the alias. Only modules that failed to import change; class names, field names, bases, field order and parsed values are the same. (#7594, #7561)
  • Result budgets, meta tools, a catalog and tool: false for --client-tools - Experimental: cli-option.client-tools. The tool table gains catalog() and an opt-in max_result_bytes budget, the MCP server an opt-in meta-tool mode (search_tools, get_tool_schema, call_tool) and --max-result-bytes and --meta-tools, and --client-operations a tool member that leaves an operation out of the tools; calls without the new arguments behave as before. Under --untrusted-input the entries of search, search_tools and catalog() no longer list the tags of the document, which changes the output of search from the first release of the tools; a search still ranks and filters by them, and nothing changes without that option. (#7551)
  • A pydantic dataclass that builds inherited patterns with python-re imports when the patterns sit in another module or a type alias - A pydantic_v2.dataclass that selects regex_engine python-re for a lookaround of a base redeclares each inherited field whose pattern Python's re rejects without that pattern, and warns. Fields of a base in another module, and fields whose type alias holds the pattern, were not redeclared, so the module failed at import with re.error: bad escape \p; such a module now imports, naming the models that the copies and the alias bodies they write name from its own module. A dataclass that takes an alias_generator from the config of a base in another module now imports it instead of failing with NameError. (#7563, #7487, #7548)
  • A msgspec struct that declares again a field its keyword-only parent declares again imports - A msgspec struct whose parent is written kw_only=True and declares again a required field of its own base, and which declares that field again itself, is now written kw_only=True too. msgspec puts the parent's keyword-only fields last, so the field followed the defaults the struct inherits, and the module failed at import with TypeError: Required field cannot follow optional fields. (#7550, #7478)

What's Changed

... (truncated)

Commits
  • 49f04eb Alias a module import that an inherited dataclass field name shadows (#7594)
  • 8d8f8b9 Move heki to 0.10.0 (#7578)
  • 2bd5d92 Warn when a generic base class drops a pydantic dataclass's config (#7588)
  • bf568f1 Pair the stored trees a change adds in the record proof (#7590)
  • 35a42cf Keep the config a pydantic dataclass inherits under an option (#7585)
  • 9bdff94 Keep the Python types of typed input model roots under an option (#7580)
  • e4b4afe Keep the newline out of the behaviour gate's write-back test (#7587)
  • ede8772 Name the generic base class's base by its import (#7577)
  • 2c3a047 Drop the record cells that the fixed base listing made equal (#7582)
  • 13c4b02 Import the models of a submodule an init.py forwards (#7575)
  • 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-deps group with 2 updates: [httpx](https://github.com/encode/httpx) and [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator).


Updates `httpx` from 0.28.1 to 0.29.0
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.28.1...0.29.0)

Updates `datamodel-code-generator` from 0.99.0 to 0.104.0
- [Release notes](https://github.com/datamodel-code-generator/datamodel-code-generator/releases)
- [Commits](datamodel-code-generator/datamodel-code-generator@0.99.0...0.104.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-version: 0.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-deps
- dependency-name: datamodel-code-generator
  dependency-version: 0.104.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Dec 1, 2026
@nikolaos-paximadakis-eea
nikolaos-paximadakis-eea merged commit 8527f70 into main Dec 1, 2026
6 checks passed
@dependabot
dependabot Bot deleted the dependabot/uv/python-deps-784568d66d branch December 1, 2026 19: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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant