Sync from SUSE:SLFO:Main python-tomlkit revision 46aad4b3e29ad650b8e3b3877b58fc5f

This commit is contained in:
Adrian Schröter 2024-12-13 12:31:31 +01:00
parent ce65bfaedc
commit 77daee840c
4 changed files with 51 additions and 5 deletions

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Mon Oct 28 11:49:02 UTC 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 08:51:40 UTC 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 10:17:11 UTC 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 16:10:05 UTC 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 7 11:29:45 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu Sep 7 11:29:45 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-tomlkit # spec file for package python-tomlkit
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-tomlkit Name: python-tomlkit
Version: 0.12.1 Version: 0.13.2
Release: 0 Release: 0
Summary: Style preserving TOML library Summary: Style preserving TOML library
License: MIT License: MIT

BIN
tomlkit-0.12.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
tomlkit-0.13.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.