diff mbox series

[AUH] python3-tomlkit: upgrading to 0.15.2 SUCCEEDED

Message ID 010101a1434ec58e-365f63d9-a1da-4276-a851-d38acc962e55-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-tomlkit: upgrading to 0.15.2 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Oct. 16, 2026, 6:03 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.2* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-tomlkit-upgrade-0.15.1-0.15.2.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 ea731fbb4c4c97ed17cb93ffb3d22abe5234fd2e Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 16 Oct 2026 05:48:14 +0000
Subject: [PATCH] python3-tomlkit: upgrade 0.15.1 -> 0.15.2

## [Unreleased]
## [0.15.2] - 2026-10-16
### 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]( ))

[unreleased]: https://github.com/python-poetry/tomlkit/compare/0.15.2...master
[0.15.2]: https://github.com/python-poetry/tomlkit/releases/tag/0.15.2
---
 .../{python3-tomlkit_0.15.1.bb => python3-tomlkit_0.15.2.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-tomlkit_0.15.1.bb => python3-tomlkit_0.15.2.bb} (83%)
diff mbox series

Patch

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