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 tomllib on Python 3.11 #4476

Merged
merged 2 commits into from Sep 5, 2022
Merged

Conversation

hauntsaninja
Copy link
Contributor

Change Summary

Python 3.11 includes tomllib in the standard library. When installed on Python 3.11, mypy will use tomllib and does not have tomli or toml as a dependency.

@samuelcolvin samuelcolvin mentioned this pull request Sep 5, 2022
6 tasks
@samuelcolvin samuelcolvin merged commit 5a2ddec into pydantic:main Sep 5, 2022
@samuelcolvin
Copy link
Member

great, thanks so much. Will be included in v1.10 next patch.

@PrettyWood
Copy link
Member

I'm surprised tomli was not in the requirements 🤔 Btw @samuelcolvin I guess we can remove dataclasses==0.6; python_version < '3.7' now that python 3.6 support has been dropped

@samuelcolvin
Copy link
Member

👍 done in #4473

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.

None yet

3 participants