Skip to content

ENH: support built-in tomllib for Python 3.11+#348

Merged
effigies merged 3 commits intopython-versioneer:masterfrom
mgorny:tomllib
Oct 21, 2022
Merged

ENH: support built-in tomllib for Python 3.11+#348
effigies merged 3 commits intopython-versioneer:masterfrom
mgorny:tomllib

Conversation

@mgorny
Copy link
Copy Markdown
Contributor

@mgorny mgorny commented Oct 21, 2022

Python 3.11 includes a built-in tomllib module (that's compatible with tomli). Use it in new Python versions, and require tomli only with older Pythons.

Python 3.11 includes a built-in `tomllib` module (that's compatible
with `tomli`).  Use it in new Python versions, and require `tomli`
only with older Pythons.
@mgorny mgorny changed the title ENH: support built-in tomllib for Python 3.11+ [WIP] ENH: support built-in tomllib for Python 3.11+ Oct 21, 2022
@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Oct 21, 2022

I've also added Python 3.11 to test matrix and regenerated the test C extension using newer Cython, as needed to fix compatibility with Python 3.11.

@effigies
Copy link
Copy Markdown
Contributor

Nice! Thanks very much.

@effigies effigies merged commit 9e7975f into python-versioneer:master Oct 21, 2022
@mgorny mgorny deleted the tomllib branch October 21, 2022 13:28
@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Oct 21, 2022

Thanks!

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 participants