head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.10.0.2
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.9.0.6
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.9.0.4
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.9.0.2
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.8.0.4
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.2
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.7.0.2
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.5.0.2
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.3.0.2
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.2.0.12
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.10
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.8
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.6
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.4
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.2
	pkgsrc-2022Q3-base:1.2;
locks; strict;
comment	@# @;


1.10
date	2025.12.26.10.49.13;	author adam;	state Exp;
branches;
next	1.9;
commitid	o9WUy6Q4eM5MjUnG;

1.9
date	2025.04.18.12.29.19;	author adam;	state Exp;
branches;
next	1.8;
commitid	sjiph3f9RGtfYwRF;

1.8
date	2024.11.21.06.04.33;	author adam;	state Exp;
branches;
next	1.7;
commitid	JImTY60PIbR2BtyF;

1.7
date	2024.09.07.05.34.24;	author adam;	state Exp;
branches;
next	1.6;
commitid	r6EBFBKEwCPcQPoF;

1.6
date	2024.07.04.11.24.20;	author adam;	state Exp;
branches;
next	1.5;
commitid	bJ4KrlwHUUEMRvgF;

1.5
date	2024.06.12.15.13.50;	author adam;	state Exp;
branches;
next	1.4;
commitid	bWAlIq01raGxQHdF;

1.4
date	2024.04.18.12.26.55;	author adam;	state Exp;
branches;
next	1.3;
commitid	lF3ByfXkt9AQGC6F;

1.3
date	2024.01.31.00.03.49;	author adam;	state Exp;
branches;
next	1.2;
commitid	tRRcTbfJeLHk5xWE;

1.2
date	2022.08.01.18.47.40;	author wiz;	state Exp;
branches;
next	1.1;
commitid	NDi6qBQnqHOVUcOD;

1.1
date	2022.07.24.10.48.25;	author gdt;	state Exp;
branches;
next	;
commitid	Xl8quZSmBIXBw8ND;


desc
@@


1.10
log
@py-pydantic: updated to 2.12.5

2.12.5 (2025-11-26)

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
* Several updates to the documentation
@
text
@@@comment $NetBSD: PLIST,v 1.9 2025/04/18 12:29:19 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/pydantic/__init__.py
${PYSITELIB}/pydantic/__init__.pyc
${PYSITELIB}/pydantic/__init__.pyo
${PYSITELIB}/pydantic/_internal/__init__.py
${PYSITELIB}/pydantic/_internal/__init__.pyc
${PYSITELIB}/pydantic/_internal/__init__.pyo
${PYSITELIB}/pydantic/_internal/_config.py
${PYSITELIB}/pydantic/_internal/_config.pyc
${PYSITELIB}/pydantic/_internal/_config.pyo
${PYSITELIB}/pydantic/_internal/_core_metadata.py
${PYSITELIB}/pydantic/_internal/_core_metadata.pyc
${PYSITELIB}/pydantic/_internal/_core_metadata.pyo
${PYSITELIB}/pydantic/_internal/_core_utils.py
${PYSITELIB}/pydantic/_internal/_core_utils.pyc
${PYSITELIB}/pydantic/_internal/_core_utils.pyo
${PYSITELIB}/pydantic/_internal/_dataclasses.py
${PYSITELIB}/pydantic/_internal/_dataclasses.pyc
${PYSITELIB}/pydantic/_internal/_dataclasses.pyo
${PYSITELIB}/pydantic/_internal/_decorators.py
${PYSITELIB}/pydantic/_internal/_decorators.pyc
${PYSITELIB}/pydantic/_internal/_decorators.pyo
${PYSITELIB}/pydantic/_internal/_decorators_v1.py
${PYSITELIB}/pydantic/_internal/_decorators_v1.pyc
${PYSITELIB}/pydantic/_internal/_decorators_v1.pyo
${PYSITELIB}/pydantic/_internal/_discriminated_union.py
${PYSITELIB}/pydantic/_internal/_discriminated_union.pyc
${PYSITELIB}/pydantic/_internal/_discriminated_union.pyo
${PYSITELIB}/pydantic/_internal/_docs_extraction.py
${PYSITELIB}/pydantic/_internal/_docs_extraction.pyc
${PYSITELIB}/pydantic/_internal/_docs_extraction.pyo
${PYSITELIB}/pydantic/_internal/_fields.py
${PYSITELIB}/pydantic/_internal/_fields.pyc
${PYSITELIB}/pydantic/_internal/_fields.pyo
${PYSITELIB}/pydantic/_internal/_forward_ref.py
${PYSITELIB}/pydantic/_internal/_forward_ref.pyc
${PYSITELIB}/pydantic/_internal/_forward_ref.pyo
${PYSITELIB}/pydantic/_internal/_generate_schema.py
${PYSITELIB}/pydantic/_internal/_generate_schema.pyc
${PYSITELIB}/pydantic/_internal/_generate_schema.pyo
${PYSITELIB}/pydantic/_internal/_generics.py
${PYSITELIB}/pydantic/_internal/_generics.pyc
${PYSITELIB}/pydantic/_internal/_generics.pyo
${PYSITELIB}/pydantic/_internal/_git.py
${PYSITELIB}/pydantic/_internal/_git.pyc
${PYSITELIB}/pydantic/_internal/_git.pyo
${PYSITELIB}/pydantic/_internal/_import_utils.py
${PYSITELIB}/pydantic/_internal/_import_utils.pyc
${PYSITELIB}/pydantic/_internal/_import_utils.pyo
${PYSITELIB}/pydantic/_internal/_internal_dataclass.py
${PYSITELIB}/pydantic/_internal/_internal_dataclass.pyc
${PYSITELIB}/pydantic/_internal/_internal_dataclass.pyo
${PYSITELIB}/pydantic/_internal/_known_annotated_metadata.py
${PYSITELIB}/pydantic/_internal/_known_annotated_metadata.pyc
${PYSITELIB}/pydantic/_internal/_known_annotated_metadata.pyo
${PYSITELIB}/pydantic/_internal/_mock_val_ser.py
${PYSITELIB}/pydantic/_internal/_mock_val_ser.pyc
${PYSITELIB}/pydantic/_internal/_mock_val_ser.pyo
${PYSITELIB}/pydantic/_internal/_model_construction.py
${PYSITELIB}/pydantic/_internal/_model_construction.pyc
${PYSITELIB}/pydantic/_internal/_model_construction.pyo
${PYSITELIB}/pydantic/_internal/_namespace_utils.py
${PYSITELIB}/pydantic/_internal/_namespace_utils.pyc
${PYSITELIB}/pydantic/_internal/_namespace_utils.pyo
${PYSITELIB}/pydantic/_internal/_repr.py
${PYSITELIB}/pydantic/_internal/_repr.pyc
${PYSITELIB}/pydantic/_internal/_repr.pyo
${PYSITELIB}/pydantic/_internal/_schema_gather.py
${PYSITELIB}/pydantic/_internal/_schema_gather.pyc
${PYSITELIB}/pydantic/_internal/_schema_gather.pyo
${PYSITELIB}/pydantic/_internal/_schema_generation_shared.py
${PYSITELIB}/pydantic/_internal/_schema_generation_shared.pyc
${PYSITELIB}/pydantic/_internal/_schema_generation_shared.pyo
${PYSITELIB}/pydantic/_internal/_serializers.py
${PYSITELIB}/pydantic/_internal/_serializers.pyc
${PYSITELIB}/pydantic/_internal/_serializers.pyo
${PYSITELIB}/pydantic/_internal/_signature.py
${PYSITELIB}/pydantic/_internal/_signature.pyc
${PYSITELIB}/pydantic/_internal/_signature.pyo
${PYSITELIB}/pydantic/_internal/_typing_extra.py
${PYSITELIB}/pydantic/_internal/_typing_extra.pyc
${PYSITELIB}/pydantic/_internal/_typing_extra.pyo
${PYSITELIB}/pydantic/_internal/_utils.py
${PYSITELIB}/pydantic/_internal/_utils.pyc
${PYSITELIB}/pydantic/_internal/_utils.pyo
${PYSITELIB}/pydantic/_internal/_validate_call.py
${PYSITELIB}/pydantic/_internal/_validate_call.pyc
${PYSITELIB}/pydantic/_internal/_validate_call.pyo
${PYSITELIB}/pydantic/_internal/_validators.py
${PYSITELIB}/pydantic/_internal/_validators.pyc
${PYSITELIB}/pydantic/_internal/_validators.pyo
${PYSITELIB}/pydantic/_migration.py
${PYSITELIB}/pydantic/_migration.pyc
${PYSITELIB}/pydantic/_migration.pyo
${PYSITELIB}/pydantic/alias_generators.py
${PYSITELIB}/pydantic/alias_generators.pyc
${PYSITELIB}/pydantic/alias_generators.pyo
${PYSITELIB}/pydantic/aliases.py
${PYSITELIB}/pydantic/aliases.pyc
${PYSITELIB}/pydantic/aliases.pyo
${PYSITELIB}/pydantic/annotated_handlers.py
${PYSITELIB}/pydantic/annotated_handlers.pyc
${PYSITELIB}/pydantic/annotated_handlers.pyo
${PYSITELIB}/pydantic/class_validators.py
${PYSITELIB}/pydantic/class_validators.pyc
${PYSITELIB}/pydantic/class_validators.pyo
${PYSITELIB}/pydantic/color.py
${PYSITELIB}/pydantic/color.pyc
${PYSITELIB}/pydantic/color.pyo
${PYSITELIB}/pydantic/config.py
${PYSITELIB}/pydantic/config.pyc
${PYSITELIB}/pydantic/config.pyo
${PYSITELIB}/pydantic/dataclasses.py
${PYSITELIB}/pydantic/dataclasses.pyc
${PYSITELIB}/pydantic/dataclasses.pyo
${PYSITELIB}/pydantic/datetime_parse.py
${PYSITELIB}/pydantic/datetime_parse.pyc
${PYSITELIB}/pydantic/datetime_parse.pyo
${PYSITELIB}/pydantic/decorator.py
${PYSITELIB}/pydantic/decorator.pyc
${PYSITELIB}/pydantic/decorator.pyo
${PYSITELIB}/pydantic/deprecated/__init__.py
${PYSITELIB}/pydantic/deprecated/__init__.pyc
${PYSITELIB}/pydantic/deprecated/__init__.pyo
${PYSITELIB}/pydantic/deprecated/class_validators.py
${PYSITELIB}/pydantic/deprecated/class_validators.pyc
${PYSITELIB}/pydantic/deprecated/class_validators.pyo
${PYSITELIB}/pydantic/deprecated/config.py
${PYSITELIB}/pydantic/deprecated/config.pyc
${PYSITELIB}/pydantic/deprecated/config.pyo
${PYSITELIB}/pydantic/deprecated/copy_internals.py
${PYSITELIB}/pydantic/deprecated/copy_internals.pyc
${PYSITELIB}/pydantic/deprecated/copy_internals.pyo
${PYSITELIB}/pydantic/deprecated/decorator.py
${PYSITELIB}/pydantic/deprecated/decorator.pyc
${PYSITELIB}/pydantic/deprecated/decorator.pyo
${PYSITELIB}/pydantic/deprecated/json.py
${PYSITELIB}/pydantic/deprecated/json.pyc
${PYSITELIB}/pydantic/deprecated/json.pyo
${PYSITELIB}/pydantic/deprecated/parse.py
${PYSITELIB}/pydantic/deprecated/parse.pyc
${PYSITELIB}/pydantic/deprecated/parse.pyo
${PYSITELIB}/pydantic/deprecated/tools.py
${PYSITELIB}/pydantic/deprecated/tools.pyc
${PYSITELIB}/pydantic/deprecated/tools.pyo
${PYSITELIB}/pydantic/env_settings.py
${PYSITELIB}/pydantic/env_settings.pyc
${PYSITELIB}/pydantic/env_settings.pyo
${PYSITELIB}/pydantic/error_wrappers.py
${PYSITELIB}/pydantic/error_wrappers.pyc
${PYSITELIB}/pydantic/error_wrappers.pyo
${PYSITELIB}/pydantic/errors.py
${PYSITELIB}/pydantic/errors.pyc
${PYSITELIB}/pydantic/errors.pyo
${PYSITELIB}/pydantic/experimental/__init__.py
${PYSITELIB}/pydantic/experimental/__init__.pyc
${PYSITELIB}/pydantic/experimental/__init__.pyo
${PYSITELIB}/pydantic/experimental/arguments_schema.py
${PYSITELIB}/pydantic/experimental/arguments_schema.pyc
${PYSITELIB}/pydantic/experimental/arguments_schema.pyo
${PYSITELIB}/pydantic/experimental/missing_sentinel.py
${PYSITELIB}/pydantic/experimental/missing_sentinel.pyc
${PYSITELIB}/pydantic/experimental/missing_sentinel.pyo
${PYSITELIB}/pydantic/experimental/pipeline.py
${PYSITELIB}/pydantic/experimental/pipeline.pyc
${PYSITELIB}/pydantic/experimental/pipeline.pyo
${PYSITELIB}/pydantic/fields.py
${PYSITELIB}/pydantic/fields.pyc
${PYSITELIB}/pydantic/fields.pyo
${PYSITELIB}/pydantic/functional_serializers.py
${PYSITELIB}/pydantic/functional_serializers.pyc
${PYSITELIB}/pydantic/functional_serializers.pyo
${PYSITELIB}/pydantic/functional_validators.py
${PYSITELIB}/pydantic/functional_validators.pyc
${PYSITELIB}/pydantic/functional_validators.pyo
${PYSITELIB}/pydantic/generics.py
${PYSITELIB}/pydantic/generics.pyc
${PYSITELIB}/pydantic/generics.pyo
${PYSITELIB}/pydantic/json.py
${PYSITELIB}/pydantic/json.pyc
${PYSITELIB}/pydantic/json.pyo
${PYSITELIB}/pydantic/json_schema.py
${PYSITELIB}/pydantic/json_schema.pyc
${PYSITELIB}/pydantic/json_schema.pyo
${PYSITELIB}/pydantic/main.py
${PYSITELIB}/pydantic/main.pyc
${PYSITELIB}/pydantic/main.pyo
${PYSITELIB}/pydantic/mypy.py
${PYSITELIB}/pydantic/mypy.pyc
${PYSITELIB}/pydantic/mypy.pyo
${PYSITELIB}/pydantic/networks.py
${PYSITELIB}/pydantic/networks.pyc
${PYSITELIB}/pydantic/networks.pyo
${PYSITELIB}/pydantic/parse.py
${PYSITELIB}/pydantic/parse.pyc
${PYSITELIB}/pydantic/parse.pyo
${PYSITELIB}/pydantic/plugin/__init__.py
${PYSITELIB}/pydantic/plugin/__init__.pyc
${PYSITELIB}/pydantic/plugin/__init__.pyo
${PYSITELIB}/pydantic/plugin/_loader.py
${PYSITELIB}/pydantic/plugin/_loader.pyc
${PYSITELIB}/pydantic/plugin/_loader.pyo
${PYSITELIB}/pydantic/plugin/_schema_validator.py
${PYSITELIB}/pydantic/plugin/_schema_validator.pyc
${PYSITELIB}/pydantic/plugin/_schema_validator.pyo
${PYSITELIB}/pydantic/py.typed
${PYSITELIB}/pydantic/root_model.py
${PYSITELIB}/pydantic/root_model.pyc
${PYSITELIB}/pydantic/root_model.pyo
${PYSITELIB}/pydantic/schema.py
${PYSITELIB}/pydantic/schema.pyc
${PYSITELIB}/pydantic/schema.pyo
${PYSITELIB}/pydantic/tools.py
${PYSITELIB}/pydantic/tools.pyc
${PYSITELIB}/pydantic/tools.pyo
${PYSITELIB}/pydantic/type_adapter.py
${PYSITELIB}/pydantic/type_adapter.pyc
${PYSITELIB}/pydantic/type_adapter.pyo
${PYSITELIB}/pydantic/types.py
${PYSITELIB}/pydantic/types.pyc
${PYSITELIB}/pydantic/types.pyo
${PYSITELIB}/pydantic/typing.py
${PYSITELIB}/pydantic/typing.pyc
${PYSITELIB}/pydantic/typing.pyo
${PYSITELIB}/pydantic/utils.py
${PYSITELIB}/pydantic/utils.pyc
${PYSITELIB}/pydantic/utils.pyo
${PYSITELIB}/pydantic/v1/__init__.py
${PYSITELIB}/pydantic/v1/__init__.pyc
${PYSITELIB}/pydantic/v1/__init__.pyo
${PYSITELIB}/pydantic/v1/_hypothesis_plugin.py
${PYSITELIB}/pydantic/v1/_hypothesis_plugin.pyc
${PYSITELIB}/pydantic/v1/_hypothesis_plugin.pyo
${PYSITELIB}/pydantic/v1/annotated_types.py
${PYSITELIB}/pydantic/v1/annotated_types.pyc
${PYSITELIB}/pydantic/v1/annotated_types.pyo
${PYSITELIB}/pydantic/v1/class_validators.py
${PYSITELIB}/pydantic/v1/class_validators.pyc
${PYSITELIB}/pydantic/v1/class_validators.pyo
${PYSITELIB}/pydantic/v1/color.py
${PYSITELIB}/pydantic/v1/color.pyc
${PYSITELIB}/pydantic/v1/color.pyo
${PYSITELIB}/pydantic/v1/config.py
${PYSITELIB}/pydantic/v1/config.pyc
${PYSITELIB}/pydantic/v1/config.pyo
${PYSITELIB}/pydantic/v1/dataclasses.py
${PYSITELIB}/pydantic/v1/dataclasses.pyc
${PYSITELIB}/pydantic/v1/dataclasses.pyo
${PYSITELIB}/pydantic/v1/datetime_parse.py
${PYSITELIB}/pydantic/v1/datetime_parse.pyc
${PYSITELIB}/pydantic/v1/datetime_parse.pyo
${PYSITELIB}/pydantic/v1/decorator.py
${PYSITELIB}/pydantic/v1/decorator.pyc
${PYSITELIB}/pydantic/v1/decorator.pyo
${PYSITELIB}/pydantic/v1/env_settings.py
${PYSITELIB}/pydantic/v1/env_settings.pyc
${PYSITELIB}/pydantic/v1/env_settings.pyo
${PYSITELIB}/pydantic/v1/error_wrappers.py
${PYSITELIB}/pydantic/v1/error_wrappers.pyc
${PYSITELIB}/pydantic/v1/error_wrappers.pyo
${PYSITELIB}/pydantic/v1/errors.py
${PYSITELIB}/pydantic/v1/errors.pyc
${PYSITELIB}/pydantic/v1/errors.pyo
${PYSITELIB}/pydantic/v1/fields.py
${PYSITELIB}/pydantic/v1/fields.pyc
${PYSITELIB}/pydantic/v1/fields.pyo
${PYSITELIB}/pydantic/v1/generics.py
${PYSITELIB}/pydantic/v1/generics.pyc
${PYSITELIB}/pydantic/v1/generics.pyo
${PYSITELIB}/pydantic/v1/json.py
${PYSITELIB}/pydantic/v1/json.pyc
${PYSITELIB}/pydantic/v1/json.pyo
${PYSITELIB}/pydantic/v1/main.py
${PYSITELIB}/pydantic/v1/main.pyc
${PYSITELIB}/pydantic/v1/main.pyo
${PYSITELIB}/pydantic/v1/mypy.py
${PYSITELIB}/pydantic/v1/mypy.pyc
${PYSITELIB}/pydantic/v1/mypy.pyo
${PYSITELIB}/pydantic/v1/networks.py
${PYSITELIB}/pydantic/v1/networks.pyc
${PYSITELIB}/pydantic/v1/networks.pyo
${PYSITELIB}/pydantic/v1/parse.py
${PYSITELIB}/pydantic/v1/parse.pyc
${PYSITELIB}/pydantic/v1/parse.pyo
${PYSITELIB}/pydantic/v1/py.typed
${PYSITELIB}/pydantic/v1/schema.py
${PYSITELIB}/pydantic/v1/schema.pyc
${PYSITELIB}/pydantic/v1/schema.pyo
${PYSITELIB}/pydantic/v1/tools.py
${PYSITELIB}/pydantic/v1/tools.pyc
${PYSITELIB}/pydantic/v1/tools.pyo
${PYSITELIB}/pydantic/v1/types.py
${PYSITELIB}/pydantic/v1/types.pyc
${PYSITELIB}/pydantic/v1/types.pyo
${PYSITELIB}/pydantic/v1/typing.py
${PYSITELIB}/pydantic/v1/typing.pyc
${PYSITELIB}/pydantic/v1/typing.pyo
${PYSITELIB}/pydantic/v1/utils.py
${PYSITELIB}/pydantic/v1/utils.pyc
${PYSITELIB}/pydantic/v1/utils.pyo
${PYSITELIB}/pydantic/v1/validators.py
${PYSITELIB}/pydantic/v1/validators.pyc
${PYSITELIB}/pydantic/v1/validators.pyo
${PYSITELIB}/pydantic/v1/version.py
${PYSITELIB}/pydantic/v1/version.pyc
${PYSITELIB}/pydantic/v1/version.pyo
${PYSITELIB}/pydantic/validate_call_decorator.py
${PYSITELIB}/pydantic/validate_call_decorator.pyc
${PYSITELIB}/pydantic/validate_call_decorator.pyo
${PYSITELIB}/pydantic/validators.py
${PYSITELIB}/pydantic/validators.pyc
${PYSITELIB}/pydantic/validators.pyo
${PYSITELIB}/pydantic/version.py
${PYSITELIB}/pydantic/version.pyc
${PYSITELIB}/pydantic/version.pyo
${PYSITELIB}/pydantic/warnings.py
${PYSITELIB}/pydantic/warnings.pyc
${PYSITELIB}/pydantic/warnings.pyo
@


1.9
log
@py-pydantic: updated to 2.11.3

2.11.3

Packaging

Update V1 copy to v1.10.21

Fixes

Preserve field description when rebuilding model fields


2.11.2

Fixes

Bump pydantic-core to v2.33.1
Make sure __pydantic_private__ exists before setting private attributes
Do not override FieldInfo._complete when using field from parent class
Provide the available definitions when applying discriminated unions
Do not expand root type in the mypy plugin for variables
Mention the attribute name in model fields deprecation message
Properly validate parameterized mappings


2.11.1

Fixes

Do not override 'definitions-ref' schemas containing serialization schemas or metadata
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.8 2024/11/21 06:04:33 adam Exp $
d165 3
@


1.8
log
@py-pydantic: updted to 2.10.0

v2.10.0

Packaging

* Bump `pydantic-core` to `v2.27.0`
* Replaced pdm with uv

New Features

* Support `fractions.Fraction`
* Support `Hashable` for json validation
* Add a `SocketPath` type for `linux` systems
* Allow arbitrary refs in JSON schema `examples`
* Support `defer_build` for Pydantic dataclasses
* Adding v1 / v2 incompatibility warning for nested v1 model
* Add support for unpacked `TypedDict` to type hint variadic keyword arguments with `@@validate_call`
* Support compiled patterns in `protected_namespaces`
* Add support for `propertyNames` in JSON schema
* Adding `__replace__` protocol for Python 3.13+ support
* Expose public `sort` method for JSON schema generation
* Add runtime validation of `@@validate_call` callable argument
* Add `experimental_allow_partial` support
* Support default factories taking validated data as an argument
* Allow subclassing `ValidationError` and `PydanticCustomError`
* Add `trailing-strings` support to `experimental_allow_partial`
* Add `rebuild()` method for `TypeAdapter` and simplify `defer_build` patterns
* Improve `TypeAdapter` instance repr

Changes

* Don't allow customization of `SchemaGenerator` until interface is more stable
* Cleanly `defer_build` on `TypeAdapters`, removing experimental flag
* Fix `mro` of generic subclass
* Strip whitespaces on JSON Schema title generation
* Use `b64decode` and `b64encode` for `Base64Bytes` type
* Relax protected namespace config default
* Revalidate parametrized generics if instance's origin is subclass of OG class
* Warn if configuration is specified on the `@@dataclass` decorator and with the `__pydantic_config__` attribute
* Recommend against using `Ellipsis` (...) with `Field`
* Migrate to subclassing instead of annotated approach for pydantic url types
* Change JSON schema generation of `Literal`s and `Enums`
* Simplify unions involving `Any` or `Never` when replacing type variables
* Do not require padding when decoding `base64` bytes
* Support dates all the way to 1BC

Performance

* Schema cleaning: skip unnecessary copies during schema walking
* Refactor namespace logic for annotations evaluation
* Improve email regexp on edge cases
* `CoreMetadata` refactor with an emphasis on documentation, schema build time performance, and reducing complexity

Fixes

* Remove guarding check on `computed_field` with `field_serializer`
* Fix `Predicate` issue in `v2.9.0`
* Fixing `annotated-types` bound
* Turn `tzdata` install requirement into optional `timezone` dependency
* Use correct types namespace when building `namedtuple` core schemas
* Fix evaluation of stringified annotations during namespace inspection
* Fix `IncEx` type alias definition
* Do not error when trying to evaluate annotations of private attributes
* Fix nested type statement
* Improve typing of `ModelMetaclass.mro`
* Fix class access of deprecated `computed_field`s
* Make sure `inspect.iscoroutinefunction` works on coroutines decorated with `@@validate_call`
* Fix `NameError` when using `validate_call` with PEP 695 on a class
* Fix `ZoneInfo` with various invalid types
* Fix `PydanticUserError` on empty `model_config` with annotations
* Fix variance issue in `_IncEx` type alias, only allow `True`
* Fix serialization schema generation when using `PlainValidator`
* Fix schema generation error when serialization schema holds references
* Inline references if possible when generating schema for `json_schema_input_type`
* Fix recursive arguments in `Representation`
* Fix representation for builtin function types
* Add python validators for decimal constraints (`max_digits` and `decimal_places`)
* Only fetch `__pydantic_core_schema__` from the current class during schema generation
* Fix `stacklevel` on deprecation warnings for `BaseModel`
* Fix warning `stacklevel` in `BaseModel.__init__`
* Improve error handling for in-evaluable refs for discriminator application
* Change the signature of `ConfigWrapper.core_config` to take the title directly
* Do not use the previous config from the stack for dataclasses without config
* Fix serialization for IP types with `mode='python'`
* Support constraint application for `Base64Etc` types
* Fix `validate_call` ignoring `Field` in `Annotated`
* Raise an error when `Self` is invalid
* Using `core_schema.InvalidSchema` instead of metadata injection + checks
* Tweak type alias logic
* Support usage of `type` with `typing.Self` and type aliases
* Use overloads for `Field` and `PrivateAttr` functions
* Clean up the `mypy` plugin implementation
* Properly check for `typing_extensions` variant of `TypeAliasType`
* Allow any mapping in `BaseModel.model_copy()`
* Fix `isinstance` behavior for urls
* Ensure `cached_property` can be set on Pydantic models
* Fix equality checks for primitives in literals
* Properly enforce `host_required` for URLs
* Fix when `coerce_numbers_to_str` enabled and string has invalid Unicode character
* Fix serializing `complex` values in `Enum`s
* Refactor `_typing_extra` module
* Support intuitive equality for urls
* Add `bytearray` to `TypeAdapter.validate_json` signature
* Ensure class access of method descriptors is performed when used as a default with `Field`
* Fix circular import with `validate_call`
* Fix error when using type aliases referencing other type aliases
* Fix `IncEx` type alias to be compatible with mypy
* Make `__signature__` a lazy property, do not deepcopy defaults
* Make `__signature__` lazy for dataclasses, too
* Subclass all single host url classes from `AnyUrl` to preserve behavior from v2.9
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.7 2024/09/07 05:34:24 adam Exp $
d72 3
a83 3
${PYSITELIB}/pydantic/_internal/_std_types_schema.py
${PYSITELIB}/pydantic/_internal/_std_types_schema.pyc
${PYSITELIB}/pydantic/_internal/_std_types_schema.pyo
d162 3
@


1.7
log
@py-pydantic: updated to 2.9.0

v2.9.0 (2024-09-05)

Packaging

* Bump `ruff` to `v0.5.0` and `pyright` to `v1.1.369`
* Bump `pydantic-extra-types` to `v2.9.0`
* Support compatibility with `pdm v2.18.1`
* Bump `v1` version stub to `v1.10.18`
* Bump `pydantic-core` to `v2.23.2`

New Features

* Add support for `ZoneInfo`
* Add `Config.val_json_bytes`
* Add DSN for Snowflake
* Support `complex` number
* Add support for `annotated_types.Not`
* Allow `WithJsonSchema` to inject `$ref`s w/ `http` or `https` links
* Allow validators to customize validation JSON schema
* Support parametrized `PathLike` types
* Add tagged union serializer that attempts to use `str` or `callable` discriminators to select the correct serializer

Changes

* Breaking Change: Merge `dict` type `json_schema_extra`
 * For more info (how to replicate old behavior) on this change, see [here](https://docs.pydantic.dev/dev/concepts/json_schema/#merging-json_schema_extra)
* Refactor annotation injection for known (often generic) types
* Move annotation compatibility errors to validation phase
* Improve runtime errors for string constraints like `pattern` for incompatible types
* Remove `'allOf'` JSON schema workarounds
* Remove `typed_dict_cls` data from `CoreMetadata`
* Deprecate passing a dict to the `Examples` class
* Remove `initial_metadata` from internal metadata construct
* Use `re.Pattern.search` instead of `re.Pattern.match` for consistency with `rust` behavior
* Show value of wrongly typed data in `pydantic-core` serialization warning
* Breaking Change: in `pydantic-core`, change `metadata` type hint in core schemas from `Any` -> `Dict[str, Any] | None`
* Raise helpful warning when `self` isn't returned from model validator

Performance

* Initial start at improving import times for modules, using caching primarily
* Using cached internal import for `BaseModel`
* Simplify internal generics logic - remove generator overhead
* Remove default module globals from types namespace
* Performance boost: skip caching parent namespaces in most cases
* Update ns stack with already copied ns
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.6 2024/07/04 11:24:20 adam Exp $
d66 3
@


1.6
log
@py-pydantic: updated to 2.8.2

v2.8.2

Fixes

Fix issue with assertion caused by pluggable schema validator


v2.8.1

Packaging

Bump ruff to v0.5.0 and pyright to v1.1.369
Bump pydantic-core to v2.20.1, pydantic-extra-types to v2.9.0

Fixes

Fix breaking change in to_snake from v2.7 -> v2.8
Fix list constraint json schema application
Support time duration more than 23
Fix millisecond fraction being handled with the wrong scale
Handle negative fractional durations correctly


v2.8.0

Packaging

Update citation version automatically with new releases
Bump pyright to v1.1.367 and add type checking tests for pipeline API
Update pydantic.v1 stub to v1.10.17
General package updates to prep for v2.8.0b1
Bump pydantic-core to v2.20.0
Add support for Python 3.13
Update pdm version used for pdm.lock to v2.16.1
Update to ruff v0.4.8

New Features

Experimental: support defer_build for TypeAdapter
Implement deprecated field in json schema
Experimental: Add pipeline API
Add support for programmatic title generation
Implement fail_fast feature
Add ser_json_inf_nan='strings' mode to produce valid JSON

Changes

Add warning when "alias" is set in ignored Annotated field
Support serialization of some serializable defaults in JSON schema
Relax type specification for __validators__ values in create_model
Breaking Change: Improve smart union matching logic
You can read more about our smart union matching logic here. In some cases, if the old behavior
is desired, you can switch to left-to-right mode and change the order of your Union members.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.5 2024/06/12 15:13:50 adam Exp $
d51 3
d72 3
@


1.5
log
@py-pydantic: updated to 2.7.4

v2.7.4 (2024-06-12)

Packaging

* Bump `pydantic.v1` to `v1.10.16` reference

Fixes

* Specify `recursive_guard` as kwarg in `FutureRef._evaluate`
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2024/04/18 12:26:55 adam Exp $
d150 6
@


1.4
log
@py-pydantic: updated to 2.7.0

v2.7.0 (2024-04-11)

Packaging

* Reorganize `pyproject.toml` sections
* Bump `pydantic-core` to `v2.18.1`
* Adopt `jiter` `v0.2.0`

New Features

* Extract attribute docstrings from `FieldInfo.description`
* Add a `with_config` decorator to comply with typing spec
* Allow an optional separator splitting the value and unit of the result of `ByteSize.human_readable`
* Add generic `Secret` base type
* Make use of `Sphinx` inventories for cross references in docs
* Add environment variable to disable plugins
* Add support for `deprecated` fields
* Allow `field_serializer('*')`
* Handle a case when `model_config` is defined as a model property
* Update `create_model()` to support `typing.Annotated` as input
* Add `ClickhouseDsn` support
* Add support for `re.Pattern[str]` to `pattern` field
* Support for `serialize_as_any` runtime setting
* Add support for `typing.Self`
* Ability to pass `context` to serialization
* Add feedback widget to docs with flarelytics integration
* Support for parsing partial JSON strings in Python

**Finalized in v2.7.0, rather than v2.7.0b1:**
* Add support for field level number to str coercion option
* Update `warnings` parameter for serialization utilities to allow raising a warning

Changes

* Correct docs, logic for `model_construct` behavior with `extra`
* Improve error message for improper `RootModel` subclasses
* Use `PEP570` syntax
* Add `enum` and `type` to the JSON schema for single item literals
* Deprecate `update_json_schema` internal function
* Serialize duration to hour minute second, instead of just seconds
* Trimming str before parsing to int and float

Performance

* `enum` validator improvements
* Move `enum` validation and serialization to Rust
* Improve schema generation for nested dataclasses
* Fast path for ASCII python string creation in JSON
* SIMD integer and string JSON parsing on `aarch64`(**Note:** SIMD on x86 will be implemented in a future release)
* Support JSON `Cow<str>` from `jiter`
* MAJOR performance improvement: update to PyO3 0.21 final
* cache Python strings

Fixes

* Fix strict parsing for some `Sequence`s
* Add a check on the existence of `__qualname__`
* Handle `__pydantic_extra__` annotation being a string or inherited
* Fix json validation for `NameEmail`
* Fix type-safety of attribute access in `BaseModel`
* Fix bug with `mypy` plugin and `no_strict_optional = True`
* Fix `ByteSize` error `type` change
* Fix inheriting annotations in dataclasses
* Fix regression in core schema generation for indirect definition references
* Fix unsupported types bug with plain validator
* Reverting problematic fix from 2.6 release, fixing schema building bug
* fixes `__pydantic_config__` ignored for TypeDict
* Fix test failures with `pytest v8.0.0` due to `pytest.warns()` starting to work inside `pytest.raises()`
* Use `is_valid_field` from 1.x for `mypy` plugin
* Better-support `mypy` strict equality flag
* model_json_schema export with Annotated types misses 'required' parameters
* Fix default inclusion in `FieldInfo.__repr_args__`
* Fix resolution of forward refs in dataclass base classes that are not present in the subclass module namespace
* Fix `BaseModel` type annotations to be resolvable by `typing.get_type_hints`
* Fix: allow empty string aliases with `AliasGenerator`
* Fix test along with `date` -> `datetime` timezone assumption fix
* Fix deprecation warning with usage of `ast.Str`
* Add missing `deprecated` decorators
* Fix serialization of `NameEmail` if name includes an email address
* Add information about class in error message of schema generation
* Make `TypeAdapter`'s typing compatible with special forms
* Fix issue with config behavior being baked into the ref schema for `enum`s
* More helpful error re wrong `model_json_schema` usage
* Fix nested discriminated union schema gen, pt 2
* Fix schema build for nested dataclasses / TypedDicts with discriminators
* Remove unnecessary logic for definitions schema gen with discriminated unions
* Fix handling of optionals in `mypy` plugin
* Fix `PlainSerializer` usage with std type constructor
* Remove unnecessary warning for config in plugin
* Fix default value serializing
* Fix extra fields check in `Model.__getattr__()`
* Fix `ClassVar` forward ref inherited from parent class
* fix sequence like validator with strict `True`
* Improve warning message when a field name shadows a field in a parent model
* Do not warn about shadowed fields if they are not redefined in a child class
* Fix discriminated union bug with unsubstituted type var
* Support serialization of `deque` when passed to `Sequence[blah blah blah]`
* Init private attributes from super-types in `model_post_init`
* fix `model_construct` with `validation_alias`
* Ensure json-schema generator handles `Literal` `null` types
* **Fixed in v2.7.0**: Fix allow extra generic
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.3 2024/01/31 00:03:49 adam Exp $
a283 3
${PYSITELIB}/pydantic/v1/v1.py
${PYSITELIB}/pydantic/v1/v1.pyc
${PYSITELIB}/pydantic/v1/v1.pyo
@


1.3
log
@py-pydantic: updated to 2.6.0

v2.6.0 (2024-01-23)

The code released in v2.6.0 is practically identical to that of v2.6.0b1.

What's Changed

Packaging

* Check for `email-validator` version >= 2.0
* Upgrade `ruff`` target version to Python 3.8
* Update to `pydantic-extra-types==2.4.1`
* Update to `pyright==1.1.345`
* Update pydantic-core from 2.14.6 to 2.16.1, significant changes from these updates are described below, full changelog [here](https://github.com/pydantic/pydantic-core/compare/v2.14.6...v2.16.1)

New Features

* Add `NatsDsn`
* Add `ConfigDict.ser_json_inf_nan`
* Add `types.OnErrorOmit`
* Support `AliasGenerator` usage
* Add Pydantic People Page to docs
* Support `yyyy-MM-DD` datetime parsing
* Added bits conversions to the `ByteSize`
* Enable json schema creation with type `ByteSize`
* Add `eval_type_backport` to handle union operator and builtin generic subscripting in older Pythons
* Add support for `dataclass` fields `init`
* Implement pickling for `ValidationError`
* Add unified tuple validator that can handle "variadic" tuples via PEP-646

Changes

* Drop Python3.7 support
* Drop Python 3.7, and PyPy 3.7 and 3.8
* Use positional-only `self` in `BaseModel` constructor, so no field name can ever conflict with it
* Make `@@validate_call` return a function instead of a custom descriptor - fixes binding issue with inheritance and adds `self/cls` argument to validation errors
* Exclude `BaseModel` docstring from JSON schema description
* Introducing `classproperty` decorator for `model_computed_fields`
* Explicitly raise an error if field names clashes with types
* Use stricter serializer for unions of simple types

Performance

* Add Codspeed profiling Actions workflow
* Improve `int` extraction
* Improve performance of recursion guard
* `dataclass` serialization speedups
* Avoid `HashMap` creation when looking up small JSON objects in `LazyIndexMaps`
* use hashbrown to speedup python string caching
* Replace `Peak` with more efficient `Peek`

Fixes

* Move `getattr` warning in deprecated `BaseConfig`
* Only hash `model_fields`, not whole `__dict__`
* Fix mishandling of unions while freezing types in the `mypy` plugin
* Fix `mypy` error on untyped `ClassVar`
* Only compare pydantic fields in `BaseModel.__eq__` instead of whole `__dict__`
* Update `strict` docstring in `model_validate` method.
* Fix overload position of `computed_field`
* Fix custom type type casting used in multiple attributes
* Fix issue not allowing `validate_call` decorator to be dynamically assigned to a class method
* Fix issue `unittest.mock` deprecation warnings
* Added tests for the case `JsonValue` contains subclassed primitive values
* Fix `mypy` error on free before validator (classmethod)
* Fix `to_snake` conversion
* Fix type annotation of `ModelMetaclass.__prepare__`
* Disallow `config` specification when initializing a `TypeAdapter` when the annotated type has config already
* Fix a naming issue with JSON schema for generics parametrized by recursive type aliases
* Fix type annotation in pydantic people script
* Add support for field `alias` in `dataclass` signature
* Fix bug with schema generation with `Field(...)` in a forward ref
* Fix ordering of keys in `__dict__` with `model_construct` call
* Fix module `path_type` creation when globals does not contain `__name__`
* Fix for namespace issue with dataclasses with `from __future__ import annotations`
* Fix: make function validator types positional-only
* Fix usage of `@@deprecated`
* Add more support for private attributes in `model_construct` call
* Use a stack for the types namespace
* Fix schema-building bug with `TypeAliasType` for types with refs
* Support `pydantic.Field(repr=False)` in dataclasses
* Override `dataclass_transform` behavior for `RootModel`
* Refactor signature generation for simplicity
* Fix ordering bug of PlainValidator annotation
* Fix `exclude_none` for json serialization of `computed_field`s
* Support yyyy-MM-DD string for datetimes
* Tweak ordering of definitions in generated schemas
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.2 2022/08/01 18:47:40 wiz Exp $
d33 3
d284 3
@


1.2
log
@py-pydantic: fix

This was packaged with py-cython installed, which caused various .so
files to be generated. However, the dependency is not noted in the package,
making it fail in bulk builds.

Set SKIP_CYTHON to ignore cython even if installed and update PLIST.
@
text
@d1 5
a5 8
@@comment $NetBSD: PLIST,v 1.1 2022/07/24 10:48:25 gdt Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
d9 87
a95 6
${PYSITELIB}/pydantic/_hypothesis_plugin.py
${PYSITELIB}/pydantic/_hypothesis_plugin.pyc
${PYSITELIB}/pydantic/_hypothesis_plugin.pyo
${PYSITELIB}/pydantic/annotated_types.py
${PYSITELIB}/pydantic/annotated_types.pyc
${PYSITELIB}/pydantic/annotated_types.pyo
d114 24
d150 6
d162 3
d177 9
d187 3
d196 3
d208 82
d296 3
@


1.1
log
@Add py-pydantic 1.9.1

Data validation and settings management using Python type hints.

Fast and extensible, *pydantic* plays nicely with your
linters/IDE/brain.  Define how data should be in pure, canonical
Python 3.6+; validate it with *pydantic*.
@
text
@d1 1
a1 1
@@comment $NetBSD$
a11 1
${PYSITELIB}/pydantic/__init__.so
a14 1
${PYSITELIB}/pydantic/_hypothesis_plugin.so
a17 1
${PYSITELIB}/pydantic/annotated_types.so
a20 1
${PYSITELIB}/pydantic/class_validators.so
a23 1
${PYSITELIB}/pydantic/color.so
a26 1
${PYSITELIB}/pydantic/config.so
a29 1
${PYSITELIB}/pydantic/dataclasses.so
a32 1
${PYSITELIB}/pydantic/datetime_parse.so
a35 1
${PYSITELIB}/pydantic/decorator.so
a38 1
${PYSITELIB}/pydantic/env_settings.so
a41 1
${PYSITELIB}/pydantic/error_wrappers.so
a44 1
${PYSITELIB}/pydantic/errors.so
a47 1
${PYSITELIB}/pydantic/fields.so
a53 1
${PYSITELIB}/pydantic/json.so
a56 1
${PYSITELIB}/pydantic/main.so
a59 1
${PYSITELIB}/pydantic/mypy.so
a62 1
${PYSITELIB}/pydantic/networks.so
a65 1
${PYSITELIB}/pydantic/parse.so
a69 1
${PYSITELIB}/pydantic/schema.so
a72 1
${PYSITELIB}/pydantic/tools.so
a75 1
${PYSITELIB}/pydantic/types.so
a78 1
${PYSITELIB}/pydantic/typing.so
a81 1
${PYSITELIB}/pydantic/utils.so
a84 1
${PYSITELIB}/pydantic/validators.so
a87 1
${PYSITELIB}/pydantic/version.so
@

