Skip to content

[WIP] fix(dependencies): update tomlkit version to >=0.8.0,<1.0.0 #1578

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

Open
wants to merge 4 commits into
base: v4-9-0-test
Choose a base branch
from

Conversation

Narwhal-fish
Copy link

Description

Update the tomlkit dependency in pyproject.toml to >=0.8.0,<1.0.0 to support parsing TOML files with empty keys (e.g., { "" = "src" }).

This PR addresses #1573, which requests an upgrade of tomlkit.
Although the issue was discussed in tomlkit#17, the actual fix was implemented in python-poetry/tomlkit#143 and released in tomlkit v0.8.0.

Checklist

Code Changes

  • Add test cases to all the changes you introduce
  • Run poetry all locally to ensure this change passes linter check and tests
  • Manually test the changes:
    • Verify the feature/bug fix works as expected in real-world scenarios
    • Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

Documentation Changes

  • Run poetry doc locally to ensure the documentation pages renders correctly
  • Check and fix any broken links (internal or external) in the documentation

Expected Behavior

Steps to Test This Pull Request

Additional Context

@Narwhal-fish Narwhal-fish changed the title fix(dependencies): update tomlkit version to >=0.8.0,<1.0.0 [WIP] fix(dependencies): update tomlkit version to >=0.8.0,<1.0.0 Aug 19, 2025
@Lee-W Lee-W changed the base branch from master to v4-9-0-test August 20, 2025 01:02
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v4-9-0-test@7cd62fb). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             v4-9-0-test    #1578   +/-   ##
==============================================
  Coverage               ?   98.31%           
==============================================
  Files                  ?       58           
  Lines                  ?     2671           
  Branches               ?        0           
==============================================
  Hits                   ?     2626           
  Misses                 ?       45           
  Partials               ?        0           
Flag Coverage Δ
unittests 98.31% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Narwhal-fish Narwhal-fish force-pushed the fix/update-tomlkit-to-allow-empty-keys-in-pyproject-toml branch from 91ee11f to 976f641 Compare August 21, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants