Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-defusedxml
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package python-defusedxml
--- python-defusedxml.changes.orig +++ python-defusedxml.changes @@ -1,4 +1,28 @@ ------------------------------------------------------------------- +Tue May 18 09:25:03 UTC 2021 - pgajdos@suse.com + +- use %pytest macro, run lxml tests + +------------------------------------------------------------------- +Tue Mar 23 20:19:43 UTC 2021 - Dirk Müller <dmueller@suse.com> + +- update to 0.7.1: + - Fix regression ``defusedxml.ElementTree.ParseError`` (#63) + The ``ParseError`` exception is now the same class object as + ``xml.etree.ElementTree.ParseError`` again. + +------------------------------------------------------------------- +Mon Mar 8 08:09:10 UTC 2021 - Dirk Müller <dmueller@suse.com> + +- update to 0.7.0: + - Re-add and deprecate ``defusedxml.cElementTree`` + - Use GitHub Actions instead of TravisCI + - Restore ``ElementTree`` attribute of ``xml.etree`` module after patching + - Add support for Python 3.9 + - ``defusedxml.cElementTree`` is not available with Python 3.9. + - Python 2 is deprecate. Support for Python 2 will be removed in 0.8.0. + +------------------------------------------------------------------- Thu May 30 08:41:25 UTC 2019 - Michael Ströder <michael@stroeder.com> - Update to 0.6.0 --- python-defusedxml.spec.orig +++ python-defusedxml.spec @@ -1,7 +1,7 @@ # # spec file for package python-defusedxml # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without tests Name: python-defusedxml -Version: 0.6.0 +Version: 0.7.1 Release: 0 Summary: XML bomb protection for Python stdlib modules License: Python-2.0 @@ -27,7 +27,11 @@ Group: Development/Languages/Py URL: https://pypi.python.org/pypi/defusedxml Source: https://files.pythonhosted.org/packages/source/d/defusedxml/defusedxml-%{version}.tar.gz BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module xml} +# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml @@ -55,7 +59,9 @@ pitfalls. %if %{with tests} %check -%python_exec setup.py test +# see test_main() in tests.py; test_html_arg: deprecation warning is not raised, perhaps capturing wrongly setup? +usable_tests=$(grep addTests tests.py | sed 's:.*makeSuite(\([a-zA-Z]*\)).*:\1:' | tr '\n' ' ' | sed -e 's: $::' -e 's: : or :g') +%pytest -s -k "($usable_tests) and not test_html_arg" %endif %files %{python_files}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor