From 8392011b1c4e8850896cd5c38481b9fba532d3f6 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Sat, 28 Jan 2023 22:20:25 +0000 Subject: [PATCH] pypi-zipp: Autospec creation for update from version 3.11.0 to version 3.12.0 Gregory P. Smith (1): python/cpython#101144: Allow open and read_text encoding to be positional. (python/cpython#101145) Jason R. Coombs (13): Honor ResourceWarnings. Fixes jaraco/skeleton#73. tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74. Remove unnecessary shebang and encoding header in docs conf. Prevent Python 3.12 from blocking checks. Build docs in CI, including sphinx-lint. Put tidelift docs dependency in its own section to limit merge conflicts. Update badge for 2023 Update changelog. Ref python/cpython#101144. Invoke test_encoding_warnings in-process, but skip when warn_default_encoding is not set. Re-use alpharep fixture for the file. Provide 'sys.flags.warn_default_encoding' for the tests to skip prior to 3.10. Due to mypy, it's not possible to patch the value, so just be lenient in access. Prefer simple asserts Replace trailing comment with a comment on a separate line. --- Makefile | 2 +- options.conf | 4 +++- pypi-zipp.spec | 27 +++++++++++++++------------ release | 2 +- upstream | 2 +- versions | 2 +- 6 files changed, 22 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index 434924b..a3b6b1e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := pypi-zipp -URL = https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz +URL = https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/options.conf b/options.conf index a48d6a2..e567842 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = pypi-zipp -url = https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz +url = https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz archives = giturl = https://github.com/jaraco/zipp/ domain = @@ -27,6 +27,8 @@ conservative_flags = false dev_requires_extras = false # pass -ffast-math to compiler fast-math = false +# compile full (traditional) debug info +full-debug-info = false # optimize build for speed over size funroll-loops = false # set flags to smallest -02 flags possible diff --git a/pypi-zipp.spec b/pypi-zipp.spec index 2d7ae1d..7c2d975 100644 --- a/pypi-zipp.spec +++ b/pypi-zipp.spec @@ -3,10 +3,10 @@ # Generated by: autospec.py # Name : pypi-zipp -Version : 3.11.0 -Release : 56 -URL : https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz -Source0 : https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz +Version : 3.12.0 +Release : 57 +URL : https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz +Source0 : https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz Summary : Backport of pathlib-compatible object wrapper for zip files Group : Development/Tools License : MIT @@ -21,6 +21,9 @@ BuildRequires : pypi-pluggy BuildRequires : pypi-pytest BuildRequires : pypi-tox BuildRequires : pypi-virtualenv +# Suppress stripping binaries +%define __strip /bin/true +%define debug_package %{nil} %description .. image:: https://img.shields.io/pypi/v/zipp.svg @@ -54,10 +57,10 @@ python3 components for the pypi-zipp package. %prep -%setup -q -n zipp-3.11.0 -cd %{_builddir}/zipp-3.11.0 +%setup -q -n zipp-3.12.0 +cd %{_builddir}/zipp-3.12.0 pushd .. -cp -a zipp-3.11.0 buildavx2 +cp -a zipp-3.12.0 buildavx2 popd %build @@ -65,15 +68,15 @@ 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=1669552879 +export SOURCE_DATE_EPOCH=1674944421 export GCC_IGNORE_WERROR=1 export AR=gcc-ar export RANLIB=gcc-ranlib export NM=gcc-nm -export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=auto " -export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto " -export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto " -export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto " +export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " +export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " +export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " +export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz " export MAKEFLAGS=%{?_smp_mflags} python3 -m build --wheel --skip-dependency-check --no-isolation pushd ../buildavx2/ diff --git a/release b/release index f6b91e0..e1617e8 100644 --- a/release +++ b/release @@ -1 +1 @@ -56 +57 diff --git a/upstream b/upstream index 45f5d75..2ccf020 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -3f6c57b68f3b9165586ea7cce96fc2540b0078ec/zipp-3.11.0.tar.gz +42a6ae26aabbe9fd7f621902555b0b843e8e577d/zipp-3.12.0.tar.gz diff --git a/versions b/versions index afad818..92536a9 100644 --- a/versions +++ b/versions @@ -1 +1 @@ -3.11.0 +3.12.0