From 6359a8e5fc1c5a110e6abfd960bcc35c0806c5cf Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Fri, 11 Feb 2022 16:34:42 +0000 Subject: [PATCH] pypi-importlib_metadata: Autospec creation for update from version 4.10.1 to version 4.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Arie Bovenberg (2): use AssertRaises as context manager add missing __slots__ to DeprecatedList Jason R. Coombs (11): Refactor regular expression to avoid expensive backtracking on contrived entry points. Update changelog Prefer functional approach, avoiding any locals. Update changelog. Update badge year Remove setup.py, no longer needed. Add exclusions for pytest 7 deprecations in plugins. Fixes jaraco/skeleton#57. Use the parent category PytestDeprecationWarning, which is available on older pytest versions. Fixes jaraco/skeleton#57. Update test to capture the actual expectation on EntryPoints object and remove deprecated usage. Update changelog. ⚫ Fade to black. Nikita Sobolev (1): Do not leak `method_name` in `DeprecatedList` --- Makefile | 2 +- options.conf | 2 +- pypi-importlib_metadata.spec | 18 ++++++++---------- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 13 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 4ca75ab..b77b1e3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_metadata -URL = https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz +URL = https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index a274ff0..ff08b8a 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_metadata -url = https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz +url = https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.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 4d3b931..187ee83 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.10.1 -Release : 82 -URL : https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz -Source0 : https://files.pythonhosted.org/packages/f8/41/8ffb059708359ea14a3ec74a99a2bf0cd44a0c983a0c480d9eb7a69438bb/importlib_metadata-4.10.1.tar.gz +Version : 4.11.0 +Release : 83 +URL : https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/28/ac/befd6d793f230c17c366959f518a7fb2f38c0168b850944ec70ba0566271/importlib_metadata-4.11.0.tar.gz Summary : Read metadata from Python packages Group : Development/Tools License : Apache-2.0 @@ -19,7 +19,6 @@ BuildRequires : pypi(py) BuildRequires : pypi(setuptools) BuildRequires : pypi(setuptools_scm) BuildRequires : pypi(trampolim) -BuildRequires : pypi(typing_extensions) BuildRequires : pypi(zipp) BuildRequires : pypi-pluggy BuildRequires : pypi-pytest @@ -53,7 +52,6 @@ Summary: python3 components for the pypi-importlib_metadata package. Group: Default Requires: python3-core Provides: pypi(importlib_metadata) -Requires: pypi(typing_extensions) Requires: pypi(zipp) %description python3 @@ -61,8 +59,8 @@ python3 components for the pypi-importlib_metadata package. %prep -%setup -q -n importlib_metadata-4.10.1 -cd %{_builddir}/importlib_metadata-4.10.1 +%setup -q -n importlib_metadata-4.11.0 +cd %{_builddir}/importlib_metadata-4.11.0 %patch1 -p1 %build @@ -70,7 +68,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=1642440422 +export SOURCE_DATE_EPOCH=1644597277 export GCC_IGNORE_WERROR=1 export CFLAGS="$CFLAGS -fno-lto " export FCFLAGS="$FFLAGS -fno-lto " @@ -83,7 +81,7 @@ python3 -m build --wheel --skip-dependency-check --no-isolation export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata -cp %{_builddir}/importlib_metadata-4.10.1/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4 +cp %{_builddir}/importlib_metadata-4.11.0/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_metadata/da4dc954bbc3ab0893517cb1d7af5598f7a3daf4 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 dde92dd..76a8b2b 100644 --- a/release +++ b/release @@ -1 +1 @@ -82 +83 diff --git a/upstream b/upstream index c4749f4..d53b5dd 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -370c7617fcf2ce5f7fdee9522e2c7f7fa4d2765a/importlib_metadata-4.10.1.tar.gz +5f8a7d2997658b937bbc1c0dce51ead7b90718a0/importlib_metadata-4.11.0.tar.gz diff --git a/versions b/versions index ad96464..a162ea7 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -4.10.1 +4.11.0