14
0

Accepting request 782885 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/782885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.schema?expand=0&rev=12
This commit is contained in:
2020-03-11 17:43:31 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 5 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Mar 9 10:24:34 UTC 2020 - pgajdos@suse.com
- update to version 5.0.1
- Fix: add ``Text.unicode_normalization = 'NFC'`` as default, because some are
persisting schema fields. Setting that attribute only in ``__init__``
breaks loading old objects.
- Set ``IDecimal`` attributes ``min``, ``max`` and ``default`` as ``Decimal``
type instead of ``Number``.
See `issue 88 <https://github.com/zopefoundation/zope.schema/issues/88>`_.
- Enable unicode normalization for ``Text`` fields.
The default is NFC normalization. Valid forms are 'NFC', 'NFKC', 'NFD', and
'NFKD'. To disable normalization, set ``unicode_normalization`` to ``False``
or ``None`` when calling ``__init__`` of the ``Text`` field.
See `issue 86 <https://github.com/zopefoundation/zope.schema/issues/86>`_.
-------------------------------------------------------------------
Mon Oct 14 14:51:30 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.schema
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-zope.schema%{psuffix}
Version: 4.9.3
Version: 5.0.1
Release: 0
Summary: Zope interface extension for defining data schemas
License: ZPL-2.1

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d971da8707cab47b1916534b9929dcd9d7f23aed790e6b4cbe3103d5b18069d
size 98217

3
zope.schema-5.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca136177e7fcfe22d4a0183e2e87a71ccc25b804892a11389c8228513a902361
size 106251