Skip to content

chore(deps): update dependency tomlkit to v0.15.2 - #312

Merged
ReenigneArcher merged 1 commit into
masterfrom
renovate/tomlkit-0-x
Oct 16, 2026
Merged

ReenigneArcher merged 1 commit into
masterfrom
renovate/tomlkit-0-x

Conversation

@renovate

@renovate renovate Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
tomlkit (changelog) ==0.15.1 → ==0.15.2 age confidence

Release Notes

python-poetry/tomlkit (tomlkit)

v0.15.2

Compare Source

Changed
  • Write the ESC control character as \u001b instead of \e, which is only valid in TOML 1.1, so the output stays readable by TOML 1.0 parsers such as tomllib. (#​641)
  • key_value() now raises UnexpectedCharError on anything other than whitespace or a comment after the pair, instead of silently discarding it (e.g. key_value("a = 1 b = 2")), matching parse(). (#​594)
  • integer() given a string now validates it against the TOML integer grammar and keeps the original text, so grouping underscores (e.g. integer("1_000")) survive dumps(); strings that are not valid TOML integers (e.g. "010") now raise ValueError. (#​336)
  • Add a fold argument to DateTime and Time, mirroring the stdlib, and carry fold through item(), arithmetic (including datetime subtraction) and unwrap(), so a folded local time no longer converts an hour off. (#​619, #​623, #​626)
  • Declare the project metadata in the PEP 621 [project] table; building from source now requires poetry-core>=2.2.0. (#​607, #​609)
Fixed
  • Fix valid TOML being rejected when an out-of-order table reopens an implicit super-table with a dotted key: [a.b.c] then [a] with b.z = 1 extends the implicit a.b super-table rather than redefining it (stdlib tomllib accepts it), so it now parses and round-trips instead of raising Redefinition of an existing table. The concrete-table case ([a.b] then [a] b.z = 1) stays rejected. (#​565)
  • Fix uppercase E exponent after a leading-zero mantissa (e.g. 0E2) being rejected as an invalid number while 0e2 parsed fine. (#​586)
  • Fix non-lowercase special floats (e.g. Inf, NaN, -INF) being accepted; TOML only allows lowercase inf and nan, so they now raise ParseError. (#​628)
  • Fix parse errors reporting the wrong line and column in documents with CRLF or mixed line endings. (#​642)
  • Fix item() reordering the keys of an inline table (dict-valued keys were forced last) under the default sort_keys=False. (#​546)
  • Fix unwrap() moving a key to the end after its value was replaced (e.g. doc["b"] = 9), while dumps() and keys() kept the original order. (#​591)
  • Fix appending a key to a parsed inline table that uses ", " separators emitting a bare "," for the new entry, leaving the table inconsistently spaced (e.g. {x = 1, y = 2,z = 3}). (#​595)
  • Fix an emptied array of tables being dropped from the output: it now renders as key = [], placed and keyed relative to the nearest table header so it parses back into the same table. (#​567)
  • Fix a single-line array whose last element is a trailing comment (e.g. from add_line(value, comment=...)) rendering its closing ] on the comment line, producing unparseable output. (#​580)
  • Fix del array[start:stop:step] with a negative or omitted bound removing the wrong elements from the rendered output. (#​599)
  • Fix array slice assignment mutating the array before raising ValueError("slice assignment is not supported"). (#​600)
  • Fix String.__add__ splicing the appended text into a basic string without escaping it, so appending a quote or backslash produced invalid TOML. (#​612)
  • Fix a bare carriage return in a multiline string producing invalid TOML: it is now escaped as \r in a multiline basic string and rejected with InvalidStringError in a multiline literal string; CRLF line endings are left intact. (#​539)
  • Fix a tz-aware datetime.time rendering with a UTC offset (e.g. 07:32:00+02:00), which TOML local times do not allow; it now renders as a local time. (#​613)
  • Fix arithmetic on a signed float producing +-0.0 (e.g. -1.5 times 0), which does not parse. (#​629)
  • Fix two Bool items never comparing equal to each other; they now compare by value. (#​660)

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "after 1am and before 8am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file python labels Oct 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.31%. Comparing base (226ad62) to head (4d6253f).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #312      +/-   ##
==========================================
+ Coverage   50.24%   50.31%   +0.06%     
==========================================
  Files          40       40              
  Lines       13203    13203              
==========================================
+ Hits         6634     6643       +9     
+ Misses       6569     6560       -9     
Flag Coverage Δ
aarch64-apple-darwin 49.34% <ø> (ø)
aarch64-unknown-linux-gnu 49.35% <ø> (ø)
aarch64-unknown-linux-musl 49.76% <ø> (ø)
x86_64-apple-darwin 49.34% <ø> (ø)
x86_64-pc-windows-msvc 50.35% <ø> (+0.09%) ⬆️
x86_64-unknown-linux-gnu 49.35% <ø> (ø)
x86_64-unknown-linux-musl 49.76% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 226ad62...4d6253f. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ReenigneArcher
ReenigneArcher merged commit e6e8931 into master Oct 16, 2026
46 checks passed
@ReenigneArcher
ReenigneArcher deleted the renovate/tomlkit-0-x branch October 16, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant