From 436dc9374788b70543befd33de359e87b623f037 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 3 Oct 2022 14:24:50 +0000 Subject: [PATCH] pypi-importlib_metadata: Autospec creation for update from version 4.12.0 to version 5.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anderson Bravalheri (13): Capture expectations about _normalized_name compatibility in test Add compatibility layer for Python 3.8 stdlib lack of _normalized_name Add compatibility for EntryPoint.matches in stdlib 3.8/3.9 Add type annotations to EntryPoint.name/value/group Make sure Python 3.8/3.9 compatibility tests run on CI Workaround missing distribution name Fix typecheck error by simplifying compatibility shim Add "short circuit" optimization Extract tests for Python 3.9 compatibility into their own file Extract Python 3.9 compatibility layer into its own file Add comments clarifying implementation choices Fix imports Skip coverage in type checking statement C.A.M. Gerlach (6): Add intersphinx support for packaging.python.org Clarify import vs distribution package terms in using.rst Link distribution/import package terms to PyPA glossary on 1st use Add admonition further clarifying import vs distribution packages Link to canonical core metadata spec instead of an old historical PEP Mention API ref & migration guide in importlib_metadata See Also Jason R. Coombs (35): Add Tidelift template Rely on alabaster theme to support sidebar rendering. Use nicer, simpler phrasing Add support for automatic publishing of release notes Use technique for environment passing matching that found in jaraco/skeleton Move Tidelift token into Travis configuration Update badge URL Add funding reference to project List sidebars to avoid errors looking for template 't' Rebrand to 'For Enterprise' Add a 'For Enterprise' section to the README Include token passthrough for azure pipelines publish stage. Move Tidelift release note publishing to Github Actions. Tidelift no longer requires or expects publishing release notes. Remove Tidelift from main.yml, no longer needed Implement tidelift banner using a Sphinx directive implemented by jaraco.tidelift. Consolidate more language between the backport and the canonical usage docs. Ran pre-commit autoupdate Use '-dev' for every Python version. Ref actions/setup-python#213. Use Python 3.11 for cutting releases. Pin flake8. Workaround for tholo/pytest-flake8#87. Update to setup-python v4. Fixes jaraco/skeleton#65. Also update release to v4 Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63. When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197. Adopt furo theme for docs. Update changelog Expand possibilities for "top-level names". Remove SelectableGroups Remove DeprecatedList Remove compatibility for EntryPoints.__getitem__ by index. Remove support for cast of iterable of entry points to dict. Ref #97. Update changelog Disable flake8 due to incompatibility. Update documentation around removal of SelectableGroups. Oleg Iarygin (1): gh-93851: Fix all broken links in Doc/ (GH-93853) Ville Skyttä (1): bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003) --- Makefile | 2 +- options.conf | 2 +- pypi-importlib_metadata.spec | 18 +++++++++--------- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 0d87ad1..1093db2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_metadata -URL = https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz +URL = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index b498417..a85225b 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_metadata -url = https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz +url = https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz archives = giturl = https://github.com/python/importlib_metadata/ domain = diff --git a/pypi-importlib_metadata.spec b/pypi-importlib_metadata.spec index dd65f71..8b95b63 100644 --- a/pypi-importlib_metadata.spec +++ b/pypi-importlib_metadata.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : pypi-importlib_metadata -Version : 4.12.0 -Release : 93 -URL : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/1a/16/441080c907df829016729e71d8bdd42d99b9bdde48b01492ed08912c0aa9/importlib_metadata-4.12.0.tar.gz +Version : 5.0.0 +Release : 94 +URL : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/7e/ec/97f2ce958b62961fddd7258e0ceede844953606ad09b672fa03b86c453d3/importlib_metadata-5.0.0.tar.gz Summary : Read metadata from Python packages Group : Development/Tools License : Apache-2.0 @@ -59,11 +59,11 @@ python3 components for the pypi-importlib_metadata package. %prep -%setup -q -n importlib_metadata-4.12.0 -cd %{_builddir}/importlib_metadata-4.12.0 +%setup -q -n importlib_metadata-5.0.0 +cd %{_builddir}/importlib_metadata-5.0.0 %patch1 -p1 pushd .. -cp -a importlib_metadata-4.12.0 buildavx2 +cp -a importlib_metadata-5.0.0 buildavx2 popd %build @@ -71,7 +71,7 @@ export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C.UTF-8 -export SOURCE_DATE_EPOCH=1656342835 +export SOURCE_DATE_EPOCH=1664807086 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " export FCFLAGS="$FFLAGS -fno-lto " @@ -93,7 +93,7 @@ popd export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata -cp %{_builddir}/importlib_metadata-4.12.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890 +cp %{_builddir}/importlib_metadata-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/2b8b815229aa8a61e483fb4ba0588b8b6c491890 || : pip install --root=%{buildroot} --no-deps --ignore-installed dist/*.whl echo ----[ mark ]---- cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || : diff --git a/release b/release index c67f579..49541f7 100644 --- a/release +++ b/release @@ -1 +1 @@ -93 +94 diff --git a/upstream b/upstream index 2cbfd20..937af9f 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -ec68de1ec1800048de8656b9d211e22b7fe7c53e/importlib_metadata-4.12.0.tar.gz +38794db2afb90ed0be04bd8b5996a5b5fd45acc2/importlib_metadata-5.0.0.tar.gz diff --git a/versions b/versions index 815588e..0062ac9 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -4.12.0 +5.0.0