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 the stdlib tomllib in Python >= 3.11 for version auto detection #101

Closed
gotmax23 opened this issue Mar 6, 2023 · 0 comments · Fixed by #102
Closed

Use the stdlib tomllib in Python >= 3.11 for version auto detection #101

gotmax23 opened this issue Mar 6, 2023 · 0 comments · Fixed by #102

Comments

@gotmax23
Copy link
Contributor

gotmax23 commented Mar 6, 2023

          Note to self: in a separate PR, we should change this to use the stdlib tomllib module by default in Python >= 3.11

Originally posted by @gotmax23 in #100 (comment)

gotmax23 pushed a commit that referenced this issue Mar 8, 2023
* Support Python 3.11's tomllib as well.

* Add tests for package.json and pyproject.toml with tomllib.

* Fail Python 3.11+ tests if tests are skipped.

* Prefer tomli over toml.

Fixes: #101
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 a pull request may close this issue.

1 participant