-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix u style unicode strings in python #110
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
CodSpeed Performance ReportMerging #110 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
davidhewitt
approved these changes
May 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Subject to one nit
renovate bot
added a commit
to spiraldb/ziggy-pydust
that referenced
this pull request
Jun 3, 2024
[![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.1` -> `2.7.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.7.1/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.7.1/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pydantic/pydantic (pydantic)</summary> ### [`v2.7.3`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v273-2024-06-03) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.2...v2.7.3) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.3) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.4` by [@​sydney-runkle](https://togithub.com/sydney-runkle) in [#​9550](https://togithub.com/pydantic/pydantic/pull/9550) ##### Fixes - Fix u style unicode strings in python [@​samuelcolvin](https://togithub.com/samuelcolvin) in [pydantic/jiter#110](https://togithub.com/pydantic/jiter/pull/110) ### [`v2.7.2`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v272-2024-05-28) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.1...v2.7.2) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.2) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.3` by [@​sydney-runkle](https://togithub.com/sydney-runkle) in [#​9515](https://togithub.com/pydantic/pydantic/pull/9515) ##### Fixes - Replace `__spec__.parent` with `__package__` by [@​hramezani](https://togithub.com/hramezani) in [#​9331](https://togithub.com/pydantic/pydantic/pull/9331) - Fix validation of `int`s with leading unary minus by [@​RajatRajdeep](https://togithub.com/RajatRajdeep) in [pydantic/pydantic-core#1291](https://togithub.com/pydantic/pydantic-core/pull/1291) - Fix `str` subclass validation for enums by [@​sydney-runkle](https://togithub.com/sydney-runkle) in \[[pydantic/pydantic-core#1273](https://togithub.com/pydantic/pydantic-core/issues/1273)][https://github.com/pydantic/pydantic-core/pull/1273](https://togithub.com/pydantic/pydantic-core/pull/1273) - Support `BigInt`s in `Literal`s and `Enum`s by [@​samuelcolvin](https://togithub.com/samuelcolvin) in \[[pydantic/pydantic-core#1297](https://togithub.com/pydantic/pydantic-core/issues/1297)][https://github.com/pydantic/pydantic-core/pull/1297](https://togithub.com/pydantic/pydantic-core/pull/1297) - Fix: uuid - allow `str` subclass as input by [@​davidhewitt](https://togithub.com/davidhewitt) in \[[pydantic/pydantic-core#1296](https://togithub.com/pydantic/pydantic-core/issues/1296)][https://github.com/pydantic/pydantic-core/pull/1296](https://togithub.com/pydantic/pydantic-core/pull/1296) </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/spiraldb/ziggy-pydust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
adamnolte
pushed a commit
to autoblocksai/autoblocks-examples
that referenced
this pull request
Jun 4, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.12` -> `20.14.1`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.12/20.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.12/20.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.12/20.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [ai](https://sdk.vercel.ai/docs) ([source](https://togithub.com/vercel/ai)) | [`3.1.17` -> `3.1.23`](https://renovatebot.com/diffs/npm/ai/3.1.17/3.1.23) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ai/3.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ai/3.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ai/3.1.17/3.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ai/3.1.17/3.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-python) | `1.30.4` -> `1.31.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/1.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/1.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/1.30.4/1.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.30.4/1.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-node) | [`4.47.2` -> `4.47.3`](https://renovatebot.com/diffs/npm/openai/4.47.2/4.47.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.47.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.47.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.47.2/4.47.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.47.2/4.47.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pydantic](https://togithub.com/pydantic/pydantic) ([changelog](https://docs.pydantic.dev/latest/changelog/)) | `2.7.2` -> `2.7.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.7.2/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.7.2/2.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tsx](https://togithub.com/privatenumber/tsx) | [`4.11.0` -> `4.11.2`](https://renovatebot.com/diffs/npm/tsx/4.11.0/4.11.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tsx/4.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tsx/4.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tsx/4.11.0/4.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsx/4.11.0/4.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/ai (ai)</summary> ### [`v3.1.23`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.23) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.23) ##### Patch Changes - [`c03cafe`](https://togithub.com/vercel/ai/commit/c03cafe6): chore (core, ui): rename maxAutomaticRoundtrips to maxToolRoundtrips ### [`v3.1.22`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.22) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.22) ##### Patch Changes - [`14bb869`](https://togithub.com/vercel/ai/commit/14bb8694): chore (ui): move maxAutomaticRoundtrips and addToolResult out of experimental ### [`v3.1.21`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.21) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.21) ##### Patch Changes - [`213f241`](https://togithub.com/vercel/ai/commit/213f2411): fix (core,streams): support ResponseInit variants - [`09698bc`](https://togithub.com/vercel/ai/commit/09698bca): chore (streams): deprecate streaming helpers that have a provider replacement ### [`v3.1.20`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.20) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.20) ##### Patch Changes - [`0e1da47`](https://togithub.com/vercel/ai/commit/0e1da476): feat (core): add maxAutomaticRoundtrips setting to generateText ### [`v3.1.19`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.19) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.19) ##### Patch Changes - [`9882d24`](https://togithub.com/vercel/ai/commit/9882d24b): fix (ui/svelte): send data to server - [`131bbd3`](https://togithub.com/vercel/ai/commit/131bbd3e): fix (ui): remove console.log statements ### [`v3.1.18`](https://togithub.com/vercel/ai/releases/tag/ai%403.1.18) [Compare Source](https://togithub.com/vercel/ai/compare/[email protected]@3.1.18) ##### Patch Changes - [`f9dee8a`](https://togithub.com/vercel/ai/commit/f9dee8ac): fix(ai/rsc): Fix types for createStreamableValue and createStreamableUI - [`1c0ebf8`](https://togithub.com/vercel/ai/commit/1c0ebf8e): feat (core): add responseMessages to generateText result </details> <details> <summary>openai/openai-python (openai)</summary> ### [`v1.31.0`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1310-2024-06-03) [Compare Source](https://togithub.com/openai/openai-python/compare/v1.30.5...v1.31.0) Full Changelog: [v1.30.5...v1.31.0](https://togithub.com/openai/openai-python/compare/v1.30.5...v1.31.0) ##### Features - **api:** updates ([#​1461](https://togithub.com/openai/openai-python/issues/1461)) ([0d7cc5e](https://togithub.com/openai/openai-python/commit/0d7cc5e48c565fe10ee6e8ca4d050175eb543bcb)) ##### Chores - fix lint ([1886dd4](https://togithub.com/openai/openai-python/commit/1886dd4c98d7a7b3a679bff739cb38badf5ae96c)) ### [`v1.30.5`](https://togithub.com/openai/openai-python/blob/HEAD/CHANGELOG.md#1305-2024-05-29) [Compare Source](https://togithub.com/openai/openai-python/compare/v1.30.4...v1.30.5) Full Changelog: [v1.30.4...v1.30.5](https://togithub.com/openai/openai-python/compare/v1.30.4...v1.30.5) ##### Chores - **internal:** fix lint issue ([35a1e80](https://togithub.com/openai/openai-python/commit/35a1e806891c34d5cc13ac8341751e5b15b52319)) </details> <details> <summary>openai/openai-node (openai)</summary> ### [`v4.47.3`](https://togithub.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4473-2024-05-31) [Compare Source](https://togithub.com/openai/openai-node/compare/v4.47.2...v4.47.3) Full Changelog: [v4.47.2...v4.47.3](https://togithub.com/openai/openai-node/compare/v4.47.2...v4.47.3) ##### Bug Fixes - allow git imports for pnpm ([#​873](https://togithub.com/openai/openai-node/issues/873)) ([9da9809](https://togithub.com/openai/openai-node/commit/9da98090e80cbe988a3d695e4c9b57439080ec3e)) ##### Documentation - **azure:** update example and readme to use Entra ID ([#​857](https://togithub.com/openai/openai-node/issues/857)) ([722eff1](https://togithub.com/openai/openai-node/commit/722eff1a7aeaa2ce3c40301709db61258c9afa16)) </details> <details> <summary>pydantic/pydantic (pydantic)</summary> ### [`v2.7.3`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v273-2024-06-03) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.2...v2.7.3) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.3) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.4` by [@​sydney-runkle](https://togithub.com/sydney-runkle) in [#​9550](https://togithub.com/pydantic/pydantic/pull/9550) ##### Fixes - Fix u style unicode strings in python [@​samuelcolvin](https://togithub.com/samuelcolvin) in [pydantic/jiter#110](https://togithub.com/pydantic/jiter/pull/110) </details> <details> <summary>privatenumber/tsx (tsx)</summary> ### [`v4.11.2`](https://togithub.com/privatenumber/tsx/compare/v4.11.1...aa2b639a9bac8ae28a46b847013fda7f5cd4466b) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.1...v4.11.2) ### [`v4.11.1`](https://togithub.com/privatenumber/tsx/compare/v4.11.0...5e701051c4eb639bfd204c805310777789907a55) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.0...v4.11.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone America/Chicago, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/autoblocksai/autoblocks-examples). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Jun 7, 2024
https://build.opensuse.org/request/show/1179027 by user dirkmueller + anag+factory - update to 2.7.3: * Bump `pydantic-core` to `v2.18.4` * Fix u style unicode strings in python @samuelcolvin in pydantic/jiter#110 * Replace `__spec__.parent` with `__package__` * Fix validation of `int`s with leading unary minus * Fix `str` subclass validation for enums * Support `BigInt`s in `Literal`s and `Enum`s * Fix: uuid - allow `str` subclass as input
This was referenced Jun 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix pydantic/pydantic#9496