Sync from SUSE:SLFO:Main python-tomli revision 3e5ddd98be94a5d2e267c10db36b11c1
This commit is contained in:
parent
b5bcf70268
commit
be1f20aa9a
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 11 11:11:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <mcepl@cepl.eu>
|
||||
|
||||
- Make testing more verbose
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:37:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tomli
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,11 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-tomli
|
||||
Version: 2.0.1
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: A lil' TOML parser
|
||||
License: MIT
|
||||
@ -58,12 +56,12 @@ export PYTHONPATH=$PWD/src
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pyunittest
|
||||
%pyunittest -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/tomli
|
||||
%{python_sitelib}/tomli-%{version}*-info
|
||||
%{python_sitelib}/tomli-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
BIN
tomli-2.0.1.tar.gz
(Stored with Git LFS)
BIN
tomli-2.0.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
tomli-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
tomli-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user