Sync from SUSE:SLFO:Main python-voluptuous revision efb607abd1d2c79dacd2f45b764ea08e

This commit is contained in:
Adrian Schröter 2024-12-13 12:36:21 +01:00
parent 4558c21882
commit 2daffd3c48
4 changed files with 62 additions and 10 deletions

BIN
python-voluptuous-0.13.1-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
python-voluptuous-0.15.2-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Sun Sep 8 16:37:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.15.2:
* 522 Fix regression with ALLOW_EXTRA and `Any` validator
-------------------------------------------------------------------
Sat Jun 29 07:00:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.15.1:
* #512: Add Any type to defaults
* #513: Only calculate hash once for Marker objects
* #514: Remove python 3.8 support
-------------------------------------------------------------------
Thu Mar 14 08:55:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.14.2:
* #507: docs: document description field of Marker
* #506: fix: allow unsortable containers in In and NotIn
validators (fixes #451)
* #488: fix(typing): fix type hint for Coerce type param
* #497: fix(typing): allow path to be a list of strings,
integers or any other hashables
* #499: support: drop support for python 3.7
* #501: support: run tests on python 3.11
* #502: support: run tests on python 3.12
* #495: refactor: drop duplicated type checks in
Schema._compile
* #500: refactor: fix few tests, use pytest.raises, extend
raises helper
* #503: refactor: Add linters configuration, reformat whole
code
-------------------------------------------------------------------
Wed Dec 13 10:40:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.14.1:
* Add `python_requires` so package installers know
requirement is >= 3.7
* Fix a few code comment typos
* Change to SPDX conform license string
* Add typing information
* Fix new type hint of schemas, for example for
`Required('key')`
* Fix new type hints and enable `mypy`
* Allow error reporting on keys
* Set static PyPI project description
* Remove Travis build status badge
-------------------------------------------------------------------
Sat Oct 1 14:37:36 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-voluptuous
#
# Copyright (c) 2022 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,17 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-voluptuous
Version: 0.13.1
Version: 0.15.2
Release: 0
Summary: A Python data validation library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/alecthomas/voluptuous
Source: https://github.com/alecthomas/voluptuous/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -40,10 +41,10 @@ coming into Python as JSON, YAML, etc.
%setup -q -n voluptuous-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -52,6 +53,7 @@ coming into Python as JSON, YAML, etc.
%files %{python_files}
%license COPYING
%doc README.md
%{python_sitelib}/*
%{python_sitelib}/voluptuous
%{python_sitelib}/voluptuous-*.dist-info
%changelog