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 modern tomllib/tomli backends for reading TOML #176

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Oct 12, 2022

Replace the deprecated toml package with the built-in tomllib module in Python 3.11, with fallback to the modern tomli package in older Python versions.

Copy link
Contributor

@michael-k michael-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 comments, otherwise LGTM

pytest_pylint/plugin.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
Replace the deprecated `toml` package with the built-in `tomllib`
module in Python 3.11, with fallback to the modern `tomli` package
in older Python versions.
@mgorny
Copy link
Contributor Author

mgorny commented Nov 9, 2022

Thanks for the review. Applied both suggestions.

Copy link
Contributor

@michael-k michael-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carsongee
Copy link
Owner

🤞 this should make this ready to merge. I just dropped a lot of older versions that were failing on your PR. Time to move on!

@carsongee carsongee merged commit 8e22844 into carsongee:main Oct 6, 2023
5 checks passed
@carsongee
Copy link
Owner

Success! Thanks for the contribution!

@mgorny
Copy link
Contributor Author

mgorny commented Oct 6, 2023

Thank you!

@mgorny mgorny deleted the tomli branch October 6, 2023 04:32
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