From 780dfed229e62e564df629ef92db19f5a05cc2ec228e336ac9ee98fb37a3738a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 11 Oct 2024 12:07:38 +0000 Subject: [PATCH] Accepting request 1207140 from home:glaubitz:branches:devel:languages:python - Update to 2.0.2 * Removed - Python 3.7 support * Improved - Make `loads` raise `TypeError` not `AttributeError` on bad input types that do not have the `replace` attribute. Improve error message when `bytes` is received. * Type annotations - Type annotate `load` input as `typing.IO[bytes]` (previously `typing.BinaryIO`). OBS-URL: https://build.opensuse.org/request/show/1207140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomli?expand=0&rev=17 --- python-tomli.changes | 14 ++++++++++++++ python-tomli.spec | 2 +- tomli-2.0.1.tar.gz | 3 --- tomli-2.0.2.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 4 deletions(-) delete mode 100644 tomli-2.0.1.tar.gz create mode 100644 tomli-2.0.2.tar.gz diff --git a/python-tomli.changes b/python-tomli.changes index aa3fc4e..5c5893d 100644 --- a/python-tomli.changes +++ b/python-tomli.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Oct 11 11:11:23 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.0.2 + * Removed + - Python 3.7 support + * Improved + - Make `loads` raise `TypeError` not `AttributeError` on bad + input types that do not have the `replace` attribute. + Improve error message when `bytes` is received. + * Type annotations + - Type annotate `load` input as `typing.IO[bytes]` + (previously `typing.BinaryIO`). + ------------------------------------------------------------------- Mon Aug 12 14:30:46 UTC 2024 - Matej Cepl diff --git a/python-tomli.spec b/python-tomli.spec index f2af05f..b8ae256 100644 --- a/python-tomli.spec +++ b/python-tomli.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-tomli -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: A lil' TOML parser License: MIT diff --git a/tomli-2.0.1.tar.gz b/tomli-2.0.1.tar.gz deleted file mode 100644 index 48a17b0..0000000 --- a/tomli-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad22dbc128623e0c156ffaff019f29f456eba8a5d5a05164dd34f63e560449df -size 133685 diff --git a/tomli-2.0.2.tar.gz b/tomli-2.0.2.tar.gz new file mode 100644 index 0000000..2c0ec21 --- /dev/null +++ b/tomli-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3a652f16bf326ba763ada67169165daf87ff9c465e21ad8264f2657beaf5264 +size 135227