From ff33a4dda3708bfa7751c92e0175b051277a1ac9c80b8d42f483aedfde99048f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 26 Feb 2022 11:28:30 +0000 Subject: [PATCH] Accepting request 957578 from home:susnux:branches:devel:languages:python - Update to version 1.0.0 * Removed support for Python 3.6 * Positional arguments of dump and dumps can no longer be passed by keyword. * Revised logic for when the "Array of Tables" syntax will be used. AoT syntax is used when at least one of the tables needs multiple lines, or a single line wider than 100 chars, when rendered inline. * A nested structure no longer alone triggers the AoT syntax. - Update to version 0.4.0 * Added support for formatting Python tuples as TOML arrays. * Fixed formatting of decimal.Decimal("inf"), decimal.Decimal("-inf") and decimal.Decimal("nan"). * A list of dicts is now rendered using the "Array of Tables" syntax if at least one of the tables is a nested structure, or at least one of the tables would need a line wider than 100 chars when rendered inline. OBS-URL: https://build.opensuse.org/request/show/957578 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomli-w?expand=0&rev=3 --- python-tomli-w.changes | 19 +++++++++++++++++++ python-tomli-w.spec | 6 +++--- tomli-w-0.3.0-gh.tar.gz | 3 --- tomli-w-1.0.0-gh.tar.gz | 3 +++ 4 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 tomli-w-0.3.0-gh.tar.gz create mode 100644 tomli-w-1.0.0-gh.tar.gz diff --git a/python-tomli-w.changes b/python-tomli-w.changes index 72e6df9..9a3965a 100644 --- a/python-tomli-w.changes +++ b/python-tomli-w.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Feb 25 11:48:21 UTC 2022 - Ferdinand Thiessen + +- Update to version 1.0.0 + * Removed support for Python 3.6 + * Positional arguments of dump and dumps can no longer be passed by keyword. + * Revised logic for when the "Array of Tables" syntax will be used. + AoT syntax is used when at least one of the tables needs multiple + lines, or a single line wider than 100 chars, when rendered inline. + * A nested structure no longer alone triggers the AoT syntax. +- Update to version 0.4.0 + * Added support for formatting Python tuples as TOML arrays. + * Fixed formatting of decimal.Decimal("inf"), + decimal.Decimal("-inf") and decimal.Decimal("nan"). + * A list of dicts is now rendered using the "Array of Tables" + syntax if at least one of the tables is a nested structure, + or at least one of the tables would need a line wider than 100 + chars when rendered inline. + ------------------------------------------------------------------- Fri Oct 15 17:48:29 UTC 2021 - Ben Greiner diff --git a/python-tomli-w.spec b/python-tomli-w.spec index a7665d2..ea293d6 100644 --- a/python-tomli-w.spec +++ b/python-tomli-w.spec @@ -1,7 +1,7 @@ # -# spec file for package python-tomli +# spec file for package python-tomli-w # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-tomli-w -Version: 0.3.0 +Version: 1.0.0 Release: 0 Summary: A lil' TOML writer License: MIT diff --git a/tomli-w-0.3.0-gh.tar.gz b/tomli-w-0.3.0-gh.tar.gz deleted file mode 100644 index 3e3e58d..0000000 --- a/tomli-w-0.3.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60a8b8d9928e4baae441f3b58c2975de74eb4856ac224c9a8059b15d97380e47 -size 61366 diff --git a/tomli-w-1.0.0-gh.tar.gz b/tomli-w-1.0.0-gh.tar.gz new file mode 100644 index 0000000..e8890c4 --- /dev/null +++ b/tomli-w-1.0.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d +size 63862