Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 126fe13d76 | |||
| da095e7dc6 | |||
| 34006e59e3 | |||
| 8276e5abbc |
3
dacite-1.9.2.tar.gz
Normal file
3
dacite-1.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cec83bf402dc6ac0e5a2030500ef7296ad4d5c77e756475252b99e89a4d5ebfa
|
||||
size 29435
|
||||
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 9 10:22:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Skip failing test on Python 3.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 26 14:38:10 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Update to 1.9.2
|
||||
* Fix class Data(Protocol) types declaration
|
||||
* fix readonly args
|
||||
- Update to 1.9.1
|
||||
* Do not assign to hint.args if concretized hint_args are the same
|
||||
- Update to 1.9.0
|
||||
* Support generics, forward references and case conversion
|
||||
* improve Data typing
|
||||
* support generics and forward references
|
||||
* Fix issues with caching internal function calls
|
||||
* Fix CI
|
||||
* Update actions versions, add Python 3.12 and 3.13 to test matrix
|
||||
* Suppress context in ForwardReferenceError and MissingValueError
|
||||
* Check for non empty union matches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 11:40:01 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dacite
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
Name: python-dacite
|
||||
Version: 1.8.1
|
||||
Version: 1.9.2
|
||||
Release: 0
|
||||
Summary: Simple creation of data classes from dictionaries
|
||||
License: MIT
|
||||
URL: https://github.com/konradhalas/dacite
|
||||
Source: https://github.com/konradhalas/dacite/archive/refs/tags/v%{version}.tar.gz
|
||||
Source: https://github.com/konradhalas/dacite/archive/refs/tags/v%{version}.tar.gz#/dacite-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -42,6 +42,8 @@ Simplifies creating type-hinted data transfer objects (DTOs) from dictionaries,
|
||||
%prep
|
||||
%autosetup -p1 -n dacite-%{version}
|
||||
sed -ri 's/--benchmark-[^ "]+//g' pyproject.toml
|
||||
# fix wrong version in setup.py, see gh#konradhalas/dacite#daad7e4
|
||||
sed -i 's/1.9.1/1.9.2/g' setup.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -51,7 +53,8 @@ sed -ri 's/--benchmark-[^ "]+//g' pyproject.toml
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest tests
|
||||
# test_from_dict_with_union_and_wrong_data - fails on Python 3.14 because of a slightly changed error message
|
||||
%pytest tests -k "not test_from_dict_with_union_and_wrong_data"
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/dacite
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:791ac3da85a040684a96df59e2320dc7b3cac000ff536e3f4b00fb3b67520b86
|
||||
size 26038
|
||||
Reference in New Issue
Block a user