17
0

21 Commits

Author SHA256 Message Date
f0c5211d99 Accepting request 1285955 from devel:languages:python
- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=9
2025-06-16 09:13:03 +00:00
01c3c5b4a7 - Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=22
2025-06-16 06:20:07 +00:00
7e1dd3864a Accepting request 1138687 from devel:languages:python
- update to 2.0:
  * Drop support for Python 2.7, 3.4, 3.5, 3.6.
  * Add support for Python 3.10, 3.11.
  * [breaking] If a bytes object is serialized by a String schema
    node with the encoding parameter specified, it will be passed
    through directly to str first, causing it to come out with a
    b'' prefix. In order to serialize it properly, it should be
    decoded to a string first. Previously, when the encoding
    parameter was specified it would be decoded and re-encoded,
    effectively passing it through untouched, despite not being a
    string type.
  * Add a new colander.DataURL validator.
  * Add IDN support to colander.url.
  * colander.All now supports colander.Invalid.msg being None or
    a list, otherwise colander.Invalid.asdict crashes with
    TypeError: sequence item 1: expected str instance, NoneType
    found.
  * Fixed an issue with colander.Mapping and colander.Sequence
    where a default value of drop caused missing values to be
    dropped during deserialization. (Only missing values should
    affect deserialization, and only default values should affect
    serialization.) Added many new test cases for MappingSchema
    and SequenceSchema.
  * Remove the dependency on setuptools for resolving
    pkg_resources-style importable paths in
    colander.GlobalObject.
  * Refresh localization files with Babel 2.11.
  * Add support for Python 3.9.
  * Fix handling of insert_before on deferred nodes so that it
    inserts the new node before the specified node instead of

OBS-URL: https://build.opensuse.org/request/show/1138687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=8
2024-01-15 21:17:32 +00:00
12a1488157 - update to 2.0:
* Drop support for Python 2.7, 3.4, 3.5, 3.6.
  * Add support for Python 3.10, 3.11.
  * [breaking] If a bytes object is serialized by a String schema
    node with the encoding parameter specified, it will be passed
    through directly to str first, causing it to come out with a
    b'' prefix. In order to serialize it properly, it should be
    decoded to a string first. Previously, when the encoding
    parameter was specified it would be decoded and re-encoded,
    effectively passing it through untouched, despite not being a
    string type.
  * Add a new colander.DataURL validator.
  * Add IDN support to colander.url.
  * colander.All now supports colander.Invalid.msg being None or
    a list, otherwise colander.Invalid.asdict crashes with
    TypeError: sequence item 1: expected str instance, NoneType
    found.
  * Fixed an issue with colander.Mapping and colander.Sequence
    where a default value of drop caused missing values to be
    dropped during deserialization. (Only missing values should
    affect deserialization, and only default values should affect
    serialization.) Added many new test cases for MappingSchema
    and SequenceSchema.
  * Remove the dependency on setuptools for resolving
    pkg_resources-style importable paths in
    colander.GlobalObject.
  * Refresh localization files with Babel 2.11.
  * Add support for Python 3.9.
  * Fix handling of insert_before on deferred nodes so that it
    inserts the new node before the specified node instead of

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=20
2024-01-14 17:10:15 +00:00
d6c518919a Accepting request 795833 from devel:languages:python
- Obsolete the lang subpackage to avoid conflicts
- Do not generate docu twice, it is provided online by
  upstream so we don't have to bother really at all

- Eliminate complicated py2k constructs

OBS-URL: https://build.opensuse.org/request/show/795833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=7
2020-04-22 18:51:40 +00:00
Tomáš Chvátal
46c09fe03b - Obsolete the lang subpackage to avoid conflicts
- Do not generate docu twice, it is provided online by
  upstream so we don't have to bother really at all

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=18
2020-04-20 13:09:11 +00:00
4089c43ca1 Remove redundant symlink
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=17
2020-04-20 09:20:34 +00:00
38382e5914 - Eliminate complicated py2k constructs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=16
2020-04-20 09:20:05 +00:00
b8c906e8c9 Accepting request 794806 from devel:languages:python
- Add fix-tests.patch allowing use of pytest (gh#Pylons/colander#210)

OBS-URL: https://build.opensuse.org/request/show/794806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=6
2020-04-17 22:31:00 +00:00
de23052252 - Add fix-tests.patch allowing use of pytest (gh#Pylons/colander#210)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=14
2020-04-17 08:13:52 +00:00
473b7be12c Accepting request 765544 from devel:languages:python
- Update to 1.7.0 (2019-02-01), also fixes bsc#1123996 (CVE-2017-18361)

OBS-URL: https://build.opensuse.org/request/show/765544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=5
2020-01-19 19:56:34 +00:00
9b0e826d67 Add reference to CVE-2017-18361 in changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=12
2020-01-19 07:30:45 +00:00
c331e8199d Accepting request 738302 from devel:languages:python
Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/738302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=4
2019-10-16 07:14:10 +00:00
f1af145a73 - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=10
2019-10-14 11:44:21 +00:00
Stephan Kulow
afb6f66f30 Accepting request 672756 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/672756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=3
2019-02-24 16:13:45 +00:00
Tomáš Chvátal
3133c42b0f Accepting request 672555 from home:frispete:python
- Update to 1.7.0 (2019-02-01)
  + The URL validator regex has been updated to no longer be
    vulnerable to a catastrophic backtracking that would have led to
    an infinite loop.
    See https://github.com/Pylons/colander/pull/323
    and https://github.com/Pylons/colander/issues/290. 
    With thanks to Przemek (https://github.com/p-m-k).
  + This does change the behaviour of the URL validator and it no 
    longer supports file:// URI scheme 
    (https://tools.ietf.org/html/rfc8089). Users that wish to validate
    file:// URI’s should change their validator to use
    colander.file_uri instead.
  + It has also dropped support for alternate schemes outside of
    http/ftp (and their secure equivelants). Please let us know if we
    need to relax this requirement.
  + CVE-ID: CVE-2017-18361
  + The Email validator has been updated to use the same regular
    expression that is used by the WhatWG HTML specification, thereby
    increasing the email addresses that will validate correctly from
    web forms submitted.
    See https://github.com/Pylons/colander/pull/324
    and https://github.com/Pylons/colander/issues/283
  + Number once again will allow you to serialize None to colander.null,
    this reverts an accidental revert.
    See https://github.com/Pylons/colander/issues/204#issuecomment-459556100
  + Integer SchemaType now supports an optional strict mode that will
    validate that the number is an integer, rather than silently accepting
    floats and truncating.
    See https://github.com/Pylons/colander/pull/322
    and https://github.com/Pylons/colander/issues/292

OBS-URL: https://build.opensuse.org/request/show/672555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=8
2019-02-08 11:13:50 +00:00
1bd4eca3a4 Accepting request 655392 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=2
2018-12-13 18:47:10 +00:00
Todd R
7540199334 Accepting request 654130 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of descriptions.

OBS-URL: https://build.opensuse.org/request/show/654130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=6
2018-12-05 19:21:30 +00:00
1496c54047 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=5
2018-12-04 13:20:20 +00:00
642bc83207 Accepting request 612076 from devel:languages:python
schema-based serialization and deserialization library

OBS-URL: https://build.opensuse.org/request/show/612076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-colander?expand=0&rev=1
2018-06-02 10:05:45 +00:00
Todd R
b0808d1c40 Accepting request 612023 from devel:languages:python:misc
schema-based serialization and deserialization library

OBS-URL: https://build.opensuse.org/request/show/612023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=1
2018-05-24 20:56:29 +00:00