forked from pool/python-importlib-metadata
Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
219b0dcbaa | |||
c3f7c248d1 | |||
be73795209 | |||
fe5438e7cc | |||
f53eb89e0c | |||
553808ffd1 | |||
54c53835ca | |||
f92e1d90d1 | |||
4b02c746d7 |
BIN
importlib_metadata-7.1.0.tar.gz
(Stored with Git LFS)
BIN
importlib_metadata-7.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
importlib_metadata-8.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
importlib_metadata-8.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 5 01:18:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Fix multibuild by BuildRequires ourselves.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 06:34:42 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 8.6.1
|
||||||
|
* Fixed indentation logic to also honor blank lines.
|
||||||
|
- from version 8.6.0
|
||||||
|
* Add support for rendering metadata where some fields
|
||||||
|
have newlines (python/cpython#119650).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 1 06:09:04 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Skip failing tests (gh#python/importlib_metadata#509).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 23 20:30:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 8.5.0:
|
||||||
|
* Deferred import of zipfile.Path
|
||||||
|
* Deferred import of json
|
||||||
|
* Rely on zipp overlay for zipfile.Path.
|
||||||
|
* Deferred import of inspect for import performance.
|
||||||
|
* Disallow passing of 'dist' to EntryPoints.select.
|
||||||
|
* Add SimplePath to importlib_metadata.__all__.
|
||||||
|
* Prioritize valid dists to invalid dists when retrieving by
|
||||||
|
name.
|
||||||
|
* Message.__getitem__ now raises a KeyError on missing keys.
|
||||||
|
* Removed deprecated support for Distribution subclasses not
|
||||||
|
implementing abstract methods.
|
||||||
|
* When reading installed files from an egg, use
|
||||||
|
relative_to(walk_up=True) to honor files installed outside of
|
||||||
|
the installation root.
|
||||||
|
* Deferred select imports in for speedup
|
||||||
|
(python/cpython#109829).
|
||||||
|
* Updated fixtures for python/cpython#120801.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 22 20:45:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Fri Mar 22 20:45:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-importlib-metadata
|
# spec file for package python-importlib-metadata
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@ -24,15 +24,13 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-importlib-metadata%{psuffix}
|
Name: python-importlib-metadata%{psuffix}
|
||||||
Version: 7.1.0
|
Version: 8.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Read metadata from Python packages
|
Summary: Read metadata from Python packages
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://importlib-metadata.readthedocs.io/
|
URL: https://importlib-metadata.readthedocs.io/
|
||||||
Source: https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/i/importlib_metadata/importlib_metadata-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@ -44,19 +42,17 @@ BuildRequires: %{python_module zipp >= 0.5}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-zipp >= 0.5
|
Requires: python-zipp >= 0.5
|
||||||
%if %{python_version_nodots} < 38
|
|
||||||
Requires: python-typing_extensions >= 3.6.4
|
|
||||||
%endif
|
|
||||||
Provides: python-importlib_metadata = %{version}
|
Provides: python-importlib_metadata = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires: (python-typing_extensions >= 3.6.4 if python-base < 3.8)
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module importlib-metadata = %{version}}
|
||||||
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 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}
|
||||||
BuildRequires: %{python_module testsuite}
|
BuildRequires: %{python_module testsuite}
|
||||||
BuildRequires: %{python_module typing_extensions >= 3.6.4 if %python-base < 3.8}
|
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -78,8 +74,15 @@ importlib.metadata including improvements added to subsequent Python versions.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# no pytest_perf available
|
# no pytest_perf available (gh#python/importlib_metadata#490)
|
||||||
%pytest --ignore exercises.py
|
# skipping tests because of gh#python/importlib_metadata#509
|
||||||
|
skip_tests="test_packages_distributions_example or test_packages_distributions_example2"
|
||||||
|
skip_tests+=" or test_case_insensitive or test_files or test_missing_metadata"
|
||||||
|
skip_tests+=" or test_one_distribution or test_zip_entry_points or test_zip_version"
|
||||||
|
skip_tests+=" or test_case_insensitive or test_files or test_missing_metadata"
|
||||||
|
skip_tests+=" or test_normalized_name or test_one_distribution or test_zip_entry_points"
|
||||||
|
skip_tests+=" or test_zip_version"
|
||||||
|
%pytest --ignore exercises.py -k "not (${skip_tests})"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@ -87,7 +90,7 @@ importlib.metadata including improvements added to subsequent Python versions.
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/importlib_metadata
|
%{python_sitelib}/importlib_metadata
|
||||||
%{python_sitelib}/importlib_metadata-%{version}*-info
|
%{python_sitelib}/importlib_metadata-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user