13
0

61 Commits

Author SHA256 Message Date
dd44b3329a Accepting request 1224433 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=28
2024-11-17 15:39:38 +00:00
dda0598a9c Accepting request 1201708 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=27
2024-09-18 13:26:13 +00:00
a65e967820 - Update to 3.4.2
* Extended ModelVisitor to make it usable as an helper class for 
    generating content
  * Fix failing URL normalization tests
  * Disable protocols checking with elementpath v4.5.0
  * Avoid the use of sys.version_info for checking results, better 
    to extend the check to more values.
- Drop support-new-python-3.12.patch, fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=56
2024-09-18 06:12:55 +00:00
42a214b61c Accepting request 1195977 from devel:languages:python
- Add patch support-new-python-3.12.patch:
  * Support pickle exception changes in Python 3.12.5 and later.

OBS-URL: https://build.opensuse.org/request/show/1195977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=26
2024-08-29 13:42:31 +00:00
621c17aea4 - Add patch support-new-python-3.12.patch:
* Support pickle exception changes in Python 3.12.5 and later.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=54
2024-08-26 02:42:57 +00:00
ac787e5d82 Accepting request 1190526 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=25
2024-08-01 20:03:16 +00:00
9ef378f97d Accepting request 1190314 from home:glaubitz:branches:devel:languages:python
- Update to 3.3.2
  * Fix UNC path tests (issues #405 and #408)

OBS-URL: https://build.opensuse.org/request/show/1190314
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=52
2024-07-30 20:05:01 +00:00
7bde18bdfd Accepting request 1184891 from devel:languages:python
- update to 3.3.1:
  * Update validation errors with logging stacktrace in debug mode
  * Improve locations parsing and URL encoding
  * Rewrite the validation of openContent using
    InterleavedModelVisitor and SuffixedModelVisitor
  * Fix validation of XSD 1.1 'all' nested models
  * Improve ModelVisitor and particle occurs checking
  * Fix interleave mode with XSD 1.1 open content (issue #397)
  * Fix for export/download of XSD sources with commented-out
    imports/include (issue #387)
  * Add *download_schemas()* to package API (#387)
  * Fix issue with facets on list types (#396)
  * Add GData converter (issue #388/PR #391)
  * Fix typing protocols usage
  * Extend XSD annotations parsing (issue #366)
  * Use XPath subtree as fragment for xs:assert (issue #386)
  * Fix in XMLSchemaProxy definition and usage for providing
    a base-uri to schema nodes (issue #379)
  * Module xpath.py splitted to a subpackage for including all the
    custom XPath 1.0/2.0 parsers and related classes to XPath
  * Add support for Python 3.13 (pre-releases)
  * Hotfix release for broken requirement
  * Set python-requires metadata to >=3.8 (pull request #382)
  * Upgrade GitHub Actions (pull request #381)
  * XML declaration processing option *xmlns_processing* for
    converters
  * Decode/validate from XML document with dynamic schema load
  * XMLResource enhancement for a better XML resources processing
  * Improve lazy resources iteration removing preceding elements
    (*thin_mode* option)

OBS-URL: https://build.opensuse.org/request/show/1184891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=24
2024-07-03 18:29:29 +00:00
2c1758bd25 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=50 2024-07-02 14:53:49 +00:00
83274a4ff9 - update to 3.3.1:
* Update validation errors with logging stacktrace in debug mode
  * Improve locations parsing and URL encoding
  * Rewrite the validation of openContent using
    InterleavedModelVisitor and SuffixedModelVisitor
  * Fix validation of XSD 1.1 'all' nested models
  * Improve ModelVisitor and particle occurs checking
  * Fix interleave mode with XSD 1.1 open content (issue #397)
  * Fix for export/download of XSD sources with commented-out
    imports/include (issue #387)
  * Add *download_schemas()* to package API (#387)
  * Fix issue with facets on list types (#396)
  * Add GData converter (issue #388/PR #391)
  * Fix typing protocols usage
  * Extend XSD annotations parsing (issue #366)
  * Use XPath subtree as fragment for xs:assert (issue #386)
  * Fix in XMLSchemaProxy definition and usage for providing
    a base-uri to schema nodes (issue #379)
  * Module xpath.py splitted to a subpackage for including all the
    custom XPath 1.0/2.0 parsers and related classes to XPath
  * Add support for Python 3.13 (pre-releases)
  * Hotfix release for broken requirement
  * Set python-requires metadata to >=3.8 (pull request #382)
  * Upgrade GitHub Actions (pull request #381)
  * XML declaration processing option *xmlns_processing* for
    converters
  * Decode/validate from XML document with dynamic schema load
  * XMLResource enhancement for a better XML resources processing
  * Improve lazy resources iteration removing preceding elements
    (*thin_mode* option)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=49
2024-07-02 14:53:42 +00:00
dc579734dd Accepting request 1088468 from devel:languages:python
- update to 2.3.0:
  * Improve sequence/all restriction checks for XSD 1.1
  * Add *schema* argument to `Wsdl11Document`

OBS-URL: https://build.opensuse.org/request/show/1088468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=23
2023-05-24 18:21:40 +00:00
fe3ef36f98 - update to 2.3.0:
* Improve sequence/all restriction checks for XSD 1.1
  * Add *schema* argument to `Wsdl11Document`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=47
2023-05-22 21:26:09 +00:00
e1dcde012a Accepting request 1081720 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=22
2023-04-22 19:58:04 +00:00
6f3f7079d5 Accepting request 1081701 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=45
2023-04-21 13:27:48 +00:00
90e6db96b2 Accepting request 1079725 from devel:languages:python
- update to 2.2.3:
  * Add support for Python 3.12
  * Detach content iteration methods from ModelVisitor

OBS-URL: https://build.opensuse.org/request/show/1079725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=21
2023-04-17 15:40:59 +00:00
d7d8c67e05 - update to 2.2.3:
* Add support for Python 3.12
  * Detach content iteration methods from ModelVisitor

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=43
2023-04-16 08:18:15 +00:00
e3e50eddcd Accepting request 1074605 from devel:languages:python
- update to 2.2.2:
  * Fix mixed content extension with empty content (issue #337)
  * Fix lru_cache() usage on global maps caching
  * Fix mixed content extension without explicit mixed attribute
    (issue #334)

OBS-URL: https://build.opensuse.org/request/show/1074605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=20
2023-03-29 21:26:26 +00:00
8e90ce2dc4 - update to 2.2.2:
* Fix mixed content extension with empty content (issue #337)
  * Fix lru_cache() usage on global maps caching
  * Fix mixed content extension without explicit mixed attribute
    (issue #334)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=41
2023-03-27 08:25:04 +00:00
acf69c4930 Accepting request 1064241 from devel:languages:python
- update to 2.2.0:
  * Refine string serialization of XML resources and data
    elements
  * Switch to use elementpath v4
  * Fix sequence_type property for XSD types
  * Remove *XsdElement.get_attribute()*: unused and doesn't work
    as expected

OBS-URL: https://build.opensuse.org/request/show/1064241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=19
2023-02-11 21:20:05 +00:00
60ea2ec8b9 - update to 2.2.0:
* Refine string serialization of XML resources and data
    elements
  * Switch to use elementpath v4
  * Fix sequence_type property for XSD types
  * Remove *XsdElement.get_attribute()*: unused and doesn't work
    as expected

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=39
2023-02-10 12:46:57 +00:00
f04f163a6d Accepting request 1007722 from devel:languages:python
- update to 2.1.1:
  * Fix *schema_path* usage in `XMLSchemaBase.iter_errors()`
  * Add *allow_empty* option to `XMLSchemaBase` validation API

OBS-URL: https://build.opensuse.org/request/show/1007722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=18
2022-10-04 18:37:16 +00:00
01a7b2cf4b - update to 2.1.1:
* Fix *schema_path* usage in `XMLSchemaBase.iter_errors()`
  * Add *allow_empty* option to `XMLSchemaBase` validation API

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=37
2022-10-03 16:12:34 +00:00
462d060070 Accepting request 1006884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1006884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=17
2022-10-01 15:42:42 +00:00
00838e79c5 Accepting request 1006866 from home:favogt:branches:devel:languages:python
- Update to 2.1.0:
  * Add to_etree() to document API
  * Improve generic encoding with wildcards
  * Clean document API and schema decoding
- Update to 2.0.4:
  * Add use_location_hints argument to document API for giving the option
    of ignoring XSI schema locations hints
  * Fix import from locations hints with namespace mismatch (issue #324)
- Update to 2.0.3:
  * Add keep_empty and element_hook options to main iter_decode() method
  * Fix default namespace mapping in BadgerFishConverter
  * Fix type restriction check if restricted particle has maxOccurs==0 (issue #323)
- Update to 2.0.2:
  * Fix XSD 1.1 assertions effective scope
  * Add support for Python 3.11
- Update to 2.0.1:
  * Remove warnings during the build of the package using package_data specs in setup.py
  * Fix decoding with process_namespaces=False and xsi:type in XML instance
  * Refactor DataElement.get(), restore DataElement.set() (issue #314)
  * Add map_attribute_names argument to DataElementConverter
- Update to 2.0.0:
  * Refactor XPath interface for the full XPath node implementation of elementpath v3.0
  * Fix BadgerFishConverter with mixed content (issue #315)
  * Improve get() and set() of DataElement (issue #314)
- Update to 1.11.3:
  * Fix invalid element not detected with empty particle (issue #306)
  * Fix Sphinx warnings (issue #305)
- Update to 1.11.2:
  * Fix 'replace_existing' argument usage in XsdElement.get_binding method (issue #300)
  * Add Russian full translation (from PR #303 and #304)

OBS-URL: https://build.opensuse.org/request/show/1006866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=35
2022-09-29 09:20:44 +00:00
03314b1b10 Accepting request 943601 from devel:languages:python
- update to 1.9.2:
  * Fix for global simple type naming
  * Improve error reporting for encoded data
  * Fix attribute duplicates in attribute group
  * Add process_skipped optional argument to decoding/encoding
  * Add iter_decode() to document level API
  * Enhance XMLResource class adding usage of pathlib.Path objects
    for source and base_url arguments
  * Fix for issue #273

OBS-URL: https://build.opensuse.org/request/show/943601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=16
2022-01-05 12:39:25 +00:00
a3c3f763ff - update to 1.9.2:
* Fix for global simple type naming
  * Improve error reporting for encoded data
  * Fix attribute duplicates in attribute group
  * Add process_skipped optional argument to decoding/encoding
  * Add iter_decode() to document level API
  * Enhance XMLResource class adding usage of pathlib.Path objects
    for source and base_url arguments
  * Fix for issue #273

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=34
2022-01-03 12:40:58 +00:00
46fb281c68 Accepting request 934627 from devel:languages:python
- update to 1.8.2:
  * Fix type annotation of XMLSchema source argument  
  * Near compliance with strict type annotations
  * Removed ModelGroup class, merged with XsdGroup
  * Some optimizations and fixes from static analysis

- update to 1.8.0:
  * Refactor XMLSchemaMeta deprecating BUILDER attribute
  * Extend type annotations to package API
  * Add static typing tests with checked mypy runs
  * Activate mypy checks for package
  * Fix for issues #257 and #259
  * Make XSD annotation parsing lazy
  * Add lazy annotations to schema instances
  * Add get_annotation() method to multiple-facets classes (issue #255)
- drop remove_shebang.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/934627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=15
2021-12-09 18:45:03 +00:00
a8c88277fb - update to 1.8.2:
* Fix type annotation of XMLSchema source argument  
  * Near compliance with strict type annotations
  * Removed ModelGroup class, merged with XsdGroup
  * Some optimizations and fixes from static analysis

- update to 1.8.0:
  * Refactor XMLSchemaMeta deprecating BUILDER attribute
  * Extend type annotations to package API
  * Add static typing tests with checked mypy runs
  * Activate mypy checks for package
  * Fix for issues #257 and #259
  * Make XSD annotation parsing lazy
  * Add lazy annotations to schema instances
  * Add get_annotation() method to multiple-facets classes (issue #255)
- drop remove_shebang.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=33
2021-11-29 20:28:08 +00:00
6d46017107 Accepting request 900664 from devel:languages:python
- update to 1.6.4:
  * Add testing config for Python 3.10 (Tox and CI)
  * Fix internal _PurePath class with Python 3.10 (issue #251)
  * Remove redundant xmlns="" declaration when encoding with lxml (issue #252)
  * Refactor normalize_url() using pathlib.PurePath
  * Support UNC paths (issue #246)
  * Fix API docs (issue #248)
  * Fix for issue #245 (key/keyref with dynamic types)
  * Change default decoding of mixed content with only text to a string
    instead of a dictionary (issue #242)

OBS-URL: https://build.opensuse.org/request/show/900664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=14
2021-07-10 20:53:34 +00:00
31038ebbae - update to 1.6.4:
* Add testing config for Python 3.10 (Tox and CI)
  * Fix internal _PurePath class with Python 3.10 (issue #251)
  * Remove redundant xmlns="" declaration when encoding with lxml (issue #252)
  * Refactor normalize_url() using pathlib.PurePath
  * Support UNC paths (issue #246)
  * Fix API docs (issue #248)
  * Fix for issue #245 (key/keyref with dynamic types)
  * Change default decoding of mixed content with only text to a string
    instead of a dictionary (issue #242)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=32
2021-06-17 21:25:21 +00:00
bf9be82f35 Accepting request 894173 from devel:languages:python
- update to 1.6.1:
  * Add multi-source initialization and add_schema() to schema class
  * Add bytes strings to accepted XML sources (issue #238)
  * XML data bindings and code generators are now considered stable
  * Add arguments 'max_depth' and 'extra_validator' to validation methods
  * Enhance decoding with 'value_hook' argument
  * Remove unnecessary bindings with schema proxy from ElementPathMixin
    to avoid conflicts when schema is used by an XPath 3 parser
  * Fix schema logger (issue #228)

OBS-URL: https://build.opensuse.org/request/show/894173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=13
2021-05-20 17:23:29 +00:00
92df753903 - update to 1.6.1:
* Add multi-source initialization and add_schema() to schema class
  * Add bytes strings to accepted XML sources (issue #238)
  * XML data bindings and code generators are now considered stable
  * Add arguments 'max_depth' and 'extra_validator' to validation methods
  * Enhance decoding with 'value_hook' argument
  * Remove unnecessary bindings with schema proxy from ElementPathMixin
    to avoid conflicts when schema is used by an XPath 3 parser
  * Fix schema logger (issue #228)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=30
2021-05-18 22:34:01 +00:00
a34be4ae61 Accepting request 887874 from devel:languages:python
- update to 1.5.2:
  * Improve empty content checking
  * Fix simple content restriction of xs:complexType
  * Fix facets retrieving for xs:complexType with simple content

OBS-URL: https://build.opensuse.org/request/show/887874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=12
2021-04-26 14:38:45 +00:00
c0a1eb3809 - update to 1.5.2:
* Improve empty content checking
  * Fix simple content restriction of xs:complexType
  * Fix facets retrieving for xs:complexType with simple content

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=28
2021-04-22 19:44:31 +00:00
Richard Brown
5e5649f509 Accepting request 875850 from devel:languages:python
- Update to 1.5.1:
  * Optimize NamespaceView read-only mapping
  * Add experimental XML data bindings with a DataBindingConverter
  * Add experimental PythonGenerator for static codegen with Jinja2
  * Add DataElement class for creating objects with schema bindings
  * Add DataElementConverter for decode to structured objects
  * Add an experimental abstract base class for building jinja2 based
    code generators (jinja2 as an optional dependency)
  * Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary)
  * Fix encoding from string values for some builtin datatypes
    (decimal, binary, duration and datetime)
  * Include the pull request #220 (fix xml.etree import)
  * Additional tests for schema components
  * Fix for issues #213, #214, #215 and #218
  * Code cleaning and optimizations on schema components
  * Reducing and grouping helper functions
- Update remove_shebang.patch to also drop the shebang from a second file.

OBS-URL: https://build.opensuse.org/request/show/875850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=11
2021-03-05 12:45:02 +00:00
74477617b9 - Update to 1.5.1:
* Optimize NamespaceView read-only mapping
  * Add experimental XML data bindings with a DataBindingConverter
  * Add experimental PythonGenerator for static codegen with Jinja2
  * Add DataElement class for creating objects with schema bindings
  * Add DataElementConverter for decode to structured objects
  * Add an experimental abstract base class for building jinja2 based
    code generators (jinja2 as an optional dependency)
  * Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary)
  * Fix encoding from string values for some builtin datatypes
    (decimal, binary, duration and datetime)
  * Include the pull request #220 (fix xml.etree import)
  * Additional tests for schema components
  * Fix for issues #213, #214, #215 and #218
  * Code cleaning and optimizations on schema components
  * Reducing and grouping helper functions
- Update remove_shebang.patch to also drop the shebang from a second file.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=26
2021-03-01 04:04:46 +00:00
98f5fb4c93 Accepting request 847574 from devel:languages:python
- Update to 1.3.1.
  - mainly accepting patches etree_import_in_tests.patch,
    factory_tests.patch, location_testing_script.patch, which are thus
    removed.
- Add the upstream etree_import_in_tests.patch to fix
  gh#sissaschool/xmlschema#210.
- Update to 1.3.0:
  - Drop support for Python 3.5
  - Add XmlDocument and Wsdl11Document classes
  - Refactoring of XMLResource to support ElementTree-like XPath
    API on both full and lazy modes
- Remove skip_network_tests.patch
- Add patches 
  - factory_tests.patch rename tests_factory to tests so it is
    not recognized by pytest
  - remove_shebang.patch just cleaning superfluous shebang
  - location_testing_script.patch use actual Python executable

OBS-URL: https://build.opensuse.org/request/show/847574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=10
2020-11-13 17:55:44 +00:00
500dc54ae4 - Update to 1.3.1.
- mainly accepting patches etree_import_in_tests.patch,
    factory_tests.patch, location_testing_script.patch, which are thus
    removed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=24
2020-11-10 13:51:01 +00:00
e6a9564705 Update imported patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=23
2020-11-10 07:46:31 +00:00
80adc55baf - Add the upstream etree_import_in_tests.patch to fix
gh#sissaschool/xmlschema#210.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=22
2020-11-10 07:14:36 +00:00
89a32e9a2c - Add patches
- factory_tests.patch rename tests_factory to tests so it is
    not recognized by pytest
  - remove_shebang.patch just cleaning superfluous shebang
  - location_testing_script.patch use actual Python executable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=21
2020-11-09 19:32:34 +00:00
a646dc083c - Update to 1.3.0:
- Drop support for Python 3.5
  - Add XmlDocument and Wsdl11Document classes
  - Refactoring of XMLResource to support ElementTree-like XPath
    API on both full and lazy modes
- Remove skip_network_tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=20
2020-11-09 15:50:31 +00:00
63e1798d50 Accepting request 841053 from devel:languages:python
- Add skip_network_tests.patch to skip test
  test_export_remote__issue_187 which fails without the network
  connection (gh#sissaschool/xmlschema#206).
- Update to 1.2.5:
  - All W3C tests now run successful. Only W3C tests for
    unavailable features (XML 1.1) or unimplemented features
    (dynamic schema load) are still failing. This release requires
    elementpath v2.0.x.
  - The internal XML regular expressions parser has been moved to
    XPath package elementpath (v2.0.2+). From this release
    the regex patterns are parsed through elementpath's API
    translate_pattern().'

OBS-URL: https://build.opensuse.org/request/show/841053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=9
2020-10-29 08:47:19 +00:00
dfae7bfecf - Add skip_network_tests.patch to skip test
test_export_remote__issue_187 which fails without the network
  connection (gh#sissaschool/xmlschema#206).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=18
2020-10-11 16:19:54 +00:00
2f1d02ba8f - Update to 1.2.5:
- All W3C tests now run successful. Only W3C tests for
    unavailable features (XML 1.1) or unimplemented features
    (dynamic schema load) are still failing. This release requires
    elementpath v2.0.x.
  - The internal XML regular expressions parser has been moved to
    XPath package elementpath (v2.0.2+). From this release
    the regex patterns are parsed through elementpath's API
    translate_pattern().'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=17
2020-10-10 11:26:00 +00:00
c0ef643903 Accepting request 822102 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=8
2020-08-01 10:29:35 +00:00
Tomáš Chvátal
1f23448376 Accepting request 822084 from home:mcalabkova:branches:devel:languages:python
- Update to version 1.2.2
  * Fix XPath context for schema nodes
  * Fix XPath parser and context for identities
  * Fix content type classification (issue #195)
  * Make sandbox mode more explicit (PR #191)
  * Allow alphanumeric prefixes for the base converter
  * Fix XPath issues with default namespace
  * Fix W3C tests on XSD identities

OBS-URL: https://build.opensuse.org/request/show/822084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=15
2020-07-21 13:17:53 +00:00
6ba56a0161 Accepting request 813363 from devel:languages:python
- Update to version 1.2.0:
  * Add ColumnarConverter class
  * Add command-line interface utility for document API
  * Fix a stable public API for XSD types, elements and attributes
  * Add security modes for accessing URLs
  * Clean component parsing
  * Fix namespace loading for chameleon schemas
  * Fix UPA checks with nested choice/all models
- Install new binaries

OBS-URL: https://build.opensuse.org/request/show/813363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=7
2020-06-21 16:48:54 +00:00
9b6a9a93b7 - Update to version 1.2.0:
* Add ColumnarConverter class
  * Add command-line interface utility for document API
  * Fix a stable public API for XSD types, elements and attributes
  * Add security modes for accessing URLs
  * Clean component parsing
  * Fix namespace loading for chameleon schemas
  * Fix UPA checks with nested choice/all models
- Install new binaries

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=13
2020-06-11 03:50:10 +00:00
bc4e113cc9 Accepting request 787856 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/787856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=6
2020-03-26 23:29:18 +00:00
Tomáš Chvátal
5f6fbd8153 Accepting request 787854 from home:pgajdos:python
- version update to 1.1.2
  * Extension of validation tests with *XMLSchema11* validator
  * Fixed several bugs

OBS-URL: https://build.opensuse.org/request/show/787854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=11
2020-03-24 15:21:30 +00:00
dfaf110b78 Accepting request 783225 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/783225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=5
2020-03-12 21:58:42 +00:00
Tomáš Chvátal
3c567225a2 Accepting request 783223 from home:pgajdos:python
- version update to 1.1.1
  * Change of *skip* validation mode with errors filtering in decode() or encode()
  * Extension of location hints by argument to imported/included schemas
  * Fixed lazy validation with identity constraints
  * Fixed many W3C instance tests (remain ~100 over 15344 tests)

OBS-URL: https://build.opensuse.org/request/show/783223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=9
2020-03-10 09:15:52 +00:00
Oliver Kurz
775939f500 Accepting request 770544 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/770544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=4
2020-02-14 15:24:52 +00:00
Tomáš Chvátal
d8812ef81a Accepting request 770539 from home:mcalabkova:branches:devel:languages:python
- update to 1.1.0
  * Removed Python 2 compatibility code
  * Removed tests code from binary package
  * Improved identity constraints validation
  * Added JSON lazy decoding as experimental feature
  * few bugfixes

OBS-URL: https://build.opensuse.org/request/show/770539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=7
2020-02-06 11:56:31 +00:00
108ea580bc Accepting request 754342 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/754342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=3
2019-12-11 11:09:26 +00:00
Tomáš Chvátal
a6ad4a7dd3 Accepting request 754340 from home:apritschet:branches:devel:languages:python
Handle UnicodeDecodeErrors during build process

OBS-URL: https://build.opensuse.org/request/show/754340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=5
2019-12-05 11:19:17 +00:00
053d4a1012 Accepting request 744162 from devel:languages:python
- Update to 1.0.15:
  * Improved XPath 2.0 bindings
  * Added logging for schema initialization and building (handled with argument loglevel)
  * Update encoding of collapsed contents with a new model based reordering method
  * Removed XLink namespace from meta-schema (loaded from a fallback location like XHTML)
  * Fixed half of failed W3C instance tests (remain 255 over 15344 tests)

OBS-URL: https://build.opensuse.org/request/show/744162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=2
2019-11-04 16:12:35 +00:00
Tomáš Chvátal
eb44e43118 - Update to 1.0.15:
* Improved XPath 2.0 bindings
  * Added logging for schema initialization and building (handled with argument loglevel)
  * Update encoding of collapsed contents with a new model based reordering method
  * Removed XLink namespace from meta-schema (loaded from a fallback location like XHTML)
  * Fixed half of failed W3C instance tests (remain 255 over 15344 tests)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=3
2019-10-30 12:45:38 +00:00
5f9f55a29a Accepting request 729494 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/729494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlschema?expand=0&rev=1
2019-09-09 22:05:22 +00:00
Tomáš Chvátal
c1fe129b9e - Initial commit, needed by pytest 5.1.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=1
2019-09-09 14:49:36 +00:00
4 changed files with 0 additions and 33 deletions

View File

@@ -1,24 +0,0 @@
Index: xmlschema-3.3.2/tests/validators/test_schemas.py
===================================================================
--- xmlschema-3.3.2.orig/tests/validators/test_schemas.py
+++ xmlschema-3.3.2/tests/validators/test_schemas.py
@@ -8,6 +8,7 @@
#
# @author Davide Brunato <brunato@sissa.it>
#
+import sys
import unittest
import logging
import warnings
@@ -702,7 +703,10 @@ class TestXMLSchema10(XsdValidatorTestCa
with self.assertRaises((pickle.PicklingError, AttributeError)) as ec:
pickle.dumps(schema)
- self.assertIn("Can't pickle", str(ec.exception))
+ message = "Can't pickle"
+ if sys.version_info >= (3, 12, 5):
+ message = "Can't get local object"
+ self.assertIn(message, str(ec.exception))
def test_meta_schema_validation(self):
self.assertTrue(self.schema_class.meta_schema.is_valid(self.vh_xsd_file))

View File

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

View File

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

BIN
xmlschema-3.4.2.tar.gz (Stored with Git LFS)

Binary file not shown.