From 43aa68668b47ab0f3c7308260d6661671fc3ad38ab88c7a310a3763465423a52 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 2 Jan 2023 19:14:37 +0000 Subject: [PATCH] - update to 6.0.0: * #419: Declared ``Distribution`` as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a ``Distribution`` or any subclasses unless they define the abstract methods. * #371: Deprecated expectation that ``PackageMetadata.__getitem__`` will return ``None`` for missing keys. In the future, it will raise a ``KeyError``. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-metadata?expand=0&rev=32 --- importlib_metadata-5.1.0.tar.gz | 3 --- importlib_metadata-6.0.0.tar.gz | 3 +++ python-importlib-metadata.changes | 12 ++++++++++++ python-importlib-metadata.spec | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 importlib_metadata-5.1.0.tar.gz create mode 100644 importlib_metadata-6.0.0.tar.gz diff --git a/importlib_metadata-5.1.0.tar.gz b/importlib_metadata-5.1.0.tar.gz deleted file mode 100644 index fb39106..0000000 --- a/importlib_metadata-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5059f9f1e8e41f80e9c56c2ee58811450c31984dfa625329ffd7c0dad88a73b -size 49216 diff --git a/importlib_metadata-6.0.0.tar.gz b/importlib_metadata-6.0.0.tar.gz new file mode 100644 index 0000000..e258b8e --- /dev/null +++ b/importlib_metadata-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e354bedeb60efa6affdcc8ae121b73544a7aa74156d047311948f6d711cd378d +size 49776 diff --git a/python-importlib-metadata.changes b/python-importlib-metadata.changes index 7cf4cd4..1effc17 100644 --- a/python-importlib-metadata.changes +++ b/python-importlib-metadata.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jan 2 19:12:18 UTC 2023 - Dirk Müller + +- update to 6.0.0: + * #419: Declared ``Distribution`` as an abstract class, enforcing + definition of abstract methods in instantiated subclasses. It's no + longer possible to instantiate a ``Distribution`` or any subclasses + unless they define the abstract methods. + * #371: Deprecated expectation that ``PackageMetadata.__getitem__`` + will return ``None`` for missing keys. In the future, it will raise a + ``KeyError``. + ------------------------------------------------------------------- Tue Dec 6 03:43:08 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-importlib-metadata.spec b/python-importlib-metadata.spec index b31f582..12f1fb5 100644 --- a/python-importlib-metadata.spec +++ b/python-importlib-metadata.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-importlib-metadata%{psuffix} -Version: 5.1.0 +Version: 6.0.0 Release: 0 Summary: Read metadata from Python packages License: Apache-2.0