Skip to content

Commit 8392011

Browse files
committed
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.
1 parent 8f0d4f9 commit 8392011

File tree

6 files changed

+22
-17
lines changed

6 files changed

+22
-17
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-zipp
2-
URL = https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-zipp
3-
url = https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz
44
archives =
55
giturl = https://github.com/jaraco/zipp/
66
domain =
@@ -27,6 +27,8 @@ conservative_flags = false
2727
dev_requires_extras = false
2828
# pass -ffast-math to compiler
2929
fast-math = false
30+
# compile full (traditional) debug info
31+
full-debug-info = false
3032
# optimize build for speed over size
3133
funroll-loops = false
3234
# set flags to smallest -02 flags possible

pypi-zipp.spec

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Generated by: autospec.py
44
#
55
Name : pypi-zipp
6-
Version : 3.11.0
7-
Release : 56
8-
URL : https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz
9-
Source0 : https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz
6+
Version : 3.12.0
7+
Release : 57
8+
URL : https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz
9+
Source0 : https://files.pythonhosted.org/packages/35/05/f81a74656c04e94f05c1ef186127cceb913493f1f8a21bb142a93c786ee8/zipp-3.12.0.tar.gz
1010
Summary : Backport of pathlib-compatible object wrapper for zip files
1111
Group : Development/Tools
1212
License : MIT
@@ -21,6 +21,9 @@ BuildRequires : pypi-pluggy
2121
BuildRequires : pypi-pytest
2222
BuildRequires : pypi-tox
2323
BuildRequires : pypi-virtualenv
24+
# Suppress stripping binaries
25+
%define __strip /bin/true
26+
%define debug_package %{nil}
2427

2528
%description
2629
.. image:: https://img.shields.io/pypi/v/zipp.svg
@@ -54,26 +57,26 @@ python3 components for the pypi-zipp package.
5457

5558

5659
%prep
57-
%setup -q -n zipp-3.11.0
58-
cd %{_builddir}/zipp-3.11.0
60+
%setup -q -n zipp-3.12.0
61+
cd %{_builddir}/zipp-3.12.0
5962
pushd ..
60-
cp -a zipp-3.11.0 buildavx2
63+
cp -a zipp-3.12.0 buildavx2
6164
popd
6265

6366
%build
6467
export http_proxy=http://127.0.0.1:9/
6568
export https_proxy=http://127.0.0.1:9/
6669
export no_proxy=localhost,127.0.0.1,0.0.0.0
6770
export LANG=C.UTF-8
68-
export SOURCE_DATE_EPOCH=1669552879
71+
export SOURCE_DATE_EPOCH=1674944421
6972
export GCC_IGNORE_WERROR=1
7073
export AR=gcc-ar
7174
export RANLIB=gcc-ranlib
7275
export NM=gcc-nm
73-
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=auto "
74-
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
75-
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
76-
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto "
76+
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 "
77+
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 "
78+
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 "
79+
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 "
7780
export MAKEFLAGS=%{?_smp_mflags}
7881
python3 -m build --wheel --skip-dependency-check --no-isolation
7982
pushd ../buildavx2/

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
56
1+
57

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3f6c57b68f3b9165586ea7cce96fc2540b0078ec/zipp-3.11.0.tar.gz
1+
42a6ae26aabbe9fd7f621902555b0b843e8e577d/zipp-3.12.0.tar.gz

versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11.0
1+
3.12.0

0 commit comments

Comments
 (0)