diff mbox series

[AUH] python3-tomlkit: upgrading to 0.15.3 SUCCEEDED

Message ID 010101a21140846e-9e37d1a1-0021-4df5-bdd6-24f646a810ad-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-tomlkit: upgrading to 0.15.3 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Nov. 25, 2026, 5:49 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-tomlkit* to *0.15.3* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-tomlkit-upgrade-0.15.2-0.15.3.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 7758eca3304d4e0d7e614dc8a7fd3f9b5a5d9302 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Wed, 25 Nov 2026 05:27:26 +0000
Subject: [PATCH] python3-tomlkit: upgrade 0.15.2 -> 0.15.3

## [0.15.3] - 2026-11-24
### Changed

- Speed up looking up and replacing keys in tables: string lookups no longer
  build a temporary key, and replacing an existing value no longer scans every
  key in the table, which made updating many keys of a large table quadratic.
  ([#704]( ))
- Speed up repeated array appends by keeping existing indexes instead of
  rebuilding them. ([#666]( ))
- Speed up creating string values and keys, e.g. when building a document from
  Python data and dumping it: strings are escaped in one pass instead of per
  character, and the escape and bare-key character sets are built once. ([#709](
  ))
- `comment()`, `Item.comment()` and `Array.add_line(..., comment=...)` now raise
  `ValueError` for control characters that TOML forbids in comments (anything
  but tab, plus `DEL`), including a bare carriage return; `comment()` still
  accepts LF and CRLF line breaks. Previously such comments were written out and
  produced a document that could not be parsed back. ([#705]( ))
- `date()` now raises `ValueError` when given a datetime string such as
  `"1979-05-13T12:34:56"` instead of returning a datetime. ([#673]( ))
- `Array.sort()` now reorders the serialized values too, keeping the array's
  formatting and comments in place; previously `list.sort()` only reordered the
  Python list, so `dumps()` still wrote the old order. ([#644]( ))

### Fixed

- `dumps(..., sort_keys=True)` now sorts the keys of a parsed document
  recursively, matching the behavior on a plain `dict`; previously only the top-
  level keys were sorted while nested tables, inline tables, arrays of tables
  and inline tables inside an array kept their original order. ([#614]( ))
- Allow `Table.setdefault()` and `InlineTable.setdefault()` to retrieve existing
  values without supplying a default, matching document and mapping behavior.
  ([#710]( ))
- Fix `item()` and `dumps()` writing a `datetime` whose UTC offset is not a
  whole number of minutes (e.g. the historical LMT offsets `zoneinfo` gives,
  such as `-00:44:30`) as invalid TOML like `1900-01-01T12:00:00Z:30`, which no
  parser accepts. Such a value is now written as the same instant in UTC; this
  also covers `DateTime.replace()` and `astimezone()`. ([#701]( ))
- Allow `DateTime.astimezone()` to use the local timezone when no timezone
  argument is supplied, matching `datetime.datetime`. ([#651]( ))
- Arithmetic and `replace()` results for `Integer`, `Float`, `String`,
  `DateTime`, `Date` and `Time` no longer share the original item's `Trivia`, so
  changing the result's comment or indentation no longer rewrites the item still
  stored in the document. ([#683]( ))
- Fix `round()` on a `Float` without `ndigits` returning a `Float` (e.g. `2.0`)
  instead of an `Integer`, matching `round()` on a plain `float`. ([#695]( ))
- Fix a regression in 0.15.1 where `string(..., multiline=True, escape=False)`
  added an extra newline to a value starting with a newline, making it
  impossible to write such a raw string verbatim; with `escape=False` the value
  is now used as given again. ([#655]( ))
- Preserve single-line literal quotes when replacing a table field with a plain
  string, falling back to basic quoting when the value requires escaping.
  ([#325]( ))
- Fix invalid output after deleting the last key under a dotted key inside an
  inline table; the emptied table now renders as `b = {}`. ([#664]( ))
- Fix valid TOML being rejected as a duplicate when an out-of-order table header
  extends a table built from several dotted keys, e.g. `[a]` with `b.c = 1` and
  `b.d = 2`, then `[a.b.e]` after another table. ([#632]( ))
- Fix an `AttributeError` when a table is defined out of order under an indented
  header nested four or more levels deep, e.g. ` [a.b.c.d]` then `[a.b.c]`.
  ([#663]( ))
- Fix an out-of-order table being moved when it is separated from its sibling by
  an array of tables (e.g. `[tool.poetry]`, `[[plugins]]`, `[tool.other]`), so
  the document no longer round-trips unchanged. ([#702]( ))
- Fix `update()` on an out-of-order table dropping sibling keys stored in its
  other fragments when one of the updated keys appears in a later fragment.
  ([#675]( ))
- Fix deleting, popping or replacing a key that was newly added to an out-of-
  order table. ([#699]( ))
- Fix `TOMLDocument.value` and comparisons keeping only the last fragment of an
  array of tables split by other tables; all entries are now included, matching
  `unwrap()`. ([#697]( ))
- Fix assigning plain dicts to a slice of an array of tables (e.g. `doc["a"][:1]
  = [{"x": 4}]`) producing invalid output and leaving `unwrap()` and
  `json.dumps()` out of sync; an extended slice of the wrong length now raises
  before changing the document. ([#631]( ))
- Assigning a value that is not a table to an item or slice of an array of
  tables now raises `ValueError` before changing the document. ([#712]( ))
- Fix a `RecursionError` when parsing a dotted key at the maximum nesting depth
  followed by ano

[Changelog truncated as it exceeds 5000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 .../{python3-tomlkit_0.15.2.bb => python3-tomlkit_0.15.3.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-tomlkit_0.15.2.bb => python3-tomlkit_0.15.3.bb} (83%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-tomlkit_0.15.2.bb b/meta/recipes-devtools/python/python3-tomlkit_0.15.3.bb
similarity index 83%
rename from meta/recipes-devtools/python/python3-tomlkit_0.15.2.bb
rename to meta/recipes-devtools/python/python3-tomlkit_0.15.3.bb
index cf67cea552..40b5112bf2 100644
--- a/meta/recipes-devtools/python/python3-tomlkit_0.15.2.bb
+++ b/meta/recipes-devtools/python/python3-tomlkit_0.15.3.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "https://pypi.org/project/tomlkit/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82"
 
-SRC_URI[sha256sum] = "83e32755ba1d20d9340bd069ee97e9f6232ba2346b63ffcba425de01f7e327a6"
+SRC_URI[sha256sum] = "b3c3020ec1a4bd469d12e31fb4da938e7f6ba758cdbec3fd9047db63120eaf81"
 
 inherit pypi python_poetry_core ptest-python-pytest