Skip to content
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

use Python 3.9 collection type hints #1279

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidhewitt
Copy link
Contributor

Change Summary

Use 3.9 style type hints. This should avoid problems in #1264

I'm not 100% sure this won't cause problems on 3.8 so would like to test.

Related issue number

Fix #1264

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@davidhewitt
Copy link
Contributor Author

Indeed we can't merge this until 3.8 is dropped.

Copy link

codspeed-hq bot commented Apr 29, 2024

CodSpeed Performance Report

Merging #1279 will not alter performance

Comparing dh/core-schema-type-hints (1a44381) with main (1cefeae)

Summary

✅ 155 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.18.0: pep517 based build fails
1 participant