File python-zope.schema.changes of Package python-zope.schema

-------------------------------------------------------------------
Mon May  5 11:08:56 UTC 2025 - Markéta Machová <mmachova@suse.com>

- Modernize packaging

-------------------------------------------------------------------
Thu Jun  1 20:35:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

- use python3 module python for sle15 

-------------------------------------------------------------------
Fri Jan  6 12:40:52 UTC 2023 - Dirk Müller <dmueller@suse.com>

- update to 7.0.1:
  * Fix fallback when ``zope.i18nmessageid`` is not installed (regression
  introduced in 7.0.0).
  * Add support for Python 3.11.
  * Drop support for Python 2.7, 3.5, 3.6.
  * Drop ``zope.schema._compat`` module.
  * Fix test deprecation warning on Python 3.11.

-------------------------------------------------------------------
Fri Sep 16 12:03:45 UTC 2022 - Markéta Machová <mmachova@suse.com>

- Update to 6.2.1
  * Fix incompatibility introduced in 6.1.0: The Bool field constructor 
    implicitly set required to False if not given. 
  * Add support for Python 3.10.
  * Fix outsized integer test values that break tests on newer Python versions.

-------------------------------------------------------------------
Mon Sep 12 14:02:56 UTC 2022 - Markéta Machová <mmachova@suse.com>

- Skip tests which broke with https://github.com/python/cpython/issues/95778

-------------------------------------------------------------------
Fri Jul  9 20:45:19 UTC 2021 - Jason Craig <os@jacraig.com>

- Update to 6.1.0
  * Fix IField.required to not be required by default.
- Changes from 6.0.1
  * Bring branch coverage to 100%.
  * Add support for Python 3.9.
  * Fix FieldUpdateEvent implementation by having an object attribute
    as the IFieldUpdatedEvent interfaces claims there should be.

-------------------------------------------------------------------
Tue Mar 24 14:30:23 UTC 2020 - pgajdos@suse.com

- version update to 6.0.0
  - Require zope.interface 5.0.
  - Ensure the resolution orders of all fields are consistent and make
    sense. In particular, ``Bool`` fields now correctly implement
    ``IBool`` before ``IFromUnicode``. See `issue 80
    <https://github.com/zopefoundation/zope.schema/issues/80>`_.
  - Add support for Python 3.8.
  - Drop support for Python 3.4.
- deleted sources
  - pre_checkin.sh (not needed)

-------------------------------------------------------------------
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>

- Replace %fdupes -s with plain %fdupes; hardlinks are better.

-------------------------------------------------------------------
Tue Apr  2 11:44:31 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

- update to version 4.9.3
  4.5.0:
  * Add support for Python 3.5 and 3.6.
  * Drop support for Python 2.6, 3.2, and 3.3.
  * Drop support for ‘setup.py test’. Use zope.testrunner instead.
  4.6.0
  * Add support for Python 3.7.
  * Choice, SimpleVocabulary and SimpleTerm all gracefully handle 
    using Unicode token values with non-ASCII characters by encoding 
    them with the backslashreplace error handler.
  * Add fields and interfaces representing Python’s numeric tower.
  * More various enhancements.
  4.6.1
  * Fix the Field constructor to again allow MessageID values for 
    the description.
  4.6.2
  * Fix checking a field’s constraint to set the field and value 
    properties if the constraint raises a ValidationError.
  4.7.0
  * Give various classes some fields.
  4.8.0
  * Fix passing None as the description to a field constructor.
  4.9.0
  * Make NativeString and NativeStringLine distinct types.
  * Fix Field.getDoc() when value_type or key_type is present. 
  * Make DottedName accept leading underscores for each segment.
  4.9.1
  * Fix SimpleTerm token for non-ASCII bytes values.
  4.9.2
  * Make sure that the title for IObject.validate_invariants is a 
    unicode string.
  4.9.3
  * Fixed a ReST error in getDoc() results when having “subfields” 
    with titles.
- drop *-doc subpackage, use multibuild instead

-------------------------------------------------------------------
Tue Dec  4 13:11:31 UTC 2018 - Matej Cepl <mcepl@suse.com>

- Remove superfluous devel dependency for noarch package

-------------------------------------------------------------------
Thu Jul 13 20:31:17 UTC 2017 - aloisio@gmx.com

- Converted to single-spec
- Split docs and tests into separate -doc package since running
  tests and sometimes building docs had become very messy.
  Also see (gh#/zopefoundation/zope.proxy#18)

-------------------------------------------------------------------
Fri May 15 13:11:18 UTC 2015 - benoit.monin@gmx.fr

- update to version 4.4.2:
  * Fix description of min max field: max value is included,
    not excluded.
- additional changes from version 4.4.1:
  * Added support for Python 3.4.
- switch the source archive to tar.gz (zip not available)
- remove unzip from BuildRequires
- pass -q to test to avoid spamming the build log

-------------------------------------------------------------------
Fri Feb 28 20:02:35 UTC 2014 - os-dev@jacraig.com

- Update to 4.4.0:
  * Add an event on field properties to notify that a field has been updated.
    This event enables definition of subscribers based on an event, a context
    and a field. The event contains also the old value and the new value.
    (also see package ``zope.schemaevent`` that define a field event handler)
- Changes from 4.3.3:
  * PEP 8 cleanup.
  * Don't raise RequiredMissing if a field's defaultFactory returns the field's
    missing_value.
  * Updated ``boostrap.py`` to version 2.2.
  * Add the ability to swallow ValueErrors when rendering a SimpleVocabulary,
    allowing for cases where vocabulary items may be duplicated (e.g., due to
    user input).
  * It was a pain that ``ConstraintNotSatisfied`` did not tell the field name.

-------------------------------------------------------------------
Mon Jul 29 12:16:07 UTC 2013 - hpj@urpla.net

- generate separate -doc package

-------------------------------------------------------------------
Wed Mar 20 10:50:22 UTC 2013 - speilicke@suse.com

- Add (Build)Requires python-ordereddict for SLE_11 only

-------------------------------------------------------------------
Fri Mar 15 13:44:06 UTC 2013 - speilicke@suse.com

- Initial version

openSUSE Build Service is sponsored by