Skip to content

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented Jun 11, 2025

Fixes #11202.

Make use of ensure_ascii option
Update typechecking tests
Remove core schema validation hook

Change Summary

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Jun 11, 2025
@Viicos Viicos added the needs-blogpost-entry This PR needs to be documented in the release notes blog post label Jun 11, 2025
Copy link

cloudflare-workers-and-pages bot commented Jun 11, 2025

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4494c31
Status: ✅  Deploy successful!
Preview URL: https://89f3d2a3.pydantic-docs.pages.dev
Branch Preview URL: https://core-2-35-1.pydantic-docs.pages.dev

View logs

Make use of `ensure_ascii` option
Update typechecking tests
Remove core schema validation hook

This comment was marked as off-topic.

Copy link

codspeed-hq bot commented Jun 11, 2025

CodSpeed Performance Report

Merging #11963 will not alter performance

Comparing core-2.35.1 (4494c31) with main (88c75cd)

Summary

✅ 46 untouched benchmarks

@Viicos Viicos added relnotes-packaging Used for dependency changes. and removed relnotes-fix Used for bugfixes. labels Jun 11, 2025
Copy link
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  pydantic
  functional_validators.py
  version.py
  pydantic/_internal
  _generate_schema.py
Project Total  

This report was generated by python-coverage-comment-action

@Viicos Viicos merged commit e1f9d15 into main Jun 11, 2025
60 checks passed
@Viicos Viicos deleted the core-2.35.1 branch June 11, 2025 16:23
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jun 24, 2025
https://build.opensuse.org/request/show/1287850
by user dgarcia + anag_factory
To stage with the python-pydantic-core 2.35.1 update in sr#1287849

- Add patch bump-pydantic-core-2.35.1.patch to support latest
  pydantic-core, gh#pydantic/pydantic#11963
- Add patch field-name-validator-core-schemas.patch to remove
  deprecation warning, gh#pydantic/pydantic#11761
- Update to 2.11.7
  * Copy FieldInfo instance if necessary during FieldInfo build by @Viicos in #11980
2.11.6
  * Rebuild dataclass fields before schema generation by @Viicos in #11949
  * Always store the original field assignment on FieldInfo by @Viicos in #11946
2.11.5
  * Check if FieldInfo is complete after applying type variable map by @Viicos in #11855
  * Do not delete mock validator/serializer in model_rebuild() by @Viicos in #11890
  * Do not duplicate metadata on model rebuild by @Viicos in #11902
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-blogpost-entry This PR needs to be documented in the release notes blog post relnotes-packaging Used for dependency changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ensure_ascii argument to BaseModel.model_dump_json()
2 participants