From e392bd1c3b81d7728049f2bd0df7eabd9ec4b07e84e332a4a3785b7ad6d84972 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 19 Dec 2020 17:48:45 +0000 Subject: [PATCH 1/3] - update to 4.6.2 (bsc#1179534, CVE-2020-27783): * A vulnerability (CVE-2020-27783) was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content. * GH#310: lxml.html.InputGetter supports __len__() to count * the number of input fields. Patch by Aidan Woolley. * lxml.html.InputGetter has a new .items() method to ease processing all input fields. * lxml.html.InputGetter.keys() now returns the field names in document order. * GH-309: The API documentation is now generated using sphinx-apidoc. Patch by Chris Mayo. * LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes when a default namespace was defined. * TreeBuilder.close() raised AssertionError in some error cases where it should have raised XMLSyntaxError. It now raises a combined exception to keep up backwards compatibility, while switching to XMLSyntaxError as an interface. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=6 --- importlib_metadata-3.1.1.tar.gz | 3 --- importlib_metadata-3.3.0.tar.gz | 3 +++ python-importlib-metadata.changes | 12 ++++++++++++ python-importlib-metadata.spec | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) delete mode 100644 importlib_metadata-3.1.1.tar.gz create mode 100644 importlib_metadata-3.3.0.tar.gz diff --git a/importlib_metadata-3.1.1.tar.gz b/importlib_metadata-3.1.1.tar.gz deleted file mode 100644 index 88f644c..0000000 --- a/importlib_metadata-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0c2d3b226157ae4517d9625decf63591461c66b3a808c2666d538946519d170 -size 32217 diff --git a/importlib_metadata-3.3.0.tar.gz b/importlib_metadata-3.3.0.tar.gz new file mode 100644 index 0000000..f2a2291 --- /dev/null +++ b/importlib_metadata-3.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c5a2720817414a6c41f0a49993908068243ae02c1635a228126519b509c8aed +size 33549 diff --git a/python-importlib-metadata.changes b/python-importlib-metadata.changes index c497e23..55213e9 100644 --- a/python-importlib-metadata.changes +++ b/python-importlib-metadata.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller + +- update to 3.3.0: + * * #265: ``EntryPoint`` objects now expose a ``.dist`` object + referencing the ``Distribution`` when constructed from a + Distribution. + * The object returned by ``metadata()`` now has a + formally-defined protocol called ``PackageMetadata`` + with declared support for the ``.get_all()`` method. + Fixes #126. + ------------------------------------------------------------------- Mon Dec 7 17:50:51 UTC 2020 - Benjamin Greiner diff --git a/python-importlib-metadata.spec b/python-importlib-metadata.spec index d09c956..ab7c9e1 100644 --- a/python-importlib-metadata.spec +++ b/python-importlib-metadata.spec @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-importlib-metadata%{psuffix} -Version: 3.1.1 +Version: 3.3.0 Release: 0 Summary: Read metadata from Python packages License: Apache-2.0 From 4591ab860ed5cab6cbbeb372c15eb87db0fc50e264b2ed681a923cbfdb11026d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Dec 2020 09:09:29 +0000 Subject: [PATCH 2/3] - add typing-extensions dependency for older python versions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=7 --- python-importlib-metadata.changes | 1 + python-importlib-metadata.spec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/python-importlib-metadata.changes b/python-importlib-metadata.changes index 55213e9..cdaf82c 100644 --- a/python-importlib-metadata.changes +++ b/python-importlib-metadata.changes @@ -9,6 +9,7 @@ Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller formally-defined protocol called ``PackageMetadata`` with declared support for the ``.get_all()`` method. Fixes #126. +- add typing-extensions dependency for older python versions ------------------------------------------------------------------- Mon Dec 7 17:50:51 UTC 2020 - Benjamin Greiner diff --git a/python-importlib-metadata.spec b/python-importlib-metadata.spec index ab7c9e1..2cd563f 100644 --- a/python-importlib-metadata.spec +++ b/python-importlib-metadata.spec @@ -40,6 +40,9 @@ BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zipp >= 0.5 +%if %{python3_version_nodots} < 38 +Requires: python-typing-extensions >= 3.6.4 +%endif Provides: python-importlib_metadata = %{version} BuildArch: noarch %if %{with test} From 211f5692d9843e86306ecb426689e5e78342988b6f9487386e50ba6f7b91dc98 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Dec 2020 10:00:25 +0000 Subject: [PATCH 3/3] Accepting request 857104 from home:bnavigator:branches:devel:languages:python - New version requires typing_extensions for Python < 3.8 (Leap and TW python36 flavor) OBS-URL: https://build.opensuse.org/request/show/857104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=8 --- python-importlib-metadata.changes | 6 ++++++ python-importlib-metadata.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-importlib-metadata.changes b/python-importlib-metadata.changes index cdaf82c..f2d9e65 100644 --- a/python-importlib-metadata.changes +++ b/python-importlib-metadata.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 19 23:29:59 UTC 2020 - Benjamin Greiner + +- New version requires typing_extensions for Python < 3.8 + (Leap and TW python36 flavor) + ------------------------------------------------------------------- Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller diff --git a/python-importlib-metadata.spec b/python-importlib-metadata.spec index 2cd563f..aedeb4b 100644 --- a/python-importlib-metadata.spec +++ b/python-importlib-metadata.spec @@ -40,8 +40,8 @@ BuildRequires: %{python_module toml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zipp >= 0.5 -%if %{python3_version_nodots} < 38 -Requires: python-typing-extensions >= 3.6.4 +%if %{python_version_nodots} < 38 +Requires: python-typing_extensions >= 3.6.4 %endif Provides: python-importlib_metadata = %{version} BuildArch: noarch @@ -55,6 +55,8 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module testsuite} BuildRequires: %{python_module wheel} BuildRequires: %{python_module zipp >= 0.5} +BuildRequires: (python3-typing_extensions >= 3.6.4 if python3-base < 3.8) +BuildRequires: (python36-typing_extensions >= 3.6.4 if python36-base) %endif %python_subpackages