Skip to content

Commit 5818108

Browse files
committed
pypi-lazy_object_proxy: Autospec creation for update from version 1.10.0 to version 1.11.0
Ionel Cristian Mărieș (19): Add a tidelift security policy. Add support for __format__. Drop EOL python 3.8 and update some CI config. Run ruff over. Up ci conf. Allow building on 3.13 freetreading python. Add 3.13 to ci. I guess I need to wait on actions/python-versions#319 and maybe actions/python-versions#319. Add support for ndigits in __round__. Update changelog. Closes #86. Bump precommit and some actions. Add the freethread envs. Do not set binary dist if exts are disabled. Add long_description_content_type. Use unique actifact name. Fix some variables for freethread builds. Twine not needed. Workaround for twine being uninstalable on freethreaded (cryphtography bad) Bump version: 1.10.0 → 1.11.0
1 parent d869db2 commit 5818108

File tree

5 files changed

+36
-33
lines changed

5 files changed

+36
-33
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-lazy_object_proxy
2-
URL = https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz
2+
URL = https://files.pythonhosted.org/packages/57/f9/1f56571ed82fb324f293661690635cf42c41deb8a70a6c9e6edc3e9bb3c8/lazy_object_proxy-1.11.0.tar.gz
33
ARCHIVES =
44

55
include ../common/Makefile.common

options.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = pypi-lazy_object_proxy
3-
url = https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz
3+
url = https://files.pythonhosted.org/packages/57/f9/1f56571ed82fb324f293661690635cf42c41deb8a70a6c9e6edc3e9bb3c8/lazy_object_proxy-1.11.0.tar.gz
44
archives =
55
giturl = https://github.com/ionelmc/python-lazy-object-proxy.git
66
domain =
@@ -9,12 +9,16 @@ 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
1517
asneeded = false
1618
# this package is trusted enough to automatically update (used by other tools)
1719
autoupdate = true
20+
# try to use mock short circuit to avoid full rebuilds
21+
avoid_rebuild = false
1822
# extend flags with '-std=gnu++98
1923
broken_c++ = false
2024
# disable parallelization during build
@@ -59,6 +63,8 @@ server = false
5963
skip_tests = false
6064
# add .so files to the lib package instead of dev
6165
so_to_lib = false
66+
# configure build for apx
67+
use_apx = false
6268
# configure build for avx2
6369
use_avx2 = true
6470
# configure build for avx512
@@ -67,6 +73,8 @@ use_avx512 = false
6773
use_clang = false
6874
# configure build for lto
6975
use_lto = false
76+
# use ninja build files
77+
use_ninja = false
7078
# require package verification for build
7179
verify_required = false
7280

pypi-lazy_object_proxy.spec

Lines changed: 24 additions & 29 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: v3
6-
# autospec commit: c1050fe
5+
# autospec version: v24
6+
# autospec commit: a88ffdc
77
#
88
Name : pypi-lazy_object_proxy
9-
Version : 1.10.0
10-
Release : 78
11-
URL : https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz
12-
Source0 : https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz
9+
Version : 1.11.0
10+
Release : 79
11+
URL : https://files.pythonhosted.org/packages/57/f9/1f56571ed82fb324f293661690635cf42c41deb8a70a6c9e6edc3e9bb3c8/lazy_object_proxy-1.11.0.tar.gz
12+
Source0 : https://files.pythonhosted.org/packages/57/f9/1f56571ed82fb324f293661690635cf42c41deb8a70a6c9e6edc3e9bb3c8/lazy_object_proxy-1.11.0.tar.gz
1313
Summary : A fast and thorough lazy object proxy.
1414
Group : Development/Tools
1515
License : BSD-2-Clause
@@ -20,9 +20,7 @@ BuildRequires : pypi(pip)
2020
BuildRequires : pypi(py)
2121
BuildRequires : pypi(setuptools)
2222
BuildRequires : pypi(setuptools_scm)
23-
BuildRequires : pypi(six)
2423
BuildRequires : pypi(tox)
25-
BuildRequires : pypi(twine)
2624
BuildRequires : pypi(virtualenv)
2725
BuildRequires : pypi-pluggy
2826
BuildRequires : pypi-pytest
@@ -42,13 +40,11 @@ Overview
4240
* - docs
4341
- |docs|
4442
* - tests
45-
- | |github-actions|
46-
| |coveralls| |codecov|
43+
- |github-actions| |coveralls| |codecov|
4744
* - package
48-
- | |version| |wheel| |supported-versions| |supported-implementations|
49-
| |commits-since|
45+
- |version| |wheel| |supported-versions| |supported-implementations| |commits-since|
5046
.. |docs| image:: https://readthedocs.org/projects/python-lazy-object-proxy/badge/?style=flat
51-
:target: https://python-lazy-object-proxy.readthedocs.io/
47+
:target: https://readthedocs.org/projects/python-lazy-object-proxy/
5248
:alt: Documentation Status
5349

5450
%package python
@@ -66,28 +62,26 @@ Group: Default
6662
Requires: python3-core
6763
Provides: pypi(lazy_object_proxy)
6864
Requires: pypi(pip)
69-
Requires: pypi(six)
7065
Requires: pypi(tox)
71-
Requires: pypi(twine)
7266
Requires: pypi(virtualenv)
7367

7468
%description python3
7569
python3 components for the pypi-lazy_object_proxy package.
7670

7771

7872
%prep
79-
%setup -q -n lazy-object-proxy-1.10.0
80-
cd %{_builddir}/lazy-object-proxy-1.10.0
73+
%setup -q -n lazy_object_proxy-1.11.0
74+
cd %{_builddir}/lazy_object_proxy-1.11.0
8175
pushd ..
82-
cp -a lazy-object-proxy-1.10.0 buildavx2
76+
cp -a lazy_object_proxy-1.11.0 buildavx2
8377
popd
8478

8579
%build
8680
export http_proxy=http://127.0.0.1:9/
8781
export https_proxy=http://127.0.0.1:9/
8882
export no_proxy=localhost,127.0.0.1,0.0.0.0
8983
export LANG=C.UTF-8
90-
export SOURCE_DATE_EPOCH=1702928174
84+
export SOURCE_DATE_EPOCH=1744900473
9185
export GCC_IGNORE_WERROR=1
9286
CLEAR_INTERMEDIATE_CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
9387
CLEAR_INTERMEDIATE_FCFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
@@ -101,12 +95,13 @@ ASFLAGS="$CLEAR_INTERMEDIATE_ASFLAGS"
10195
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS"
10296
export MAKEFLAGS=%{?_smp_mflags}
10397
python3 -m build --wheel --skip-dependency-check --no-isolation
98+
10499
pushd ../buildavx2/
105-
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
106-
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
107-
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
108-
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
109-
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
100+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
101+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
102+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
103+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
104+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
110105
python3 -m build --wheel --skip-dependency-check --no-isolation
111106

112107
popd
@@ -130,11 +125,11 @@ echo ----[ mark ]----
130125
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
131126
echo ----[ mark ]----
132127
pushd ../buildavx2/
133-
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
134-
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
135-
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -m64 -march=x86-64-v3 -Wl,-z,x86-64-v3 "
136-
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -m64 -march=x86-64-v3 "
137-
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -m64 -march=x86-64-v3 "
128+
CFLAGS="$CLEAR_INTERMEDIATE_CFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
129+
CXXFLAGS="$CLEAR_INTERMEDIATE_CXXFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
130+
FFLAGS="$CLEAR_INTERMEDIATE_FFLAGS -march=x86-64-v3 -Wl,-z,x86-64-v3 "
131+
FCFLAGS="$CLEAR_INTERMEDIATE_FCFLAGS -march=x86-64-v3 "
132+
LDFLAGS="$CLEAR_INTERMEDIATE_LDFLAGS -march=x86-64-v3 "
138133
python3 -m installer --destdir=%{buildroot}-v3 dist/*.whl
139134
popd
140135
/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-
78
1+
79

upstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
81d25a2e722080327ba479111c89e71b196f591b/lazy-object-proxy-1.10.0.tar.gz
1+
bc538759147f9543fa2ee37153830fbc14d515b5/lazy_object_proxy-1.11.0.tar.gz

0 commit comments

Comments
 (0)