forked from pool/python-typedload
- update to 2.26:
* Update type hints file
* Improve performance for loading objects
(attrs/dataclasses/NamedTuple)
* Improve performance for loading dictionary keys that are
basic types
* Improve performance for loading dataclasses
* Switch performance tests to test against pydantic2
* Drop support to Python 3.7 (which has reached EOL)
* Make is_optional slightly faster
* Keep track of the index when loading iterables the first time
* It makes the normal case slightly slower, and gives massive
performance improvements when exceptions are raised.
* When loading a string into datetime.date/time/datetime, ISO
8601 is used
* When dumping, setting `isodates=True` dumps an ISO 8601
string instead of a list of ints. The previous behaviour is
now deprecated.
* Add support for datetime.timedelta. It is dumped as a float
representing seconds
* Deprecate dump handlers without type hints
* Improve performance for dumping, by carrying type hints
* Remove `jsons` and `dataclasses-json` from benchmarks.
* They were too slow to be a useful comparison.
* Improve loading time for literals
* Support attrs converter
* Drop support to Python 3.5 and 3.6
* Improve performance for dumping
* Generate pure python wheel
* Switch to setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typedload?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 10:19:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.26:
|
||||
* Update type hints file
|
||||
* Improve performance for loading objects
|
||||
(attrs/dataclasses/NamedTuple)
|
||||
* Improve performance for loading dictionary keys that are
|
||||
basic types
|
||||
* Improve performance for loading dataclasses
|
||||
* Switch performance tests to test against pydantic2
|
||||
* Drop support to Python 3.7 (which has reached EOL)
|
||||
* Make is_optional slightly faster
|
||||
* Keep track of the index when loading iterables the first time
|
||||
* It makes the normal case slightly slower, and gives massive
|
||||
performance improvements when exceptions are raised.
|
||||
* When loading a string into datetime.date/time/datetime, ISO
|
||||
8601 is used
|
||||
* When dumping, setting `isodates=True` dumps an ISO 8601
|
||||
string instead of a list of ints. The previous behaviour is
|
||||
now deprecated.
|
||||
* Add support for datetime.timedelta. It is dumped as a float
|
||||
representing seconds
|
||||
* Deprecate dump handlers without type hints
|
||||
* Improve performance for dumping, by carrying type hints
|
||||
* Remove `jsons` and `dataclasses-json` from benchmarks.
|
||||
* They were too slow to be a useful comparison.
|
||||
* Improve loading time for literals
|
||||
* Support attrs converter
|
||||
* Drop support to Python 3.5 and 3.6
|
||||
* Improve performance for dumping
|
||||
* Generate pure python wheel
|
||||
* Switch to setuptools
|
||||
* Since python decided to drop the only installation method
|
||||
available within the stdlib
|
||||
* Add pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 29 16:22:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 2.19
|
||||
- Update to version 2.19
|
||||
* Fix minor bug about exception raising from string constructed types
|
||||
* Simplify type checking functions, defining only the one for the current python version
|
||||
* Fix type definitions of some private functions for compatibility with cython
|
||||
@@ -13,7 +50,7 @@ Sat Oct 29 16:22:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 16:23:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 2.18
|
||||
- Update to version 2.18
|
||||
* Fix bug with loading generators that raise exceptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-typedload
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 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-typedload
|
||||
Version: 2.19
|
||||
Version: 2.26
|
||||
Release: 0
|
||||
Summary: Load and dump data from json-like format into typed data structures
|
||||
License: GPL-3.0-only
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0acaced3fb84b17c772708cee0413e03f4ac6485deb663ff5f0c9e4cfc0c6c05
|
||||
size 81538
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEQnSLnnbYmXmeH74Us6fPDIAYhs8FAmM7NuMACgkQs6fPDIAY
|
||||
hs8PHw/6At+y4leuDXa+sxRUctWtVey7Yf96+Sa4pjEk++sj1YylrteIMzMrCjwh
|
||||
HCyvvGttUliY1Ce9u41bn/i68nwljFVGwHGcTH53GG0DxWxzuyNztgFwjHjlih3I
|
||||
CaRAQf7Gl31g+tGz+IXxyNmXphXABM6dapy7vN5qPEGDvE/GFZgK9DPciGCfB6wG
|
||||
+l3xbqehYKANecNCksYRw64wFewrx9w0+uAcrl3SHvbRw44wZ9kjPMXHC9UHKIv1
|
||||
YGlBHMQzdtOm1p30LBoLpCkdaKwzuH7q3KlxTaQnpR0Y9N9+vDaCGQ2/d5F71VRP
|
||||
HU/kgoYGEhNiLJzkoOK+9ke2S+IUCVc5asG5ZUi6zWLcLbWK3I5VKLVWvG6Juh/U
|
||||
ya1jfnfFyGbvnCOJC3t8EXAZfaQOtfRT47NlRm8kbxDB8X5fEgNF370WVXurgrpS
|
||||
L3oHxIdSjzLeEeIqGeIE9zL0eeEgLLvNE9vurBdl3Nl1BewFz/ybHOLGdf/3YlNp
|
||||
T//zzaMekD2+dTlfGSBtfllGrq1WO1KhE3sUISYOYTQaephU8h5pHdvvMmSY3t0r
|
||||
tOMJrOsZWQAAg1xwNk5FlWJpJDqmT47+2F4iMcSQxqCPMNDKow9i+ULZkHW+rTir
|
||||
ITKLkal4JV8F7wmxo9E6ocPE9kjX8bh440jwOrS58JYA8GF/S7g=
|
||||
=++fS
|
||||
-----END PGP SIGNATURE-----
|
||||
3
typedload_2.26.orig.tar.gz
Normal file
3
typedload_2.26.orig.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7eda20d94882655284cdbe3e21d38b3bc25b4e1b1970e18e51441526f758c13a
|
||||
size 91414
|
||||
16
typedload_2.26.orig.tar.gz.asc
Normal file
16
typedload_2.26.orig.tar.gz.asc
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEQnSLnnbYmXmeH74Us6fPDIAYhs8FAmT/AYIACgkQs6fPDIAY
|
||||
hs92vQ//cJuX/sCO6efN7SN5gbXkFhWr9FSAuDL2KOsxWJQnHEMZoz/hXvyPFdem
|
||||
U97gzdCHbq+zj9yeZq00gOAWZfB5MiS0osMfo3fAgLbyezDkufMr/CfjkoRUl6S1
|
||||
dahjACYwhuzCtKDBmTxeHw68GL27pXRey4O466xDR0mp57F6Aae95wesZBD50C0f
|
||||
NIUQvbRFNpK33BXTSDaULPw7r8gvicfqsTwyJbF+aQsav2mrvCPcRkmk3amY+R8Q
|
||||
vLGuLhzcAq6xDUyi/Zvn3FZcGueuRu0BuxTGxtUCcTEHvhj0QEAkJMyIskewCcEE
|
||||
szh+PzD7OL6kiruth4ARJiOqGyyYGmHN9UC0m+eL5cENWZ1XiwLY4eWqJ7wXaNgz
|
||||
vcTcY07mmf+TRq+B4lkDbSw3KMuYrrAr4H44kHy7QkbHEv85NV8abQIeBy3fYEAb
|
||||
73dqHd+BvBQmhTuFTgLanmupE9zh3eUqkqn6GcU+evCsh7rl2iVQ6Mrl9Xlc0Bcn
|
||||
XRNAFQc4AE9W5V552pFsN41ATJGCGr4OB/uAcrfKkRXAU8ju34CChmYEBXTYoV6k
|
||||
GHqIovQbSpEFROSHAoTnZzOGBQyK+fGWsXARNv0X8bMRXIBRhbYCwGtDll3xp0c1
|
||||
HTtU7mtPOimnofbWgdg4QIqDjvJjzN1jXphvJHB5BWcw1EE9Ybk=
|
||||
=Cc8F
|
||||
-----END PGP SIGNATURE-----
|
||||
Reference in New Issue
Block a user