Skip to content

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
Collaborator

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.

3 participants