Commit Graph

41 Commits

Author SHA256 Message Date
Ana Guerrero
e0418c07a8 Accepting request 1179656 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1179656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=18
2024-06-10 15:38:03 +00:00
26abc3f0dd - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=39
2024-06-10 08:52:15 +00:00
Ana Guerrero
8cf5ec4c27 Accepting request 1157519 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1157519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=17
2024-03-13 21:20:50 +00:00
a3cd6bf689 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=37
2024-03-13 10:17:29 +00:00
Ana Guerrero
fac671ad3b Accepting request 1129195 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1129195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=16
2023-11-27 21:44:46 +00:00
c60b062b4c - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=35
2023-11-27 16:11:02 +00:00
Ana Guerrero
fd9859cc44 Accepting request 1109526 from devel:languages:python
- 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)

- Update to 0.11.6
  * Auto-determine if a table is a super table if not specified explicitly. (#245)
  * Added support for sorting keys when dumping raw
  * Keys are not longer sorted by default when dumping a raw

OBS-URL: https://build.opensuse.org/request/show/1109526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=15
2023-09-07 19:13:49 +00:00
98bd657f36 - 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)
- Update to 0.11.6
  * Auto-determine if a table is a super table if not specified explicitly. (#245)
  * Added support for sorting keys when dumping raw
  * Keys are not longer sorted by default when dumping a raw

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=33
2023-09-07 11:30:39 +00:00
Dominique Leuenberger
af6654a409 Accepting request 1087083 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1087083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=14
2023-05-14 14:31:57 +00:00
b9335682c0 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=31
2023-05-14 09:48:47 +00:00
Dominique Leuenberger
2ed5702f78 Accepting request 1083125 from devel:languages:python
- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/request/show/1083125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=13
2023-04-28 14:22:21 +00:00
576f42b42a - add sle15_python_module_pythons (jsc#PED-68)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=29
2023-04-26 21:11:54 +00:00
Dominique Leuenberger
222ff674d5 Accepting request 1080076 from devel:languages:python
- Don't add dependency on full poetry, when poetry-core is enough.
- 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)

OBS-URL: https://build.opensuse.org/request/show/1080076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=12
2023-04-25 14:54:14 +00:00
67afe3a997 Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=27
2023-04-18 08:37:18 +00:00
4b8f77ae29 - Don't add dependency on full poetry, when poetry-core is enough.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=26
2023-04-18 06:47:41 +00:00
7878cd31d2 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=25
2023-04-16 08:12:48 +00:00
Dominique Leuenberger
f5724e1c73 Accepting request 1035274 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=11
2022-11-12 16:40:20 +00:00
Markéta Machová
47a804022f Accepting request 1034934 from home:yarunachalam:branches:devel:languages:python
- Update to 0.11.6 
  Fixed
  * Allow broader type for toml file path value (#243)
  * Auto-determine if a table is a super table if not specified explicitly. (#245)

OBS-URL: https://build.opensuse.org/request/show/1034934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=23
2022-11-11 13:36:57 +00:00
Richard Brown
fedf9a2f29 Accepting request 1007720 from devel:languages:python
- update to 0.11.5:
  * Fix the type annotation of `unwrap()` and datetime parsing.
  * Clear the existing table header when it is adding to another table.
  * Fix a bug that escape chars are lost after concat with another string.
  * Fix a rendering issue of tables inside arrays or inline tables.

OBS-URL: https://build.opensuse.org/request/show/1007720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=10
2022-10-04 18:37:15 +00:00
b8a51ec855 - update to 0.11.5:
* Fix the type annotation of `unwrap()` and datetime parsing.
  * Clear the existing table header when it is adding to another table.
  * Fix a bug that escape chars are lost after concat with another string.
  * Fix a rendering issue of tables inside arrays or inline tables.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=21
2022-10-03 16:07:22 +00:00
Dominique Leuenberger
e75e217632 Accepting request 1005791 from devel:languages:python
- update to 0.11.4:
  * Fix a memory leak caused by `lru_cache` on methods.
  * Fix a regression issue that copying an array results in extra `None` items.
  * Fix a regression of `array.add_line` that it incorrectly adds a comma to
    non-value lines.
  * Fix adding float to an integer value.
  * Keep the end-of-array style when adding items to or removing items from an array.
  * Fix a bug of redundant table header shown when removing children from a
    super table.

OBS-URL: https://build.opensuse.org/request/show/1005791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=9
2022-09-25 13:34:42 +00:00
52a262d87e - update to 0.11.4:
* Fix a memory leak caused by `lru_cache` on methods.
  * Fix a regression issue that copying an array results in extra `None` items.
  * Fix a regression of `array.add_line` that it incorrectly adds a comma to
    non-value lines.
  * Fix adding float to an integer value.
  * Keep the end-of-array style when adding items to or removing items from an array.
  * Fix a bug of redundant table header shown when removing children from a
    super table.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=19
2022-09-24 16:13:44 +00:00
Richard Brown
834b3b8e41 Accepting request 989026 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=8
2022-07-18 16:32:45 +00:00
2ab0fbe7ad Accepting request 989017 from home:bnavigator:branches:devel:languages:python
- Update to version 0.11.1
  * Keep consistent line endings when changing files. (#201)
  * Make KeyAlreadyPresent and InvalidStringError subclasses of
    ParseError. (#202)
  * Remove empty table from OutOfOrderTableProxy when deleting
    items. (#204)
  * Raise errors when trying to access unsupported methods on
    OutOfOrderTableProxy. (#205)
  * Fix unwrap() for String values to remove the quotes. (#199)
- Release 0.11.0
  * Add unwrap method to recursive convert to plain old python
    objects by @syntapy in #187
  * Remove the is_tomlkit check by @frostming in #195
- Release 0.10.2
  * Use the plain python string representation of Key in
    KeyAlreadyPresent error message. (#185)
  * Fix the astimezone() and replace() methods of datetime objects.
    (#188)
  * Add type definitions for items() function. (#190)
- Release 0.10.1
  * Preserve the newlines before super tables when rendering.
    (#178)
  * Fix the bug that comments are appended with comma when
    rendering a multiline array. (#181)
- Release 0.10.0
  * Fix the only child detection when creating tables. (#175)
  * Include the docs/ directory and CHANGELOG.md in sdist tarball.
    (#176)
  * Add keyword arguments to string API to allow selecting the
    representation type. (#177)

OBS-URL: https://build.opensuse.org/request/show/989017
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=17
2022-07-13 17:25:17 +00:00
Dominique Leuenberger
8502553e04 Accepting request 948284 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/948284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=7
2022-02-03 22:15:57 +00:00
ea9fd4f44e Accepting request 948282 from home:mcepl:branches:devel:languages:python
- Update to version 0.8.0:
  - Drop support for Python<3.6.
  - Comply with TOML v1.0.0.
  - And many bug fixes

OBS-URL: https://build.opensuse.org/request/show/948282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=16
2022-01-23 23:11:57 +00:00
Dominique Leuenberger
75f4fcf7dc Accepting request 839722 from devel:languages:python
- Update to version 0.7.0
  * Added support for sorting keys when dumping raw 
    dictionaries by passing sort_keys=True to dumps() (#103).
  * Keys are not longer sorted by default when dumping a raw 
    dictionary but the original order will be preserved (#103).
  * Fixed compliance with the 1.0.0rc1 TOML specification (#102).

OBS-URL: https://build.opensuse.org/request/show/839722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=6
2020-10-29 08:46:35 +00:00
Tomáš Chvátal
9f06f97215 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=14 2020-10-06 08:31:55 +00:00
Dominique Leuenberger
37fdf8f949 Accepting request 822437 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=5
2020-08-01 10:30:29 +00:00
Tomáš Chvátal
6476128973 Accepting request 822426 from home:mcalabkova:branches:devel:languages:python
- update to version 0.6.0
  * Added support for heterogeneous arrays

OBS-URL: https://build.opensuse.org/request/show/822426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=12
2020-07-23 14:30:10 +00:00
Dominique Leuenberger
7251ff036c Accepting request 784176 from devel:languages:python
- Fix build without python2

- version update to 0.5.11
  * Fix containers and our of order tables dictionary behavior (#82))
  * Fixed out of order tables not behaving properly (#79)
  * Fixed the behavior for out of order tables (#68).
  * Fixed parsing errors when single quotes are present in a table name (#71).
  * Fixed parsing errors when parsing some table names (#76).

OBS-URL: https://build.opensuse.org/request/show/784176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=4
2020-03-26 23:21:29 +00:00
Tomáš Chvátal
11c2d4373e - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=10
2020-03-12 08:03:45 +00:00
Tomáš Chvátal
5d5f38bfd1 Accepting request 783784 from home:pgajdos:python
- version update to 0.5.11
  * Fix containers and our of order tables dictionary behavior (#82))
  * Fixed out of order tables not behaving properly (#79)
  * Fixed the behavior for out of order tables (#68).
  * Fixed parsing errors when single quotes are present in a table name (#71).
  * Fixed parsing errors when parsing some table names (#76).

OBS-URL: https://build.opensuse.org/request/show/783784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=9
2020-03-11 11:46:12 +00:00
Dominique Leuenberger
52515967a8 Accepting request 751845 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/751845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=3
2019-12-07 14:19:25 +00:00
Tomáš Chvátal
802eafebb6 Accepting request 751682 from home:mcepl:branches:devel:languages:python
- Update to 0.5.8:
  - Added support for producing multiline arrays

OBS-URL: https://build.opensuse.org/request/show/751682
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=7
2019-11-29 09:48:48 +00:00
Dominique Leuenberger
7569f596de Accepting request 736034 from devel:languages:python
- Update to 0.5.7:
  * Fixed handling of inline tables.
  * Fixed boolean comparison.
  * Fixed appending inline tables to tables.

- Update to 0.5.5:
  * Fixed display of inline tables after element deletion.
  * Fixed the handling of inline tables.
  * Fixed date, datetime and time handling on Python 3.8.
  * Fixed behavior for sub table declaration with intermediate tables.
  * Fixed behavior of setdefault() on containers (Thanks to @AndyKluger).
  * Fixed tables string representation.

OBS-URL: https://build.opensuse.org/request/show/736034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=2
2019-10-10 09:51:33 +00:00
Tomáš Chvátal
6cd52adf42 - Update to 0.5.7:
* Fixed handling of inline tables.
  * Fixed boolean comparison.
  * Fixed appending inline tables to tables.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=5
2019-10-08 09:06:16 +00:00
Tomáš Chvátal
b95e7ce7f0 - Update to 0.5.5:
* Fixed display of inline tables after element deletion.
  * Fixed the handling of inline tables.
  * Fixed date, datetime and time handling on Python 3.8.
  * Fixed behavior for sub table declaration with intermediate tables.
  * Fixed behavior of setdefault() on containers (Thanks to @AndyKluger).
  * Fixed tables string representation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=4
2019-07-22 12:38:50 +00:00
Dominique Leuenberger
14a200ed88 Accepting request 681700 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tomlkit?expand=0&rev=1
2019-03-22 13:59:20 +00:00
Tomáš Chvátal
e3de11b9d6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=2 2019-03-05 11:23:19 +00:00
Tomáš Chvátal
f5f5933e8a osc copypac from project:home:jayvdb:coala:python3-bears package:python-tomlkit revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=1
2019-03-05 11:13:58 +00:00