Skip to content

DRY tomllib compatibility #13370

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 3, 2025
Merged

DRY tomllib compatibility #13370

merged 1 commit into from
May 3, 2025

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented May 1, 2025

Since the tomli vs tomllib import dance is repeated in several places, move it to utils.compat.

To be updated when #13356 is merged

@sbidoul sbidoul added skip news Does not need a NEWS file entry (eg: trivial changes) type: maintenance Related to Development and Maintenance Processes labels May 1, 2025
@sbidoul sbidoul marked this pull request as draft May 1, 2025 14:04
@sbidoul sbidoul changed the title DRY tomlib compatibility DRY tomllib compatibility May 1, 2025
@sbidoul sbidoul force-pushed the tomllib-compat-sbi branch from 201e350 to 7be1d48 Compare May 2, 2025 15:49
@sbidoul sbidoul marked this pull request as ready for review May 2, 2025 15:50
@sbidoul sbidoul added this to the 25.2 milestone May 2, 2025
@sbidoul sbidoul merged commit 54408d3 into pypa:main May 3, 2025
29 checks passed
@sbidoul sbidoul deleted the tomllib-compat-sbi branch May 3, 2025 13:31
@sbidoul
Copy link
Member Author

sbidoul commented May 3, 2025

In the unlikely case we'd need a 25.1.2, this is harmless and I need it for the pylock branch.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
skip news Does not need a NEWS file entry (eg: trivial changes) type: maintenance Related to Development and Maintenance Processes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants