Skip to content

Commit

Permalink
pypi-zipp: Autospec creation for update from version 3.11.0 to versio…
Browse files Browse the repository at this point in the history
…n 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.
  • Loading branch information
fenrus75 committed Jan 28, 2023
1 parent 8f0d4f9 commit 8392011
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion 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
4 changes: 3 additions & 1 deletion 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 =
Expand All @@ -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
Expand Down
27 changes: 15 additions & 12 deletions pypi-zipp.spec
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -54,26 +57,26 @@ 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
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/
Expand Down
2 changes: 1 addition & 1 deletion release
@@ -1 +1 @@
56
57
2 changes: 1 addition & 1 deletion upstream
@@ -1 +1 @@
3f6c57b68f3b9165586ea7cce96fc2540b0078ec/zipp-3.11.0.tar.gz
42a6ae26aabbe9fd7f621902555b0b843e8e577d/zipp-3.12.0.tar.gz
2 changes: 1 addition & 1 deletion versions
@@ -1 +1 @@
3.11.0
3.12.0

0 comments on commit 8392011

Please sign in to comment.