chore(deps): update all non-major dependencies
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
faker (changelog) | dev | minor |
28.1.0 -> 28.4.1
|
polyfactory (changelog) | dev | minor |
2.16.2 -> 2.18.0
|
pydantic (changelog) | dependencies | minor |
2.8.2 -> 2.10.1
|
pydantic-settings (changelog) | dependencies | minor |
2.4.0 -> 2.6.1
|
pytest (changelog) | dev | patch |
8.3.2 -> 8.3.3
|
pytest-env | dev | patch |
1.1.3 -> 1.1.5
|
python-gitlab (changelog) | dependencies | minor |
4.10.0 -> 4.13.0
|
uis/devops/continuous-delivery/ci-templates | repository | minor |
v4.5.0 -> v4.6.0
|
Release Notes
joke2k/faker (faker)
v28.4.1
- Fix issue where Faker does not properly convert min/max float values to
Decimal
. Thanks @bdjellabaldebaran.
v28.4.0
- Add
it_IT
lorem provider. Thanks @gianni-di-noia.
v28.3.0
- Fix male forms of female surnames in
uk_UA
.Thanks @AlexLitvino.
v28.2.0
- Add
es_ES
isbn provider. Thanks @mondeja.
litestar-org/polyfactory (polyfactory)
v2.18.0
🌟
Sponsors Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
🚀
New Features - Handle SQLA column constraints by @adhtruong in https://github.com/litestar-org/polyfactory/pull/594
🚆
Infra - Update docs preview upload by @adhtruong in https://github.com/litestar-org/polyfactory/pull/597
- Add SQLA async to test dependencies by @adhtruong in https://github.com/litestar-org/polyfactory/pull/595
Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.17.0...v2.18.0
v2.17.0
🌟
Sponsors Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
- fix: constrained 0 length lists by @marcozzxx810 in https://github.com/litestar-org/polyfactory/pull/570
- build: update pre-commit dependencies by @adhtruong in https://github.com/litestar-org/polyfactory/pull/571
- fix: use provider map for any in coverage by @adhtruong in https://github.com/litestar-org/polyfactory/pull/574
- fix: tuple randomized length by @adhtruong in https://github.com/litestar-org/polyfactory/pull/573
- feat(#579): enhance register_fixture return type annotation by @giulioindev in https://github.com/litestar-org/polyfactory/pull/581
- docs: swap word with its antonym to match the context by @UncleGoogle in https://github.com/litestar-org/polyfactory/pull/575
- fix: Adjust min/max items to valid lengths for Set[Enum] fields by @adrianeboyd in https://github.com/litestar-org/polyfactory/pull/567
- fix: handle Optional type recursive models by @adhtruong in https://github.com/litestar-org/polyfactory/pull/584
- fix: handle recursive collections by @adhtruong in https://github.com/litestar-org/polyfactory/pull/587
- chore(release): bump release version by @adhtruong in https://github.com/litestar-org/polyfactory/pull/588
New Contributors
- @marcozzxx810 made their first contribution in https://github.com/litestar-org/polyfactory/pull/570
- @giulioindev made their first contribution in https://github.com/litestar-org/polyfactory/pull/581
- @UncleGoogle made their first contribution in https://github.com/litestar-org/polyfactory/pull/575
- @adrianeboyd made their first contribution in https://github.com/litestar-org/polyfactory/pull/567
Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.16.2...v2.17.0
pydantic/pydantic (pydantic)
v2.10.1
What's Changed
Packaging
- Bump
pydantic-core
version tov2.27.1
by @sydney-runkle in #10938
Fixes
- Use the correct frame when instantiating a parametrized
TypeAdapter
by @Viicos in #10893 - Relax check for validated data in
default_factory
utils by @sydney-runkle in #10909 - Fix type checking issue with
model_fields
andmodel_computed_fields
by @sydney-runkle in #10911 - Use the parent configuration during schema generation for stdlib
dataclass
es by @sydney-runkle in #10928 - Use the
globals
of the function when evaluating the return type of serializers andcomputed_field
s by @Viicos in #10929 - Fix URL constraint application by @sydney-runkle in #10922
- Fix URL equality with different validation methods by @sydney-runkle in #10934
- Fix JSON schema title when specified as
''
by @sydney-runkle in #10936 - Fix
python
mode serialization forcomplex
inference by @sydney-runkle in pydantic-core#1549
New Contributors
v2.10.0
The code released in v2.10.0 is practically identical to that of v2.10.0b2.
See the v2.10 release blog post for the highlights!
What's Changed
Packaging
- Bump
pydantic-core
tov2.27.0
by @sydney-runkle in #10825 - Replaced pdm with uv by @frfahim in #10727
New Features
- Support
fractions.Fraction
by @sydney-runkle in #10318 - Support
Hashable
for json validation by @sydney-runkle in #10324 - Add a
SocketPath
type forlinux
systems by @theunkn0wn1 in #10378 - Allow arbitrary refs in JSON schema
examples
by @sydney-runkle in #10417 - Support
defer_build
for Pydantic dataclasses by @Viicos in #10313 - Adding v1 / v2 incompatibility warning for nested v1 model by @sydney-runkle in #10431
- Add support for unpacked
TypedDict
to type hint variadic keyword arguments with@validate_call
by @Viicos in #10416 - Support compiled patterns in
protected_namespaces
by @sydney-runkle in #10522 - Add support for
propertyNames
in JSON schema by @FlorianSW in #10478 - Adding
__replace__
protocol for Python 3.13+ support by @sydney-runkle in #10596 - Expose public
sort
method for JSON schema generation by @sydney-runkle in #10595 - Add runtime validation of
@validate_call
callable argument by @kc0506 in #10627 - Add
experimental_allow_partial
support by @samuelcolvin in #10748 - Support default factories taking validated data as an argument by @Viicos in #10678
- Allow subclassing
ValidationError
andPydanticCustomError
by @Youssefares in pydantic/pydantic-core#1413 - Add
trailing-strings
support toexperimental_allow_partial
by @sydney-runkle in #10825 - Add
rebuild()
method forTypeAdapter
and simplifydefer_build
patterns by @sydney-runkle in #10537 - Improve
TypeAdapter
instance repr by @sydney-runkle in #10872
Changes
- Don't allow customization of
SchemaGenerator
until interface is more stable by @sydney-runkle in #10303 - Cleanly
defer_build
onTypeAdapters
, removing experimental flag by @sydney-runkle in #10329 - Fix
mro
of generic subclass by @kc0506 in #10100 - Strip whitespaces on JSON Schema title generation by @sydney-runkle in #10404
- Use
b64decode
andb64encode
forBase64Bytes
type by @sydney-runkle in #10486 - Relax protected namespace config default by @sydney-runkle in #10441
- Revalidate parametrized generics if instance's origin is subclass of OG class by @sydney-runkle in #10666
- Warn if configuration is specified on the
@dataclass
decorator and with the__pydantic_config__
attribute by @sydney-runkle in #10406 - Recommend against using
Ellipsis
(...) withField
by @Viicos in #10661 - Migrate to subclassing instead of annotated approach for pydantic url types by @sydney-runkle in #10662
- Change JSON schema generation of
Literal
s andEnums
by @Viicos in #10692 - Simplify unions involving
Any
orNever
when replacing type variables by @Viicos in #10338 - Do not require padding when decoding
base64
bytes by @bschoenmaeckers in pydantic/pydantic-core#1448 - Support dates all the way to 1BC by @changhc in pydantic/speedate#77
Performance
- Schema cleaning: skip unnecessary copies during schema walking by @Viicos in #10286
- Refactor namespace logic for annotations evaluation by @Viicos in #10530
- Improve email regexp on edge cases by @AlekseyLobanov in #10601
-
CoreMetadata
refactor with an emphasis on documentation, schema build time performance, and reducing complexity by @sydney-runkle in #10675
Fixes
- Remove guarding check on
computed_field
withfield_serializer
by @nix010 in #10390 - Fix
Predicate
issue inv2.9.0
by @sydney-runkle in #10321 - Fixing
annotated-types
bound by @sydney-runkle in #10327 - Turn
tzdata
install requirement into optionaltimezone
dependency by @jakob-keller in #10331 - Use correct types namespace when building
namedtuple
core schemas by @Viicos in #10337 - Fix evaluation of stringified annotations during namespace inspection by @Viicos in #10347
- Fix
IncEx
type alias definition by @Viicos in #10339 - Do not error when trying to evaluate annotations of private attributes by @Viicos in #10358
- Fix nested type statement by @kc0506 in #10369
- Improve typing of
ModelMetaclass.mro
by @Viicos in #10372 - Fix class access of deprecated
computed_field
s by @Viicos in #10391 - Make sure
inspect.iscoroutinefunction
works on coroutines decorated with@validate_call
by @MovisLi in #10374 - Fix
NameError
when usingvalidate_call
with PEP 695 on a class by @kc0506 in #10380 - Fix
ZoneInfo
with various invalid types by @sydney-runkle in #10408 - Fix
PydanticUserError
on emptymodel_config
with annotations by @cdwilson in #10412 - Fix variance issue in
_IncEx
type alias, only allowTrue
by @Viicos in #10414 - Fix serialization schema generation when using
PlainValidator
by @Viicos in #10427 - Fix schema generation error when serialization schema holds references by @Viicos in #10444
- Inline references if possible when generating schema for
json_schema_input_type
by @Viicos in #10439 - Fix recursive arguments in
Representation
by @Viicos in #10480 - Fix representation for builtin function types by @kschwab in #10479
- Add python validators for decimal constraints (
max_digits
anddecimal_places
) by @sydney-runkle in #10506 - Only fetch
__pydantic_core_schema__
from the current class during schema generation by @Viicos in #10518 - Fix
stacklevel
on deprecation warnings forBaseModel
by @sydney-runkle in #10520 - Fix warning
stacklevel
inBaseModel.__init__
by @Viicos in #10526 - Improve error handling for in-evaluable refs for discriminator application by @sydney-runkle in #10440
- Change the signature of
ConfigWrapper.core_config
to take the title directly by @Viicos in #10562 - Do not use the previous config from the stack for dataclasses without config by @Viicos in #10576
- Fix serialization for IP types with
mode='python'
by @sydney-runkle in #10594 - Support constraint application for
Base64Etc
types by @sydney-runkle in #10584 - Fix
validate_call
ignoringField
inAnnotated
by @kc0506 in #10610 - Raise an error when
Self
is invalid by @kc0506 in #10609 - Using
core_schema.InvalidSchema
instead of metadata injection + checks by @sydney-runkle in #10523 - Tweak type alias logic by @kc0506 in #10643
- Support usage of
type
withtyping.Self
and type aliases by @kc0506 in #10621 - Use overloads for
Field
andPrivateAttr
functions by @Viicos in #10651 - Clean up the
mypy
plugin implementation by @Viicos in #10669 - Properly check for
typing_extensions
variant ofTypeAliasType
by @Daraan in #10713 - Allow any mapping in
BaseModel.model_copy()
by @Viicos in #10751 - Fix
isinstance
behavior for urls by @sydney-runkle in #10766 - Ensure
cached_property
can be set on Pydantic models by @Viicos in #10774 - Fix equality checks for primitives in literals by @sydney-runkle in pydantic/pydantic-core#1459
- Properly enforce
host_required
for URLs by @Viicos in pydantic/pydantic-core#1488 - Fix when
coerce_numbers_to_str
enabled and string has invalid Unicode character by @andrey-berenda in pydantic/pydantic-core#1515 - Fix serializing
complex
values inEnum
s by @changhc in pydantic/pydantic-core#1524 - Refactor
_typing_extra
module by @Viicos in #10725 - Support intuitive equality for urls by @sydney-runkle in #10798
- Add
bytearray
toTypeAdapter.validate_json
signature by @samuelcolvin in #10802 - Ensure class access of method descriptors is performed when used as a default with
Field
by @Viicos in #10816 - Fix circular import with
validate_call
by @sydney-runkle in #10807 - Fix error when using type aliases referencing other type aliases by @Viicos in #10809
- Fix
IncEx
type alias to be compatible with mypy by @Viicos in #10813 - Make
__signature__
a lazy property, do not deepcopy defaults by @Viicos in #10818 - Make
__signature__
lazy for dataclasses, too by @sydney-runkle in #10832 - Subclass all single host url classes from
AnyUrl
to preserve behavior from v2.9 by @sydney-runkle in #10856
New Contributors
- @jakob-keller made their first contribution in #10331
- @MovisLi made their first contribution in #10374
- @joaopalmeiro made their first contribution in #10405
- @theunkn0wn1 made their first contribution in #10378
- @cdwilson made their first contribution in #10412
- @dlax made their first contribution in #10421
- @kschwab made their first contribution in #10479
- @santibreo made their first contribution in #10453
- @FlorianSW made their first contribution in #10478
- @tkasuz made their first contribution in #10555
- @AlekseyLobanov made their first contribution in #10601
- @NiclasvanEyk made their first contribution in #10667
- @mschoettle made their first contribution in #10677
- @Daraan made their first contribution in #10713
- @k4nar made their first contribution in #10736
- @UriyaHarpeness made their first contribution in #10740
- @frfahim made their first contribution in #10727
v2.9.2
What's Changed
Fixes
- Do not error when trying to evaluate annotations of private attributes by @Viicos in #10358
- Adding notes on designing sound
Callable
discriminators by @sydney-runkle in #10400 - Fix serialization schema generation when using
PlainValidator
by @Viicos in #10427 - Fix
Union
serialization warnings by @sydney-runkle in pydantic/pydantic-core#1449 - Fix variance issue in
_IncEx
type alias, only allowTrue
by @Viicos in #10414 - Fix
ZoneInfo
validation with various invalid types by @sydney-runkle in #10408
v2.9.1
What's Changed
Fixes
- Fix Predicate issue in v2.9.0 by @sydney-runkle in #10321
- Fixing
annotated-types
bound to>=0.6.0
by @sydney-runkle in #10327 - Turn
tzdata
install requirement into optionaltimezone
dependency by @jakob-keller in #10331 - Fix
IncExc
type alias definition by @Viicos in #10339 - Use correct types namespace when building namedtuple core schemas by @Viicos in #10337
- Fix evaluation of stringified annotations during namespace inspection by @Viicos in #10347
- Fix tagged union serialization with alias generators by @sydney-runkle in pydantic/pydantic-core#1442
v2.9.0
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
What's Changed
Packaging
- Bump
ruff
tov0.5.0
andpyright
tov1.1.369
by @sydney-runkle in #9801 - Bump
pydantic-extra-types
tov2.9.0
by @sydney-runkle in #9832 - Support compatibility with
pdm v2.18.1
by @Viicos in #10138 - Bump
v1
version stub tov1.10.18
by @sydney-runkle in #10214 - Bump
pydantic-core
tov2.23.2
by @sydney-runkle in #10311
New Features
- Add support for
ZoneInfo
by @Youssefares in #9896 - Add
Config.val_json_bytes
by @josh-newman in #9770 - Add DSN for Snowflake by @aditkumar72 in #10128
- Support
complex
number by @changhc in #9654 - Add support for
annotated_types.Not
by @aditkumar72 in #10210 - Allow
WithJsonSchema
to inject$ref
s w/http
orhttps
links by @dAIsySHEng1 in #9863 - Allow validators to customize validation JSON schema by @Viicos in #10094
- Support parametrized
PathLike
types by @nix010 in #9764 - Add tagged union serializer that attempts to use
str
orcallable
discriminators to select the correct serializer by @sydney-runkle in in pydantic/pydantic-core#1397
Changes
- Breaking Change: Merge
dict
typejson_schema_extra
by @sydney-runkle in #9792- For more info (how to replicate old behavior) on this change, see here
- Refactor annotation injection for known (often generic) types by @sydney-runkle in #9979
- Move annotation compatibility errors to validation phase by @sydney-runkle in #9999
- Improve runtime errors for string constraints like
pattern
for incompatible types by @sydney-runkle in #10158 - Remove
'allOf'
JSON schema workarounds by @dpeachey in #10029 - Remove
typed_dict_cls
data fromCoreMetadata
by @sydney-runkle in #10180 - Deprecate passing a dict to the
Examples
class by @Viicos in #10181 - Remove
initial_metadata
from internal metadata construct by @sydney-runkle in #10194 - Use
re.Pattern.search
instead ofre.Pattern.match
for consistency withrust
behavior by @tinez in pydantic/pydantic-core#1368 - Show value of wrongly typed data in
pydantic-core
serialization warning by @BoxyUwU in pydantic/pydantic-core#1377 - Breaking Change: in
pydantic-core
, changemetadata
type hint in core schemas fromAny
->Dict[str, Any] | None
by @sydney-runkle in pydantic/pydantic-core#1411 - Raise helpful warning when
self
isn't returned from model validator by @sydney-runkle in #10255
Performance
- Initial start at improving import times for modules, using caching primarily by @sydney-runkle in #10009
- Using cached internal import for
BaseModel
by @sydney-runkle in #10013 - Simplify internal generics logic - remove generator overhead by @sydney-runkle in #10059
- Remove default module globals from types namespace by @sydney-runkle in #10123
- Performance boost: skip caching parent namespaces in most cases by @sydney-runkle in #10113
- Update ns stack with already copied ns by @sydney-runkle in #10267
Minor Internal Improvements
-
⚡ ️ Speed upmultiple_of_validator()
by 31% inpydantic/_internal/_validators.py
by @misrasaurabh1 in #9839 -
⚡ ️ Speed upModelPrivateAttr.__set_name__()
by 18% inpydantic/fields.py
by @misrasaurabh1 in #9841 -
⚡ ️ Speed updataclass()
by 7% inpydantic/dataclasses.py
by @misrasaurabh1 in #9843 -
⚡ ️ Speed up function_field_name_for_signature
by 37% inpydantic/_internal/_signature.py
by @misrasaurabh1 in #9951 -
⚡ ️ Speed up methodGenerateSchema._unpack_refs_defs
by 26% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9949 -
⚡ ️ Speed up functionapply_each_item_validators
by 100% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9950 -
⚡ ️ Speed up methodConfigWrapper.core_config
by 28% inpydantic/_internal/_config.py
by @misrasaurabh1 in #9953
Fixes
- Respect
use_enum_values
onLiteral
types by @kwint in #9787 - Prevent type error for exotic
BaseModel/RootModel
inheritance by @dmontagu in #9913 - Fix typing issue with field_validator-decorated methods by @dmontagu in #9914
- Replace
str
type annotation withAny
in validator factories in documentation on validators by @maximilianfellhuber in #9885 - Fix
ComputedFieldInfo.wrapped_property
pointer when a property setter is assigned by @tlambert03 in #9892 - Fix recursive typing of
main.IncEnx
by @tlambert03 in #9924 - Allow usage of
type[Annotated[...]]
by @Viicos in #9932 -
mypy
plugin: handle frozen fields on a per-field basis by @dmontagu in #9935 - Fix typo in
invalid-annotated-type
error code by @sydney-runkle in #9948 - Simplify schema generation for
uuid
,url
, andip
types by @sydney-runkle in #9975 - Move
date
schemas to_generate_schema.py
by @sydney-runkle in #9976 - Move
decimal.Decimal
validation to_generate_schema.py
by @sydney-runkle in #9977 - Simplify IP address schema in
_std_types_schema.py
by @sydney-runkle in #9959 - Fix type annotations for some potentially generic
GenerateSchema.match_type
options by @sydney-runkle in #9961 - Add class name to "has conflict" warnings by @msabramo in #9964
- Fix
dataclass
ignoringdefault_factory
passed in Annotated by @kc0506 in #9971 - Fix
Sequence
ignoringdiscriminator
by @kc0506 in #9980 - Fix typing for
IPvAnyAddress
andIPvAnyInterface
by @haoyun in #9990 - Fix false positives on v1 models in
mypy
plugin forfrom_orm
check requiring from_attributes=True config by @radekwlsk in #9938 - Apply
strict=True
to__init__
inmypy
plugin by @kc0506 in #9998 - Refactor application of
deque
annotations by @sydney-runkle in #10018 - Raise a better user error when failing to evaluate a forward reference by @Viicos in #10030
- Fix evaluation of
__pydantic_extra__
annotation in specific circumstances by @Viicos in #10070 - Fix
frozen
enforcement fordataclasses
by @sydney-runkle in #10066 - Remove logic to handle unused
__get_pydantic_core_schema__
signature by @Viicos in #10075 - Use
is_annotated
consistently by @Viicos in #10095 - Fix
PydanticDeprecatedSince26
typo by @kc0506 in #10101 - Improve
pyright
tests, refactor model decorators signatures by @Viicos in #10092 - Fix
ip
serialization logic by @sydney-runkle in #10112 - Warn when frozen defined twice for
dataclasses
by @mochi22 in #10082 - Do not compute JSON Schema default when plain serializers are used with
when_used
set to'json-unless-none'
and the default value isNone
by @Viicos in #10121 - Fix
ImportString
special cases by @sydney-runkle in #10137 - Blacklist default globals to support exotic user code with
__
prefixed annotations by @sydney-runkle in #10136 - Handle
nullable
schemas withserialization
schema available during JSON Schema generation by @Viicos in #10132 - Reorganize
BaseModel
annotations by @kc0506 in #10110 - Fix core schema simplification when serialization schemas are involved in specific scenarios by @Viicos in #10155
- Add support for stringified annotations when using
PrivateAttr
withAnnotated
by @Viicos in #10157 - Fix JSON Schema
number
type for literal and enum schemas by @Viicos in #10172 - Fix JSON Schema generation of fields with plain validators in serialization mode by @Viicos in #10167
- Fix invalid JSON Schemas being generated for functions in certain scenarios by @Viicos in #10188
- Make sure generated JSON Schemas are valid in tests by @Viicos in #10182
- Fix key error with custom serializer by @sydney-runkle in #10200
- Add 'wss' for allowed schemes in NatsDsn by @swelborn in #10224
- Fix
Mapping
andMutableMapping
annotations to use mapping schema instead of dict schema by @sydney-runkle in #10020 - Fix JSON Schema generation for constrained dates by @Viicos in #10185
- Fix discriminated union bug regression when using enums by @kfreezen in pydantic/pydantic-core#1286
- Fix
field_serializer
with computed field when using*
by @nix010 in pydantic/pydantic-core#1349 - Try each option in
Union
serializer before inference by @sydney-runkle in pydantic/pydantic-core#1398 - Fix
float
serialization behavior instrict
mode by @sydney-runkle in pydantic/pydantic-core#1400 - Introduce
exactness
into Decimal validation logic to improve union validation behavior by @sydney-runkle in in pydantic/pydantic-core#1405 - Fix new warnings assertions to use
pytest.warns()
by @mgorny in #10241 - Fix a crash when cleaning the namespace in
ModelMetaclass
by @Viicos in #10242 - Fix parent namespace issue with model rebuilds by @sydney-runkle in #10257
- Remove defaults filter for namespace by @sydney-runkle in #10261
- Use identity instead of equality after validating model in
__init__
by @Viicos in #10264 - Support
BigInt
serialization forint
subclasses by @kxx317 in pydantic/pydantic-core#1417 - Support signature for wrap validators without
info
by @sydney-runkle in #10277 - Ensure
__pydantic_complete__
is set when rebuildingdataclasses
by @Viicos in #10291 - Respect
schema_generator
config value inTypeAdapter
by @sydney-runkle in #10300
New Contributors
pydantic
- @kwint made their first contribution in #9787
- @seekinginfiniteloop made their first contribution in #9822
- @a-alexander made their first contribution in #9848
- @maximilianfellhuber made their first contribution in #9885
- @karmaBonfire made their first contribution in #9945
- @s-rigaud made their first contribution in #9958
- @msabramo made their first contribution in #9964
- @DimaCybr made their first contribution in #9972
- @kc0506 made their first contribution in #9971
- @haoyun made their first contribution in #9990
- @radekwlsk made their first contribution in #9938
- @dpeachey made their first contribution in #10029
- @BoxyUwU made their first contribution in #10085
- @mochi22 made their first contribution in #10082
- @aditkumar72 made their first contribution in #10128
- @changhc made their first contribution in #9654
- @insumanth made their first contribution in #10229
- @AdolfoVillalobos made their first contribution in #10240
- @bllchmbrs made their first contribution in #10270
pydantic-core
- @kfreezen made their first contribution in pydantic/pydantic-core#1286
- @tinez made their first contribution in pydantic/pydantic-core#1368
- @fft001 made their first contribution in pydantic/pydantic-core#1362
- @nix010 made their first contribution in pydantic/pydantic-core#1349
- @BoxyUwU made their first contribution in pydantic/pydantic-core#1379
- @candleindark made their first contribution in pydantic/pydantic-core#1404
- @changhc made their first contribution in pydantic/pydantic-core#1331
pydantic/pydantic-settings (pydantic-settings)
v2.6.1
What's Changed
- Add Python 3.13 support by @hramezani in https://github.com/pydantic/pydantic-settings/pull/450
- Fixes #452 - Adding support for populate_by_name by @hozn in https://github.com/pydantic/pydantic-settings/pull/454
- Refactor path_type_label by @aberenda-optifino in https://github.com/pydantic/pydantic-settings/pull/458
- Revert "Fix context not passed to field validators bug (#417)" by @hramezani in https://github.com/pydantic/pydantic-settings/pull/459
New Contributors
- @hozn made their first contribution in https://github.com/pydantic/pydantic-settings/pull/454
- @aberenda-optifino made their first contribution in https://github.com/pydantic/pydantic-settings/pull/458
Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.6.0...v2.6.1
v2.6.0
What's Changed
- Fix nested model field with alias parsing by @hramezani in https://github.com/pydantic/pydantic-settings/pull/400
- Fix PathType typing in case of sequence by @just-maiyak in https://github.com/pydantic/pydantic-settings/pull/402
- Add
cli_ignore_unknown_args
config option. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/405 - Fix AzureKeyVaultSettingsSource problem in case of field with underscore by @hramezani in https://github.com/pydantic/pydantic-settings/pull/415
- Add
cli_flag_prefix_char
config option. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/418 - Fix nested model AliasChoices in validation alias by @hramezani in https://github.com/pydantic/pydantic-settings/pull/411
- Add CLI App Support by @kschwab in https://github.com/pydantic/pydantic-settings/pull/389
- Fix context not passed to field validators bug by @hramezani in https://github.com/pydantic/pydantic-settings/pull/417
- Fix a regression in dotenv optional nested field by @hramezani in https://github.com/pydantic/pydantic-settings/pull/423
- Put tests for non-default sources in separate files by @makukha in https://github.com/pydantic/pydantic-settings/pull/429
- Update nested model partial update docs example. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/433
- Add support for suppressing fields from CLI help. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/436
- Fix bug in dotenv source when there is env with and without prefix by @hramezani in https://github.com/pydantic/pydantic-settings/pull/440
- Prepare release 2.6.0 by @hramezani in https://github.com/pydantic/pydantic-settings/pull/444
New Contributors
- @just-maiyak made their first contribution in https://github.com/pydantic/pydantic-settings/pull/402
Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.5.2...v2.6.0
v2.5.2
What's Changed
- Second fix for the TypeError bug introduced in 2.5 by @hramezani in https://github.com/pydantic/pydantic-settings/pull/396
Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.5.1...v2.5.2
v2.5.1
What's Changed
- Fix TypeError introduced in 2.5 by @hramezani in https://github.com/pydantic/pydantic-settings/pull/392
Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.5.0...v2.5.1
v2.5.0
What's Changed
- Fix a bug in nested vanila dataclass by @hramezani in https://github.com/pydantic/pydantic-settings/pull/357
- CLI Improve Docstring Help Text by @kschwab in https://github.com/pydantic/pydantic-settings/pull/359
- Cli fix default or none object help text by @kschwab in https://github.com/pydantic/pydantic-settings/pull/364
- Determine RootModel complexity from root type by @user1584 in https://github.com/pydantic/pydantic-settings/pull/344
- Add CLI bool flags by @kschwab in https://github.com/pydantic/pydantic-settings/pull/365
- CLI arg list whitespaces fix. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/369
- Add
nested_model_default_partial_update
flag andDefaultSettingsSource
by @kschwab in https://github.com/pydantic/pydantic-settings/pull/348 - Parse enum fixes. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/367
- Fixes CLI help text for function types by @kschwab in https://github.com/pydantic/pydantic-settings/pull/370
- Add get_subcommand function. by @kschwab in https://github.com/pydantic/pydantic-settings/pull/341
- Cli prefix validation alias fix by @kschwab in https://github.com/pydantic/pydantic-settings/pull/375
- CLI ignore external parser list fix by @kschwab in https://github.com/pydantic/pydantic-settings/pull/379
- Enable multiple secrets dirs by @makukha in https://github.com/pydantic/pydantic-settings/pull/372
- Add CLI subcommand union and alias support by @kschwab in https://github.com/pydantic/pydantic-settings/pull/380
- Fix dotenv settings source problem in handling extra variables with same prefix in name by @hramezani in https://github.com/pydantic/pydantic-settings/pull/386
New Contributors
- @user1584 made their first contribution in https://github.com/pydantic/pydantic-settings/pull/344
- @makukha made their first contribution in https://github.com/pydantic/pydantic-settings/pull/372
Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.4.0...v2.5.0
pytest-dev/pytest (pytest)
v8.3.3
pytest 8.3.3 (2024-09-09)
Bug fixes
-
#12446: Avoid calling
@property
(and other instance descriptors) during fixture discovery -- byasottile
{.interpreted-text role="user"} -
#12659: Fixed the issue of not displaying assertion failure differences when using the parameter
--import-mode=importlib
in pytest>=8.1. -
#12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.
-
#12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by
Avasam
{.interpreted-text role="user"} -
#12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
-
#6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in
assert condition, msg
). -
#9422: Fix bug where disabling the terminal plugin via
-p no:terminal
would cause crashes related to missing theverbose
option.-- by
GTowers1
{.interpreted-text role="user"}
Improved documentation
- #12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
- #12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.
Miscellaneous internal changes
- #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.
pytest-dev/pytest-env (pytest-env)
v1.1.5
What's Changed
- Improve the CI by @gaborbernat in https://github.com/pytest-dev/pytest-env/pull/101
Full Changelog: https://github.com/pytest-dev/pytest-env/compare/1.1.4...1.1.5
v1.1.4
Full Changelog: https://github.com/pytest-dev/pytest-env/compare/1.1.3...1.1.4
python-gitlab/python-gitlab (python-gitlab)
v4.13.0
Chores
- chore(deps): update dependency pre-commit to v4 (#3008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> (5c27546
)
- chore(deps): update all non-major dependencies (
c3efb37
)
Features
- feat(api): add support for project Pages API (
0ee0e02
)
v4.12.2
Bug Fixes
- fix: raise GitlabHeadError in
project.files.head()
method (#3006)
When an error occurs, raise GitlabHeadError
in
project.files.head()
method.
v4.12.1
Bug Fixes
-
fix(ci): do not rely on GitLab.com runner arch variables (#3003) (
c848d12
) -
fix(files): correctly raise GitlabGetError in get method (
190ec89
)
Chores
- chore(deps): update all non-major dependencies (#3000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> (d3da326
)
- chore(deps): update gitlab/gitlab-ee docker tag to v17.4.1-ee.0 (
64eed5d
)
v4.12.0
Bug Fixes
-
fix(api): head requests for projectfilemanager (#2977)
-
fix(api): head requests for projectfilemanager
Co-authored-by: Patrick Evans patrick.evans@gehealthcare.com
Co-authored-by: Nejc Habjan hab.nejc@gmail.com (96a18b0
)
Chores
-
chore(deps): update all non-major dependencies (
ae132e7
) -
chore: update pylint to 3.3.1 and resolve issues (#2997)
pylint 3.3.1 appears to have added "too-many-positional-arguments" check with a value of 5.
I don't disagree with this, but we have many functions which exceed this value. We might think about converting some of positional arguments over to keyword arguments in the future. But that is for another time.
For now disable the check across the project. (a0729b8
)
-
chore(deps): update dependency types-setuptools to v75 (
a2ab54c
) -
chore(deps): update gitlab/gitlab-ee docker tag to v17.4.0-ee.0 (
8601808
) -
chore(deps): update all non-major dependencies (
10ee58a
) -
chore(deps): update gitlab/gitlab-ee docker tag to v17.3.2-ee.0 (
5cd1ab2
)
Features
v4.11.1
Bug Fixes
- fix(client): ensure type evaluations are postponed (
b41b2de
)
v4.11.0
Chores
-
chore(pre-commit): add deps (
fe5e608
) -
chore(deps): update all non-major dependencies (
fac8bf9
) -
chore(deps): update dependency types-setuptools to v74 (
bdfaddb
) -
chore(deps): update all non-major dependencies (
88c7529
)
Documentation
- docs(objects): fix typo in get latest pipeline (
b9f5c12
)
Features
-
feat(client): make retries configurable in GraphQL (
145870e
) -
feat(client): add retry handling to GraphQL client (
8898c38
) -
feat(api): add exclusive GET attrs for /projects/:id/members (
e637808
) -
feat: add a minimal GraphQL client (
d6b1b0a
) -
feat(api): add exclusive GET attrs for /groups/:id/members (
d44ddd2
)
Refactoring
- refactor(client): move retry logic into utility (
3235c48
)
uis/devops/continuous-delivery/ci-templates (uis/devops/continuous-delivery/ci-templates)
v4.6.0
v4.5.1
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.