Skip to content

Commit 407f895

Browse files
committed
pypi-importlib_resources: Autospec creation for update from version 6.1.1 to version 6.1.2
Bartosz Sławecki (1): Tweak coverage configuration for type checking (jaraco/skeleton#97) Christian Clauss (2): Upgrade GitHub Actions checkout (jaraco/skeleton#94) GitHub Actions: Combine tox jobs diffcov and docs (jaraco/skeleton#95) Dimitri Papadopoulos Orfanos (2): Use the ruff formatter (jaraco/skeleton#99) ruff: extended-ignore → ignore (jaraco/skeleton#105) Jason R. Coombs (32): Remove news fragment after allowing time to be processed downstream. Suppress deprecation warning in dateutil. Workaround for dateutil/dateutil#1284. Update Github Actions badge per actions/starter-workflows#1525. Separate collateral jobs on different lines for easier override/extension. Update test_custom_loader to correctly return a Traversable (pathlib.Path) and adjust the assertions to only expect a Traversable. Remove skip as typing now has runtime_checkable unconditionally. Add note about when to drop compatibility. Replace compatibility code. Make the assertion explicit. Drop minimum requirement on pytest-mypy as most environments are already running much later. Closes jaraco/skeleton#96. Remove sole entry for branches-ignore. Workaround for and closes jaraco/skeleton#103. Bump year on badge Remove build and dist from excludes. It appears they are not needed and their presence blocks the names of packages like 'builder' and 'distutils'. Ref pypa/distutils#224. Exclude docs and tests directories properly per Setuptools behavior. Rely on default discovery for good heuristics for finding packages. Enable preview to enable preserving quotes. Use latest versions in RTD boilerplate. 👹 Feed the hobgoblins (delint). Move '_ensure_traversable' to the readers module, as it's needed downstream. Move compatibility and future behaviors into separate packages. Consolidate more shared behavior across TraversableResourceLoaders. Update comments to reflect refreshed purpose. Move reader constructors into methods. Use a SimpleNamespace to pass the path needed by the FileReader. Extract method for the standard readers. Remove flake8 exclusion and remove unused imports. 👹 Feed the hobgoblins (delint). Change the assertions for test_join_path to assert that the subdirectory is a multiplexed path to avoid touching implementation details. Updated the contents of the binary files in the subdirectories so there's less chance of accidentally matching one for the other. Added changelog Use bytes ranges instead of bytes literals. Finalize Sviatoslav Sydorenko (1): Enable testing merge queues @ GitHub Actions CI/CD (jaraco/skeleton#93) Weicheng Zhao (1): Fix NotADirectory error when calling files on a submodule of a zipped namespace package
1 parent 855cb17 commit 407f895

File tree

5 files changed

+28
-24
lines changed

5 files changed

+28
-24
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKG_NAME := pypi-importlib_resources
2-
URL = https://files.pythonhosted.org/packages/d4/06/402fb5efbe634881341ff30220798c4c5e448ca57c068108c4582c692160/importlib_resources-6.1.1.tar.gz
2+
URL = https://files.pythonhosted.org/packages/3a/31/d36ccd01aed30f0740b3e9850ff1e6bde7680e460036376cdb6071c488ac/importlib_resources-6.1.2.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-importlib_resources
3-
url = https://files.pythonhosted.org/packages/d4/06/402fb5efbe634881341ff30220798c4c5e448ca57c068108c4582c692160/importlib_resources-6.1.1.tar.gz
3+
url = https://files.pythonhosted.org/packages/3a/31/d36ccd01aed30f0740b3e9850ff1e6bde7680e460036376cdb6071c488ac/importlib_resources-6.1.2.tar.gz
44
archives =
55
giturl = https://github.com/python/importlib_resources/
66
domain =
@@ -9,6 +9,8 @@ alias =
99
[autospec]
1010
# build 32 bit libraries
1111
32bit = false
12+
# allow windows executables (*.exe, *.dll) to be packaged
13+
allow_exe = false
1214
# allow package to build with test failures
1315
allow_test_failures = false
1416
# unset %build ld_as_needed variable
@@ -59,6 +61,8 @@ server = false
5961
skip_tests = false
6062
# add .so files to the lib package instead of dev
6163
so_to_lib = false
64+
# configure build for apx
65+
use_apx = false
6266
# configure build for avx2
6367
use_avx2 = true
6468
# configure build for avx512

pypi-importlib_resources.spec

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is auto-generated. DO NOT EDIT
33
# Generated by: autospec.py
44
# Using build pattern: pyproject
5-
# autospec version: v2
6-
# autospec commit: 250a666
5+
# autospec version: v4
6+
# autospec commit: da8b975
77
#
88
Name : pypi-importlib_resources
9-
Version : 6.1.1
10-
Release : 37
11-
URL : https://files.pythonhosted.org/packages/d4/06/402fb5efbe634881341ff30220798c4c5e448ca57c068108c4582c692160/importlib_resources-6.1.1.tar.gz
12-
Source0 : https://files.pythonhosted.org/packages/d4/06/402fb5efbe634881341ff30220798c4c5e448ca57c068108c4582c692160/importlib_resources-6.1.1.tar.gz
9+
Version : 6.1.2
10+
Release : 38
11+
URL : https://files.pythonhosted.org/packages/3a/31/d36ccd01aed30f0740b3e9850ff1e6bde7680e460036376cdb6071c488ac/importlib_resources-6.1.2.tar.gz
12+
Source0 : https://files.pythonhosted.org/packages/3a/31/d36ccd01aed30f0740b3e9850ff1e6bde7680e460036376cdb6071c488ac/importlib_resources-6.1.2.tar.gz
1313
Summary : Read resources from Python packages
1414
Group : Development/Tools
1515
License : Apache-2.0
@@ -60,18 +60,18 @@ python3 components for the pypi-importlib_resources package.
6060

6161

6262
%prep
63-
%setup -q -n importlib_resources-6.1.1
64-
cd %{_builddir}/importlib_resources-6.1.1
63+
%setup -q -n importlib_resources-6.1.2
64+
cd %{_builddir}/importlib_resources-6.1.2
6565
pushd ..
66-
cp -a importlib_resources-6.1.1 buildavx2
66+
cp -a importlib_resources-6.1.2 buildavx2
6767
popd
6868

6969
%build
7070
export http_proxy=http://127.0.0.1:9/
7171
export https_proxy=http://127.0.0.1:9/
7272
export no_proxy=localhost,127.0.0.1,0.0.0.0
7373
export LANG=C.UTF-8
74-
export SOURCE_DATE_EPOCH=1699374917
74+
export SOURCE_DATE_EPOCH=1708968177
7575
export GCC_IGNORE_WERROR=1
7676
export AR=gcc-ar
7777
export RANLIB=gcc-ranlib
@@ -89,11 +89,11 @@ LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
8989
export MAKEFLAGS=%{?_smp_mflags}
9090
python3 -m build --wheel --skip-dependency-check --no-isolation
9191
pushd ../buildavx2/
92-
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
93-
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
94-
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
95-
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
96-
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
92+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
93+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
94+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
95+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
96+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
9797
python3 -m build --wheel --skip-dependency-check --no-isolation
9898

9999
popd
@@ -122,11 +122,11 @@ echo ----[ mark ]----
122122
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
123123
echo ----[ mark ]----
124124
pushd ../buildavx2/
125-
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
126-
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
127-
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
128-
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
129-
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
125+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
126+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
127+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
128+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
129+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
130130
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
131131
popd
132132
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
37
1+
38

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
679c7f302dc724b92f2b57b4514f3d7f7ddac348/importlib_resources-6.1.1.tar.gz
1+
36464ce99c92ee46de725e23c6948ba7ac9d7904/importlib_resources-6.1.2.tar.gz

0 commit comments

Comments
 (0)