Sync from SUSE:SLFO:Main python-importlib-metadata revision b54db5de13f994f42ea84a4391e93a3c

This commit is contained in:
Adrian Schröter 2024-09-13 16:20:51 +02:00
parent 821588730d
commit 0a76cc3477
4 changed files with 106 additions and 71 deletions

BIN
importlib_metadata-6.8.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
importlib_metadata-7.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Fri Mar 22 20:45:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.1.0:
* Improve import time (python/cpython#114664).
* Make MetadataPathFinder.find_distributions a classmethod for
consistency with CPython. Closes #484.
* Allow MetadataPathFinder.invalidate_caches to be called as a
classmethod.
-------------------------------------------------------------------
Sat Mar 16 08:32:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.0.2:
* No significant changes.
-------------------------------------------------------------------
Wed Dec 27 10:55:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 7.0.1:
* Corrected the interface for SimplePath to encompass the
expectations of locate_file and PackagePath.
* Fixed type annotations to allow strings.
-------------------------------------------------------------------
Thu Dec 7 22:49:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 7.0.0:
* Removed EntryPoint access by numeric index (tuple behavior).
* Added ``Distribution.origin`` supplying the
``direct_url.json`` in a ``SimpleNamespace``. (#404)
* Added diagnose script. (#461)
* Added EntryPoints.__repr__ (#473)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 15 15:01:35 UTC 2023 - Dirk Müller <dmueller@suse.com> Sat Jul 15 15:01:35 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-importlib-metadata
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,7 +28,7 @@
%define skip_python2 1 %define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-importlib-metadata%{psuffix} Name: python-importlib-metadata%{psuffix}
Version: 6.8.0 Version: 7.1.0
Release: 0 Release: 0
Summary: Read metadata from Python packages Summary: Read metadata from Python packages
License: Apache-2.0 License: Apache-2.0
@ -51,6 +51,7 @@ Provides: python-importlib_metadata = %{version}
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module importlib_resources >= 1.3 if %python-base < 3.9} BuildRequires: %{python_module importlib_resources >= 1.3 if %python-base < 3.9}
BuildRequires: %{python_module jaraco.test}
BuildRequires: %{python_module packaging} BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pyfakefs} BuildRequires: %{python_module pyfakefs}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}