From fef8ffabb0b3cd885fd2c08f719f6e5638a76383 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 10 Oct 2022 16:26:02 +0000 Subject: [PATCH] pypi-importlib_resources: Autospec creation for update from version 5.9.0 to version 5.10.0 Jason R. Coombs (27): Inline type defintions Implement resolve as a single-dispatch function. (#261) 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. Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635). Add test capturing current behavior and missed expectation. Ref #203. Remove restriction that a 'package' cannot be a module. Allows resolution of resources from adjacent modules, even those not found in a package. Fixes #203. Update changelog. Ref #203. Update docs to prefer the name 'anchor' to 'package', as the anchor may be a module. Rewrite section using imperative voice and add determiners. Remove docs pertinent to Python 3.6 and earlier. Extend type spec for clarity. Use more namespaces. Prefer relative imports for abc. Correct the changelog to mention the correct function affected. Rename the 'package' parameter to 'anchor'. Add doctests to flesh out coverage. Add test capturing expectation. Extract fixture for SiteDir. Implement caller inference to allow ``files()`` to be called without any parameter. Update changelog sobolevn (1): Replace `abstractproperty` with `property` + `abstractmethod` --- Makefile | 2 +- options.conf | 2 +- pypi-importlib_resources.spec | 18 +++++++++--------- release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index cda4120..33cadd6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-importlib_resources -URL = https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz +URL = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index 0a4fbfa..735fe75 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-importlib_resources -url = https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz +url = https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz archives = giturl = https://github.com/python/importlib_resources/ domain = diff --git a/pypi-importlib_resources.spec b/pypi-importlib_resources.spec index 9198e64..ed81c33 100644 --- a/pypi-importlib_resources.spec +++ b/pypi-importlib_resources.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : pypi-importlib_resources -Version : 5.9.0 -Release : 23 -URL : https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/38/b6/bc58f9261c70abb5fd670f9ad5d84445a402b4b473f308c5bf699cd379e0/importlib_resources-5.9.0.tar.gz +Version : 5.10.0 +Release : 24 +URL : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/06/72/6bf0df4fe7a139147f5d6b473f16d5aefb7bc5b719ba5dd33f230d35760f/importlib_resources-5.10.0.tar.gz Summary : Read resources from Python packages Group : Development/Tools License : Apache-2.0 @@ -54,10 +54,10 @@ python3 components for the pypi-importlib_resources package. %prep -%setup -q -n importlib_resources-5.9.0 -cd %{_builddir}/importlib_resources-5.9.0 +%setup -q -n importlib_resources-5.10.0 +cd %{_builddir}/importlib_resources-5.10.0 pushd .. -cp -a importlib_resources-5.9.0 buildavx2 +cp -a importlib_resources-5.10.0 buildavx2 popd %build @@ -65,7 +65,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=1658764372 +export SOURCE_DATE_EPOCH=1665419158 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib @@ -90,7 +90,7 @@ popd export MAKEFLAGS=%{?_smp_mflags} rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/pypi-importlib_resources -cp %{_builddir}/importlib_resources-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_resources/2b8b815229aa8a61e483fb4ba0588b8b6c491890 +cp %{_builddir}/importlib_resources-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/pypi-importlib_resources/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 4099407..a45fd52 100644 --- a/release +++ b/release @@ -1 +1 @@ -23 +24 diff --git a/upstream b/upstream index 93b705a..2c61566 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -3b4b20fa0399e2fa21c7506be27a4b943495d3ad/importlib_resources-5.9.0.tar.gz +a8c7a6a976fffb9841c548230cb633eda3111c4f/importlib_resources-5.10.0.tar.gz diff --git a/versions b/versions index b3d91f9..509b0b6 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -5.9.0 +5.10.0