14
0

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
This commit is contained in:
2022-02-26 11:28:30 +00:00
committed by Git OBS Bridge
parent 98ebcc7197
commit ff33a4dda3
4 changed files with 25 additions and 6 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Feb 25 11:48:21 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- 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 <code@bnavigator.de>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60a8b8d9928e4baae441f3b58c2975de74eb4856ac224c9a8059b15d97380e47
size 61366

BIN
tomli-w-1.0.0-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.