From 6a24f29ecee5b91d68ac8c77e90ecb5368e64686 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 15 Jul 2024 23:19:08 +0000 Subject: [PATCH] pypi-importlib_metadata: Autospec creation for update from version 7.1.0 to version 8.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adam Turner (1): GH-109653: Defer import of ``importlib.metadata._adapters`` (python/cpython#109829) Avasam (1): Allow mypy on PyPy (jaraco/skeleton#111) Bartosz SÅ‚awecki (2): Add link to blog entry from jaraco/skeleton#115 above CI build matrix. Move project metadata to `pyproject.toml` (jaraco/skeleton#122) Dan Blanchard (4): Add support for egg packages with files outside site-packages Tweak test Update importlib_metadata/__init__.py Fix mypy failure that has nothing to do with this PR Jason R. Coombs (23): Re-enable ignoring of temporary merge queue branches. Closes jaraco/skeleton#103. Fetch unshallow clones in readthedocs. Closes jaraco/skeleton#114. Move Python 3.11 out of the test matrix. Configure pytest to support namespace packages. Ref pytest-dev/pytest#12112. Pin against pytest 8.1.x due to pytest-dev/pytest#12194. Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. Allow macos on Python 3.8 to fail as GitHub CI has dropped support. Move project.urls to appear in the order that ini2toml generates it. Remove project.scripts. Revert "Allow macos on Python 3.8 to fail as GitHub CI has dropped support." Rename extras to align with core metadata spec. gh-120801: Update fixtures. Finalize Prefer "Source" to "Homepage" for the repository label. Move _relative_to compatibility to a compat module. Update wrapper to rely on 'relative_to(walk_up=True)' on Python 3.12 and compatibility wrapper on Python 3.11 and earlier. Mark compat code as uncovered. Revert "Fix mypy failure that has nothing to do with this PR" Remove additional method in SimplePath. Add news fragment Finalize Removed deprecated support for Distribution subclasses not implementing abstract methods. Message.__getitem__ now raises a KeyError on missing keys. Finalize --- Makefile | 2 +- options.conf | 4 +++- pumpAutospec | 1 - pypi-importlib_metadata.spec | 22 ++++++++++------------ release | 2 +- series | 2 +- upstream | 2 +- 7 files changed, 17 insertions(+), 18 deletions(-) delete mode 100644 pumpAutospec diff --git a/Makefile b/Makefile index 734e3ce..6f94d22 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_metadata -URL = https://files.pythonhosted.org/packages/a0/fc/c4e6078d21fc4fa56300a241b87eae76766aa380a23fc450fc85bb7bf547/importlib_metadata-7.1.0.tar.gz +URL = https://files.pythonhosted.org/packages/20/ff/bd28f70283b9cca0cbf0c2a6082acbecd822d1962ae7b2a904861b9965f8/importlib_metadata-8.0.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 1e165ce..5ea85bc 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_metadata -url = https://files.pythonhosted.org/packages/a0/fc/c4e6078d21fc4fa56300a241b87eae76766aa380a23fc450fc85bb7bf547/importlib_metadata-7.1.0.tar.gz +url = https://files.pythonhosted.org/packages/20/ff/bd28f70283b9cca0cbf0c2a6082acbecd822d1962ae7b2a904861b9965f8/importlib_metadata-8.0.0.tar.gz archives = giturl = /~https://github.com/python/importlib_metadata/ domain = @@ -71,6 +71,8 @@ use_avx512 = false use_clang = false # configure build for lto use_lto = false +# use ninja build files +use_ninja = false # require package verification for build verify_required = false diff --git a/pumpAutospec b/pumpAutospec deleted file mode 100644 index 75a8991..0000000 --- a/pumpAutospec +++ /dev/null @@ -1 +0,0 @@ -Patch deps.patch does not apply diff --git a/pypi-importlib_metadata.spec b/pypi-importlib_metadata.spec index 07fbd48..ebb5010 100644 --- a/pypi-importlib_metadata.spec +++ b/pypi-importlib_metadata.spec @@ -2,14 +2,14 @@ # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Using build pattern: pyproject -# autospec version: v4 -# autospec commit: f4bef72 +# autospec version: v16 +# autospec commit: b858a2a # Name : pypi-importlib_metadata -Version : 7.1.0 -Release : 116 -URL : https://files.pythonhosted.org/packages/a0/fc/c4e6078d21fc4fa56300a241b87eae76766aa380a23fc450fc85bb7bf547/importlib_metadata-7.1.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/a0/fc/c4e6078d21fc4fa56300a241b87eae76766aa380a23fc450fc85bb7bf547/importlib_metadata-7.1.0.tar.gz +Version : 8.0.0 +Release : 117 +URL : https://files.pythonhosted.org/packages/20/ff/bd28f70283b9cca0cbf0c2a6082acbecd822d1962ae7b2a904861b9965f8/importlib_metadata-8.0.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/20/ff/bd28f70283b9cca0cbf0c2a6082acbecd822d1962ae7b2a904861b9965f8/importlib_metadata-8.0.0.tar.gz Summary : Read metadata from Python packages Group : Development/Tools License : Apache-2.0 @@ -28,7 +28,6 @@ BuildRequires : pypi-virtualenv # Suppress stripping binaries %define __strip /bin/true %define debug_package %{nil} -Patch1: deps.patch %description .. image:: https://img.shields.io/pypi/v/importlib_metadata.svg @@ -63,11 +62,10 @@ python3 components for the pypi-importlib_metadata package. %prep -%setup -q -n importlib_metadata-7.1.0 -cd %{_builddir}/importlib_metadata-7.1.0 -%patch -P 1 -p1 +%setup -q -n importlib_metadata-8.0.0 +cd %{_builddir}/importlib_metadata-8.0.0 pushd .. -cp -a importlib_metadata-7.1.0 buildavx2 +cp -a importlib_metadata-8.0.0 buildavx2 popd %build @@ -75,7 +73,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=1711032812 +export SOURCE_DATE_EPOCH=1721085543 export GCC_IGNORE_WERROR=1 CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd " diff --git a/release b/release index 4699eb3..5bc6609 100644 --- a/release +++ b/release @@ -1 +1 @@ -116 +117 diff --git a/series b/series index 7d1a202..74a538d 100644 --- a/series +++ b/series @@ -1 +1 @@ -deps.patch +#deps.patch diff --git a/upstream b/upstream index 24f1c3c..063f051 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -cf7e771152556ebd26c6617e7ba46699d5f3d64b/importlib_metadata-7.1.0.tar.gz +937d5a9068811a3cf33517fe2af539dcf336404f/importlib_metadata-8.0.0.tar.gz