Skip to content

Commit

Permalink
Update dependency pydantic to v2.7.1 (#410)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic)
([changelog](https://docs.pydantic.dev/latest/changelog/)) | `==2.7.0`
-> `==2.7.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.7.0/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.7.0/2.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pydantic/pydantic (pydantic)</summary>

###
[`v2.7.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v271-2024-04-23)

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.7.0...v2.7.1)

[GitHub
release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.1)

##### What's Changed

##### Packaging

- Bump `pydantic-core` to `v2.18.2` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9307](https://togithub.com/pydantic/pydantic/pull/9307)

##### New Features

- Ftp and Websocket connection strings support by
[@&#8203;CherrySuryp](https://togithub.com/CherrySuryp) in
[#&#8203;9205](https://togithub.com/pydantic/pydantic/pull/9205)

##### Changes

- Use field description for RootModel schema description when there is
`…` by [@&#8203;LouisGobert](https://togithub.com/LouisGobert) in
[#&#8203;9214](https://togithub.com/pydantic/pydantic/pull/9214)

##### Fixes

- Fix `validation_alias` behavior with `model_construct` for
`AliasChoices` and `AliasPath` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9223](https://togithub.com/pydantic/pydantic/pull/9223)
- Revert `typing.Literal` and import it outside the TYPE_CHECKING block
by [@&#8203;frost-nzcr4](https://togithub.com/frost-nzcr4) in
[#&#8203;9232](https://togithub.com/pydantic/pydantic/pull/9232)
- Fix `Secret` serialization schema, applicable for unions by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9240](https://togithub.com/pydantic/pydantic/pull/9240)
- Fix `strict` application to `function-after` with `use_enum_values` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[#&#8203;9279](https://togithub.com/pydantic/pydantic/pull/9279)
- Address case where `model_construct` on a class which defines
`model_post_init` fails with `AttributeError` by
[@&#8203;babygrimes](https://togithub.com/babygrimes) in
[#&#8203;9168](https://togithub.com/pydantic/pydantic/pull/9168)
- Fix `model_json_schema` with config types by
[@&#8203;NeevCohen](https://togithub.com/NeevCohen) in
[#&#8203;9287](https://togithub.com/pydantic/pydantic/pull/9287)
- Support multiple zeros as an `int` by
[@&#8203;samuelcolvin](https://togithub.com/samuelcolvin) in
[pydantic/pydantic-core#1269](https://togithub.com/pydantic/pydantic-core/pull/1269)
- Fix validation of `int`s with leading unary plus by
[@&#8203;cknv](https://togithub.com/cknv) in
[pydantic/pydantic-core#1272](https://togithub.com/pydantic/pydantic-core/pull/1272)
- Fix interaction between `extra != 'ignore'` and `from_attributes=True`
by [@&#8203;davidhewitt](https://togithub.com/davidhewitt) in
[pydantic/pydantic-core#1276](https://togithub.com/pydantic/pydantic-core/pull/1276)
- Handle error from `Enum`'s `missing` function as `ValidationError` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[pydantic/pydantic-core#1274](https://togithub.com/pydantic/pydantic-core/pull/1754)
- Fix memory leak with `Iterable` validation by
[@&#8203;davidhewitt](https://togithub.com/davidhewitt) in
[pydantic/pydantic-core#1271](https://togithub.com/pydantic/pydantic-core/pull/1751)

##### New Contributors

- [@&#8203;zzstoatzz](https://togithub.com/zzstoatzz) made their first
contribution in
[#&#8203;9219](https://togithub.com/pydantic/pydantic/pull/9219)
- [@&#8203;frost-nzcr4](https://togithub.com/frost-nzcr4) made their
first contribution in
[#&#8203;9232](https://togithub.com/pydantic/pydantic/pull/9232)
- [@&#8203;CherrySuryp](https://togithub.com/CherrySuryp) made their
first contribution in
[#&#8203;9205](https://togithub.com/pydantic/pydantic/pull/9205)
- [@&#8203;vagenas](https://togithub.com/vagenas) made their first
contribution in
[#&#8203;9268](https://togithub.com/pydantic/pydantic/pull/9268)
- [@&#8203;ollz272](https://togithub.com/ollz272) made their first
contribution in
[#&#8203;9262](https://togithub.com/pydantic/pydantic/pull/9262)
- [@&#8203;babygrimes](https://togithub.com/babygrimes) made their first
contribution in
[#&#8203;9168](https://togithub.com/pydantic/pydantic/pull/9168)
- [@&#8203;swelborn](https://togithub.com/swelborn) made their first
contribution in
[#&#8203;9296](https://togithub.com/pydantic/pydantic/pull/9296)
- [@&#8203;kf-novi](https://togithub.com/kf-novi) made their first
contribution in
[#&#8203;9236](https://togithub.com/pydantic/pydantic/pull/9236)
- [@&#8203;lgeiger](https://togithub.com/lgeiger) made their first
contribution in
[#&#8203;9288](https://togithub.com/pydantic/pydantic/pull/9288)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Apr 24, 2024
1 parent c269a09 commit 55e1211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ freezegun==1.4.0
mitmproxy==10.3.0
parameterized==0.9.0
pdoc==14.4.0
pydantic==2.7.0
pydantic==2.7.1
pytest==8.1.1
pytest-aiohttp==1.0.5
pytest-asyncio==0.23.6
Expand Down

0 comments on commit 55e1211

Please sign in to comment.