Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tomlkit for openSUSE:Factory 
checked in at 2026-10-27 18:18:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tomlkit (Old)
 and      /work/SRC/openSUSE:Factory/.python-tomlkit.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tomlkit"

Tue Oct 27 18:18:39 2026 rev:25 rq:1392621 version:0.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tomlkit/python-tomlkit.changes    
2026-08-28 19:47:19.582859103 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-tomlkit.new.2252680/python-tomlkit.changes   
    2026-10-27 18:18:52.483378147 +0100
@@ -1,0 +2,75 @@
+Mon Oct 26 06:58:01 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.15.2:
+  * 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`.
+  * `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()`.
+  * `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`.
+  * 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.
+  * Declare the project metadata in the PEP 621 `[project]`
+    table; building from source now requires `poetry-
+    core>=2.2.0`.
+  * 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.
+  * Fix uppercase `E` exponent after a leading-zero mantissa
+    (e.g. `0E2`) being rejected as an invalid number while `0e2`
+    parsed fine.
+  * Fix non-lowercase special floats (e.g. `Inf`, `NaN`, `-INF`)
+    being accepted; TOML only allows lowercase `inf` and `nan`,
+    so they now raise `ParseError`.
+  * Fix parse errors reporting the wrong line and column in
+    documents with CRLF or mixed line endings.
+  * Fix `item()` reordering the keys of an inline table (dict-
+    valued keys were forced last) under the default
+    `sort_keys=False`.
+  * 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.
+  * 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}`).
+  * 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.
+  * 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.
+  * Fix `del array[start:stop:step]` with a negative or omitted
+    bound removing the wrong elements from the rendered output.
+  * Fix array slice assignment mutating the array before raising
+    `ValueError("slice assignment is not supported")`.
+  * Fix `String.__add__` splicing the appended text into a basic
+    string without escaping it, so appending a quote or backslash
+    produced invalid TOML.
+  * 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.
+  * 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.
+  * Fix arithmetic on a signed float producing `+-0.0` (e.g.
+    `-1.5` times `0`), which does not parse.
+  * Fix two `Bool` items never comparing equal to each other;
+    they now compare by value.
+
+-------------------------------------------------------------------

Old:
----
  tomlkit-0.15.1.tar.gz

New:
----
  tomlkit-0.15.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tomlkit.spec ++++++
--- /var/tmp/diff_new_pack.uXAi7Y/_old  2026-10-27 18:18:55.874519580 +0100
+++ /var/tmp/diff_new_pack.uXAi7Y/_new  2026-10-27 18:18:55.876519664 +0100
@@ -27,14 +27,14 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-tomlkit%{psuffix}
-Version:        0.15.1
+Version:        0.15.2
 Release:        0
 Summary:        Style preserving TOML library
 License:        MIT
 URL:            https://github.com/sdispater/tomlkit
 Source:         
https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-%{version}.tar.gz
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module poetry-core}
+BuildRequires:  %{python_module poetry-core >= 2.2.0}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++++++ tomlkit-0.15.1.tar.gz -> tomlkit-0.15.2.tar.gz ++++++
++++ 1772 lines of diff (skipped)

Reply via email to