Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python313-tomlkit-0.15.1-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python313-tomlkit Distribution: openSUSE Tumbleweed
Version: 0.15.1 Vendor: openSUSE
Release: 1.1 Build date: Sat Aug 22 16:07:37 2026
Group: Unspecified Build host: reproducible
Size: 577821 Source RPM: python-tomlkit-0.15.1-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/sdispater/tomlkit
Summary: Style preserving TOML library
Style preserving TOML library

Provides

Requires

License

MIT

Changelog

* Sat Aug 22 2026 Dirk Müller <dmueller@suse.com>
  - update to 0.15.1:
    * Speed up membership tests (`key in ...`) on `Container`,
      `Table` and `InlineTable` with native `__contains__`
      implementations, avoiding the inherited `MutableMapping`
      round-trip through `__getitem__` (which resolves the value
      and builds an exception on every absent key).
    * Speed up parsing by making `Source` index-based: it now
      tracks an integer position over the input string instead of
      materializing a list of `(index, char)` tuples up front, so
      construction is O(1) and state save/restore no longer copies
      an iterator.
    * Speed up parsing by scanning character runs in bulk:
      `Source.advance_while`/`advance_until` consume a whole run of
      whitespace, bare-key or number characters in a single pass
      over the input string instead of one `inc()` call per
      character.
    * Speed up parsing of single-line strings by bulk-appending the
      run of ordinary characters up to the next delimiter,
      backslash or control character in one pass, instead of one
      character at a time.
    * Speed up parsing by removing the internal `TOMLChar` wrapper:
      the parser now reads plain `str` characters from `Source` and
      detects end-of-input positionally, avoiding a per-character
      object construction and method dispatch.
    * Speed up parsing by comparing `StringType` members by
      identity (`is`) instead of building a set on every
      `is_basic`/`is_literal`/`is_singleline`/`is_multiline` call,
      avoiding millions of enum hashes while parsing.
    * Speed up merging super tables by merging in place instead of
      deep-copying the growing target on every merge, turning the
      parse of documents with many subtables under a shared super
      table (e.g. consecutive `[a.b.c]` / `[a.b.d]` headers) from
      O(n²) into O(n).
    * Speed up membership tests (`key in ...`) on out-of-order
      tables with a native `OutOfOrderTableProxy.__contains__`,
      completing #483 for the last mapping type that still
      inherited the slow `MutableMapping` mixin (which resolves the
      value and builds an exception on every absent key).
    * Speed up parsing documents with many dotted keys or table
      headers sharing a prefix by validating out-of-order tables
      incrementally: each new fragment is merged into a cached
      validation container once, instead of re-merging (and deep-
      copying) every earlier fragment on each append, turning a
      super-cubic worst case into linear time (80 shared-prefix
      dotted keys: ~8 s → ~10 ms).
    * Speed up parsing of arrays that close right after a value
      (e.g. the `files = [...]` blocks that dominate lock files):
      the parser no longer attempts to read a value while sitting
      on the closing `]`, which previously built an
      `UnexpectedCharError` just to discard it — and constructing
      that exception eagerly computes a line/column by scanning the
      whole document, making it O(document size) per such array.
    * Speed up parsing of multiline strings by bulk-appending the
      run of ordinary characters — across raw line feeds and tabs —
      up to the next delimiter, backslash, carriage return or
      control character, instead of one character at a time. This
      extends to `"""`/`'''` bodies the single-line fast path added
      in #491; a `r` still stops the scan so `rn` stays validated
      and byte-for-byte preserved.
    * Speed up `unwrap()` (converting a parsed document to a plain
      `dict`) by resolving each key directly from the container's
      key map instead of iterating the inherited `MutableMapping`
      view, which rebuilt a `SingleKey` from the bare string for
      every key just to re-look-up the value. Out-of-order tables
      still resolve through their proxy, so their validation is
      unchanged.
    * Speed up rendering (`as_string()` / `dumps()`) of inline
      tables with many keys by precomputing the last-key and last-
      deleted-element indices in a single pass, instead of
      rescanning the remaining body on every separator comma —
      turning an O(n²) render into O(n).
    * Raise on malformed array element instead of dropping it,
    * Fix `string()` dropping a leading newline of a multiline
      string on round-trip: a value beginning with a newline is now
      rendered with an extra leading newline (the one the parser
      trims after the opening delimiter) so it survives re-parsing.
    * Fix invalid serialization with a duplicated comma when
      removing a non-edge element from a parsed inline table.
    * Fix invalid serialization with a duplicated comma when
      appending or inserting into a comma-first formatted array.
    * Fix `ParseError` when a sub-table extends the last element of
      an array of tables after an unrelated table.
    * Fix unparseable serialization when adding a key to a dotted-
      key table inside an inline table.
    * Fix a table replaced by a plain value being serialized inside
      the preceding table's body when other tables follow; the
      value now moves before the first table like other root-level
      values.
    * Fix assigning a table over a dotted key (e.g. `doc["a"] =
      {...}` where `a` came from `a.b = ...`): the dotted prefix
      was duplicated onto the new `[a]` header, and the header then
      swallowed any sibling that follows it on round-trip. The
      replacement now renders as a plain table and, when needed,
      moves before the inline entries (values and dotted keys) it
      would otherwise capture.
    * Restore `dumps()` rendering mapping-like wrappers around a
      parsed document (e.g. `dotty_dict`'s `Dotty`) through their
      delegated `as_string`, preserving the original table order
      and layout instead of re-encoding through a plain dict — a
      0.15.0 regression.
    * Fix uncontrolled recursion when parsing deeply nested
      documents: crafted input could crash the process with a
      `RecursionError`. Values nested more than 100 levels deep and
      keys with more than 100 dotted fragments now raise
      `ParseError`.
    * Fix `comment()` producing invalid TOML for a multiline string
      by prefixing every line with `#`, not just the first.
    * Fix the separator comma being swallowed by a trailing comment
      when appending a key to a multiline inline table, leaving the
      new key without a separator so the result no longer round-
      trips.
    * Fix a `KeyAlreadyPresent` error when parsing or accessing an
      out-of-order table whose array-of-tables elements are split
      across the table's parts.
    * Out-of-order value-vs-table and dotted-key-vs-table
      redefinitions are now rejected at parse time instead of being
      silently accepted or raising only on access. The parser also
      detects when a non-dotted key is a prefix of an existing
      dotted key, matching the stdlib `tomllib` behaviour.
    * Reject tables inserted into inline tables instead of
      serializing invalid TOML.
    * Fix assigning an array of tables over a dotted key (e.g.
      `doc["a"] = aot(...)` where `a` came from `a.b = ...`): the
      new `[[a]]` header kept the dotted key's inline position and
      swallowed the following dotted sibling on round-trip. The
      array of tables now renders past the inline entries it would
      otherwise capture, mirroring the table fix for #513.
    * Fix a new top-level scalar being captured by a table rendered
      from a dotted key: appending a scalar after a dotted-key
      entry (e.g. `a.b = 1`) whose table had gained a `[a.c]`-style
      child placed the scalar inside that table's scope, silently
      re-nesting it on round-trip. Scalars now move before such an
      entry, like they do before regular tables.
    * Fix invalid serialization with a duplicated `[table]` header
      when adding a key to an out-of-order table whose concrete
      header is declared after its sub-tables; the new key now
      lands in the existing concrete part instead of giving the
      header-less super part a second header.
    * Fix a table's display name (its exact header spelling,
      including whitespace and quoting) being normalised when the
      table is assigned onto itself, e.g. `doc[k] = doc[k]`
      rewriting `[keys .'a'.'c']` to `[keys.a.'c']`.
    * Fix missing newlines when appending a key after a dotted
      inline table, including when the original document has no
      trailing newline.
    * Preserve trailing whitespace when replacing a super table,
      including assigning it onto itself.
    * Fix `str()` and `repr()` of out-of-order table proxies to
      show their merged values.
    * Reject decimal integer literals that exceed Python's integer-
      string conversion limit instead of coercing them to infinity.
* Tue May 19 2026 Dirk Müller <dmueller@suse.com>
  - update to 0.15.0:
    * Update parser to support TOML spec v1.1.0.
* Tue Mar 10 2026 Dirk Müller <dmueller@suse.com>
  - update to 0.14.0:
    * Drop support for Python older than 3.9. Remove 3.8 from the
      CI matrix.
    * Custom encoders can now receive `_parent` and `_sort_keys`
      parameters to enable proper encoding of nested structures.
    * Add `String.type` property to get the string type.
    * Fixed `tomlkit.boolean()` API to correctly handle boolean
      inputs.
* Fri Sep 12 2025 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
  - Update to 0.13.3
    * Add `.item()` method to array and tables to retrieve
      an item by key. (#390)
    * Fix missing newline when parsing a separated array
      of tables without trailing new line. (#381)
    * Fix non-existing key error when deleting an item
      from an out-of-order table. (#383)
    * Ensure newline is added between the plain values
      and the first table. (#387)
    * Fix repeated whitespace when removing an array item. (#405)
    * Fix invalid serialization after removing array item
      if the comma is on its own line. (#408)
    * Fix serialization of a nested dotted key table. (#411)
    * Refine the error message when use non-string as single key. (#412)
    * Fix invalid serialization after overwriting a key of
      a out-of-order table. (#414)
* Mon Oct 28 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.13.2:
    * Fix deleting keys from an out-of-order table does not remove
      all table parts.
    * Fix the `Table.is_super_table()` check for tables with dotted
      key as the only child.
    * Count table as a super table if it has children and all
      children are either tables or arrays of tables.
    * Expect a tomlkit-specific error instead of `TypeError` from a
      custom encoder.
    * Drop support for Python older than 3.8. Remove 3.7 from the
      CI matrix.
    * Fix the incompatiblity with 3.13 because of the
      `datetime.replace()` change.
    * Revert the change of parsing out-of-order tables.
    * Keep the nested out-of-order table.
* Mon Jun 10 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.12.5:
    * fix: don't add sign if the float is negative
    * fix: Construction of OutOfOrderTableProxy can cause newlines
      to be inserted
* Wed Mar 13 2024 Dirk Müller <dmueller@suse.com>
  - update to 0.12.4:
    * Support `|` and `|=` operator for tables, and support `+` and
      `+=` operator for arrays.
    * Fix an index error when setting dotted keys in a table.
* Mon Nov 27 2023 Dirk Müller <dmueller@suse.com>
  - update to 0.12.3:
    * Improve the performance when parsing a table with nested
      dotted keys. (#193)
    * Keep the newlines when replacing a table. (#323)
    * Fixed a bug that overwriting a sub table with a plain value
      raises an error. (#313)
    * Correct the return type of integer division. (#312)
* Thu Sep 07 2023 Dirk Müller <dmueller@suse.com>
  - update to 0.12.1:
    * Make float and int hashable.
    * Allow users to specify encoders for custom types. (#296)
    * Fix the incorrect sort when building a table with dotted
      keys.
    * Complete the methods required for integer and float items.
    * Replace the deprecated usage of `datetime.utcnow()`. (#308)
    * Minor performance improvements when iterating over the escape
      sequences. (#304)
* Sun May 14 2023 Dirk Müller <dmueller@suse.com>
  - update to 0.11.8:
    * Remove the extra indentations added when parsing nested sub-
      tables.
    * Ignore the CRLF immediately following a multiple basic string
      opening.
    * Stringifying subtables and nested tables in arrays of tables.
    * Messed table structure when building a table with dotted
      keys.
* Tue Apr 25 2023 Matej Cepl <mcepl@suse.com>
  - add sle15_python_module_pythons (jsc#PED-68)
* Tue Apr 18 2023 Matej Cepl <mcepl@suse.com>
  - Don't add dependency on full poetry, when poetry-core is enough.
* Sun Apr 16 2023 Dirk Müller <dmueller@suse.com>
  - update to 0.11.7:
    * Parse empty table name if it is quoted. (#258)
    * Fix a bug that remove last element of an Inline Table leaves
      a comma. (#259)
    * Parse datetime when it is followed by a space. (#260)
    * Fix the `unwrap()` method for `Container` children values
      which sometimes returns an internal object if the table is an
      out-of-order table. (#264)
    * Fix the wrong return type when doing arithmetic operations
      between integers and floats. (#270)

Files

/usr/lib/python3.13/site-packages/tomlkit
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/METADATA
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/RECORD
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/WHEEL
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/licenses
/usr/lib/python3.13/site-packages/tomlkit-0.15.1.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/tomlkit/__init__.py
/usr/lib/python3.13/site-packages/tomlkit/__pycache__
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_compat.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_compat.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_types.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_types.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_utils.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/_utils.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/api.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/api.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/container.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/container.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/exceptions.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/exceptions.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/items.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/items.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/parser.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/parser.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/source.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/source.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/toml_document.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/toml_document.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/toml_file.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/tomlkit/__pycache__/toml_file.cpython-313.pyc
/usr/lib/python3.13/site-packages/tomlkit/_compat.py
/usr/lib/python3.13/site-packages/tomlkit/_types.py
/usr/lib/python3.13/site-packages/tomlkit/_utils.py
/usr/lib/python3.13/site-packages/tomlkit/api.py
/usr/lib/python3.13/site-packages/tomlkit/container.py
/usr/lib/python3.13/site-packages/tomlkit/exceptions.py
/usr/lib/python3.13/site-packages/tomlkit/items.py
/usr/lib/python3.13/site-packages/tomlkit/parser.py
/usr/lib/python3.13/site-packages/tomlkit/py.typed
/usr/lib/python3.13/site-packages/tomlkit/source.py
/usr/lib/python3.13/site-packages/tomlkit/toml_document.py
/usr/lib/python3.13/site-packages/tomlkit/toml_file.py
/usr/share/doc/packages/python313-tomlkit
/usr/share/doc/packages/python313-tomlkit/README.md
/usr/share/licenses/python313-tomlkit
/usr/share/licenses/python313-tomlkit/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Thu Aug 27 23:54:48 2026