Accepting request 706489 from home:stroeder:branches:devel:languages:python

- Update to 0.6.0
  - Increase test coverage.
  - Add badges to README.
  - Test on Python 3.7 stable and 3.8-dev
  - Drop support for Python 3.4
  - No longer pass *html* argument to XMLParse. It has been deprecated and
    ignored for a long time. The DefusedXMLParser still takes a html argument.
    A deprecation warning is issued when the argument is False and a TypeError
    when it's True.
  - defusedxml now fails early when pyexpat stdlib module is not available or
    broken.
  - defusedxml.ElementTree.__all__ now lists ParseError as public attribute.
  - The defusedxml.ElementTree and defusedxml.cElementTree modules had a typo
    and used XMLParse instead of XMLParser as an alias for DefusedXMLParser.
    Both the old and fixed name are now available.

OBS-URL: https://build.opensuse.org/request/show/706489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-defusedxml?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal 2019-05-30 08:56:24 +00:00 committed by Git OBS Bridge
parent 1068075697
commit f57f1506a7
4 changed files with 23 additions and 4 deletions

View File

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

3
defusedxml-0.6.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu May 30 08:41:25 UTC 2019 - Michael Ströder <michael@stroeder.com>
- Update to 0.6.0
- Increase test coverage.
- Add badges to README.
- Test on Python 3.7 stable and 3.8-dev
- Drop support for Python 3.4
- No longer pass *html* argument to XMLParse. It has been deprecated and
ignored for a long time. The DefusedXMLParser still takes a html argument.
A deprecation warning is issued when the argument is False and a TypeError
when it's True.
- defusedxml now fails early when pyexpat stdlib module is not available or
broken.
- defusedxml.ElementTree.__all__ now lists ParseError as public attribute.
- The defusedxml.ElementTree and defusedxml.cElementTree modules had a typo
and used XMLParse instead of XMLParser as an alias for DefusedXMLParser.
Both the old and fixed name are now available.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:47:12 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:47:12 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without tests %bcond_without tests
Name: python-defusedxml Name: python-defusedxml
Version: 0.5.0 Version: 0.6.0
Release: 0 Release: 0
Summary: XML bomb protection for Python stdlib modules Summary: XML bomb protection for Python stdlib modules
License: Python-2.0 License: Python-2.0