Accepting request 1046282 from devel:languages:python

- 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/request/show/1046282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-importlib-metadata?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2023-01-04 16:50:48 +00:00 committed by Git OBS Bridge
commit 49a20b10be
4 changed files with 17 additions and 5 deletions

View File

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jan 2 19:12:18 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <yarunachalam@suse.com>

View File

@ -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