hynek
(Hynek Schlawack)
June 28, 2022, 9:49am
1
Hi,
I’m befuddled by some opaque behavior WRT compilation of binary extensions and I hope I can get some pointers here.
The project in question is argon2-cffi-bindings that are CFFI bindings to the argon2 library that is vendored by the project.
An important kicker: the library in turn vendors a copy blake2 which contains one file that exists as an optimized version for x86 CPUs called opt.c
and a portable version called ref.c
. opt.c
cannot be compiled for ARM. Therefore there is a bunch of logic to detect whether or not to use it:
# Try to detect cross-compilation.
def _get_target_platform(arch_flags, default):
flags = [f for f in arch_flags.split(" ") if f.strip() != ""]
try:
pos = flags.index("-arch")
return flags[pos + 1].lower()
except ValueError:
pass
return default
target_platform = _get_target_platform(
os.environ.get("ARCHFLAGS", ""), platform.machine()
)
if use_sse2 == "1":
optimized = True
This file has been truncated. show original
And then while building, the correct file is selected:
"#include <argon2.h>",
extra_compile_args=["-msse2"] if (optimized and not windows) else None,
include_dirs=[os.path.join("extras", "libargon2", "include")],
sources=[
str(lib_base / path)
for path in [
"argon2.c",
Path("blake2") / "blake2b.c",
"core.c",
"encoding.c",
"opt.c" if optimized else "ref.c",
"thread.c",
]
],
)
ffi.cdef(
"""\
typedef enum Argon2_type {
Argon2_d = ...,
Out of nothing, the local development CI (it tests whether you get a working dev env if you follow the contributing guide) target started failing: Python 3.11 · hynek/argon2-cffi-bindings@7437c4a · GitHub
To my eyes, it looks like pip install -e .[dev]
tries to compile for x86 and arm64 at the same time, to create a universal2 build:
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -isysroot /Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include -Iextras/libargon2/include -I/Users/runner/hostedtoolcache/Python/3.10.5/x64/include/python3.10 -c extras/libargon2/src/opt.c -o build/temp.macosx-10.15-universal2-cpython-310/extras/libargon2/src/opt.o -msse2
(the -msse2
is also coming from me)
Unfortunately, I cannot reproduce this locally on my macOS 12.4 / Xcode 13.4.1. cibuildwheel fortunately works too . My local installation also uses clang
and not gcc
.
So my question here is:
Which part of the build chain is responsible for this? cffi’s release is old, setuptools doesn’t mention universal2 at all in their changelog…I’m completely at a loss where to look.
And ultimately: how can I force to not build for universal2?
Thanks in advance, I’m truly lost here.
dstufft
(Donald Stufft)
June 28, 2022, 1:03pm
2
Can you reproduce it using python -m build
from build · PyPI ?
hynek
(Hynek Schlawack)
June 28, 2022, 1:27pm
3
Sadly, no. With the latest build 0.8.0 and pep517 0.12.0 I get the following that only passes -arch x86_64
:
Summary
❯ python -m build .
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (cffi>=1.0.1, setuptools>=45, setuptools_scm>=6.2, wheel)
* Getting dependencies for sdist...
* Installing packages in isolated environment... (cffi>=1.0.1, setuptools_scm>=6.2)
* Building sdist...
running sdist
running egg_info
writing src/argon2_cffi_bindings.egg-info/PKG-INFO
writing dependency_links to src/argon2_cffi_bindings.egg-info/dependency_links.txt
writing requirements to src/argon2_cffi_bindings.egg-info/requires.txt
writing top-level names to src/argon2_cffi_bindings.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/argon2_cffi_bindings.egg-info/SOURCES.txt'
running check
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github/workflows
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/include
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex/pics
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/man
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Opt
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptBench
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptDll
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptGenKAT
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptTestCI
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Ref
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefBench
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefDll
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefGenKAT
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefTestCI
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/_argon2_cffi_bindings
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
creating argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/tests
copying files to argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f...
copying .gitignore -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying .gitmodules -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying .pre-commit-config.yaml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying CHANGELOG.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying LICENSE -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying MANIFEST.in -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying README.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying pyproject.toml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying setup.py -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying tox.ini -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f
copying .github/CODE_OF_CONDUCT.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github
copying .github/CONTRIBUTING.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github
copying .github/FUNDING.yml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github
copying .github/SECURITY.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github
copying .github/workflows/main.yml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github/workflows
copying .github/workflows/wheels.yml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/.github/workflows
copying extras/libargon2/.git -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/.gitattributes -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/.gitignore -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/.travis.yml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/Argon2.sln -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/CHANGELOG.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/LICENSE -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/Makefile -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/Package.swift -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/README.md -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/appveyor.yml -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/argon2-specs.pdf -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/export.sh -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/libargon2.pc.in -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2
copying extras/libargon2/include/argon2.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/include
copying extras/libargon2/kats/argon2d -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2d.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2d_v16 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2d_v16.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2i -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2i.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2i_v16 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2i_v16.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2id -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2id.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2id_v16 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/argon2id_v16.shasum -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/check-sums.ps1 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/check-sums.sh -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/test.ps1 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/kats/test.sh -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/kats
copying extras/libargon2/latex/IEEEtran.cls -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex
copying extras/libargon2/latex/Makefile -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex
copying extras/libargon2/latex/argon2-specs.tex -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex
copying extras/libargon2/latex/tradeoff.bib -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex
copying extras/libargon2/latex/pics/argon2-par.pdf -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex/pics
copying extras/libargon2/latex/pics/compression.pdf -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex/pics
copying extras/libargon2/latex/pics/generic.pdf -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex/pics
copying extras/libargon2/latex/pics/power-distribution.jpg -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/latex/pics
copying extras/libargon2/man/argon2.1 -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/man
copying extras/libargon2/src/argon2.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/bench.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/core.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/core.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/encoding.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/encoding.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/genkat.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/genkat.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/opt.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/ref.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/run.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/test.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/thread.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/thread.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src
copying extras/libargon2/src/blake2/blake2-impl.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
copying extras/libargon2/src/blake2/blake2.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
copying extras/libargon2/src/blake2/blake2b.c -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
copying extras/libargon2/src/blake2/blamka-round-opt.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
copying extras/libargon2/src/blake2/blamka-round-ref.h -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/src/blake2
copying extras/libargon2/vs2015/Argon2Opt/Argon2Opt.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Opt
copying extras/libargon2/vs2015/Argon2Opt/Argon2Opt.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Opt
copying extras/libargon2/vs2015/Argon2OptBench/Argon2OptBench.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptBench
copying extras/libargon2/vs2015/Argon2OptBench/Argon2OptBench.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptBench
copying extras/libargon2/vs2015/Argon2OptDll/Argon2OptDll.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptDll
copying extras/libargon2/vs2015/Argon2OptDll/Argon2OptDll.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptDll
copying extras/libargon2/vs2015/Argon2OptGenKAT/Argon2OptGenKAT.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptGenKAT
copying extras/libargon2/vs2015/Argon2OptGenKAT/Argon2OptGenKAT.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptGenKAT
copying extras/libargon2/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptTestCI
copying extras/libargon2/vs2015/Argon2OptTestCI/Argon2OptTestCI.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2OptTestCI
copying extras/libargon2/vs2015/Argon2Ref/Argon2Ref.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Ref
copying extras/libargon2/vs2015/Argon2Ref/Argon2Ref.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2Ref
copying extras/libargon2/vs2015/Argon2RefBench/Argon2RefBench.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefBench
copying extras/libargon2/vs2015/Argon2RefBench/Argon2RefBench.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefBench
copying extras/libargon2/vs2015/Argon2RefDll/Argon2RefDll.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefDll
copying extras/libargon2/vs2015/Argon2RefDll/Argon2RefDll.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefDll
copying extras/libargon2/vs2015/Argon2RefGenKAT/Argon2RefGenKAT.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefGenKAT
copying extras/libargon2/vs2015/Argon2RefGenKAT/Argon2RefGenKAT.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefGenKAT
copying extras/libargon2/vs2015/Argon2RefTestCI/Argon2RefTestCI.vcxproj -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefTestCI
copying extras/libargon2/vs2015/Argon2RefTestCI/Argon2RefTestCI.vcxproj.filters -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/extras/libargon2/vs2015/Argon2RefTestCI
copying src/_argon2_cffi_bindings/__init__.py -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/_argon2_cffi_bindings
copying src/_argon2_cffi_bindings/_ffi_build.py -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/_argon2_cffi_bindings
copying src/argon2_cffi_bindings.egg-info/PKG-INFO -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying src/argon2_cffi_bindings.egg-info/SOURCES.txt -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying src/argon2_cffi_bindings.egg-info/dependency_links.txt -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying src/argon2_cffi_bindings.egg-info/not-zip-safe -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying src/argon2_cffi_bindings.egg-info/requires.txt -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying src/argon2_cffi_bindings.egg-info/top_level.txt -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/src/argon2_cffi_bindings.egg-info
copying tests/test_build.py -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/tests
copying tests/test_smoke.py -> argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/tests
Writing argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f/setup.cfg
Creating tar archive
removing 'argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f' (and everything under it)
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (cffi>=1.0.1, setuptools>=45, setuptools_scm>=6.2, wheel)
* Getting dependencies for wheel...
* Installing packages in isolated environment... (cffi>=1.0.1, setuptools_scm>=6.2, wheel)
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12.4-x86_64-cpython-310
creating build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings
copying src/_argon2_cffi_bindings/__init__.py -> build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings
copying src/_argon2_cffi_bindings/_ffi_build.py -> build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build/temp.macosx-12.4-x86_64-cpython-310/_ffi.c'
creating build/temp.macosx-12.4-x86_64-cpython-310
building '_ffi' extension
creating build/temp.macosx-12.4-x86_64-cpython-310/build
creating build/temp.macosx-12.4-x86_64-cpython-310/build/temp.macosx-12.4-x86_64-cpython-310
creating build/temp.macosx-12.4-x86_64-cpython-310/extras
creating build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2
creating build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src
creating build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/blake2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c build/temp.macosx-12.4-x86_64-cpython-310/_ffi.c -o build/temp.macosx-12.4-x86_64-cpython-310/build/temp.macosx-12.4-x86_64-cpython-310/_ffi.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/argon2.c -o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/argon2.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/blake2/blake2b.c -obuild/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/blake2/blake2b.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/core.c -o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/core.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/encoding.c -o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/encoding.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/opt.c -o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/opt.o -msse2
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument -Iextras/libargon2/include -I/private/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T/build-env-9c9sd14m/include -I/Users/hynek/.asdf/installs/python/3.10.5/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c extras/libargon2/src/thread.c -o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/thread.o -msse2
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/hynek/.asdf/installs/python/3.10.5/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite3/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/argon2/lib -L/usr/local/opt/zlib/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/hynek/.asdf/installs/python/3.10.5/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite3/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/argon2/lib -L/usr/local/opt/zlib/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite3/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/argon2/lib -L/usr/local/opt/zlib/lib -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite3/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/zlib/include -arch x86_64 -Wno-error=unused-command-line-argument build/temp.macosx-12.4-x86_64-cpython-310/build/temp.macosx-12.4-x86_64-cpython-310/_ffi.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/argon2.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/blake2/blake2b.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/core.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/encoding.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/opt.o build/temp.macosx-12.4-x86_64-cpython-310/extras/libargon2/src/thread.o -o build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings/_ffi.abi3.so
installing to build/bdist.macosx-12.4-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-12.4-x86_64
creating build/bdist.macosx-12.4-x86_64/wheel
creating build/bdist.macosx-12.4-x86_64/wheel/_argon2_cffi_bindings
copying build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings/__init__.py -> build/bdist.macosx-12.4-x86_64/wheel/_argon2_cffi_bindings
copying build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings/_ffi_build.py -> build/bdist.macosx-12.4-x86_64/wheel/_argon2_cffi_bindings
copying build/lib.macosx-12.4-x86_64-cpython-310/_argon2_cffi_bindings/_ffi.abi3.so -> build/bdist.macosx-12.4-x86_64/wheel/_argon2_cffi_bindings
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
running egg_info
writing src/argon2_cffi_bindings.egg-info/PKG-INFO
writing dependency_links to src/argon2_cffi_bindings.egg-info/dependency_links.txt
writing requirements to src/argon2_cffi_bindings.egg-info/requires.txt
writing top-level names to src/argon2_cffi_bindings.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'src/argon2_cffi_bindings.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/argon2_cffi_bindings.egg-info/SOURCES.txt'
Copying src/argon2_cffi_bindings.egg-info to build/bdist.macosx-12.4-x86_64/wheel/argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f-py3.10.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-12.4-x86_64/wheel/argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/WHEEL
creating '/Users/hynek/FOSS/argon2-cffi-bindings/dist/tmp8w8w7ab_/argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f-cp310-abi3-macosx_12_0_x86_64.whl' and adding 'build/bdist.macosx-12.4-x86_64/wheel' to it
adding '_argon2_cffi_bindings/__init__.py'
adding '_argon2_cffi_bindings/_ffi.abi3.so'
adding '_argon2_cffi_bindings/_ffi_build.py'
adding 'argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/LICENSE'
adding 'argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/METADATA'
adding 'argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/WHEEL'
adding 'argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/top_level.txt'
adding 'argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f.dist-info/RECORD'
removing build/bdist.macosx-12.4-x86_64/wheel
Successfully built argon2-cffi-bindings-21.2.0.post1.dev12+gc1ad14f.tar.gz and argon2_cffi_bindings-21.2.0.post1.dev12+gc1ad14f-cp310-abi3-macosx_12_0_x86_64.whl
dstufft
(Donald Stufft)
June 28, 2022, 1:34pm
4
That seems like it narrows it down to something pip is doing, or something setuptools is doing in a dev install. Does it reproduce if you don’t use a dev install?
hynek
(Hynek Schlawack)
June 28, 2022, 2:46pm
5
dstufft
(Donald Stufft)
June 28, 2022, 4:31pm
6
Interesting, that suggests that it’s a problem within pip or GitHub’s Build Environment. I’m not sure what it would be though, but it seems like cibuildwheel on GitHub Actions is working fine, so that seems to narrow it down to pip to me?
hynek
(Hynek Schlawack)
June 28, 2022, 4:52pm
7
i’ve tried running python -m build
in GHA and it fails the same way, so it’s most likely not pip’s fault?
hynek
(Hynek Schlawack)
June 28, 2022, 4:53pm
8
BTW I misunderstood…I tried reproducing locally and couldn’t. But now I’ve tried in the CI and it fails the same way. Sorry for misdirecting you.
dstufft
(Donald Stufft)
June 28, 2022, 4:55pm
9
Ah yea, if python -m build
fails, then it’s probably related to setuptools somehow would be my guess.
@abravalheri any insight, or know who else to ping?
pradyunsg
(Pradyun Gedam)
June 28, 2022, 11:11pm
11
A vague guess – it might be related to a virtual environment change in the GitHub Actions runner.
hynek
(Hynek Schlawack)
June 29, 2022, 6:23am
12
Since I had a passing run on May 2 , I’ve tried to pin setuptools to the version that according to its changelog was up to date and it didn’t work: Python 3.11 · hynek/argon2-cffi-bindings@6371e2c · GitHub
Like…who is emitting those compiler commands? Someone has to know?
dstufft
(Donald Stufft)
June 29, 2022, 7:05am
13
Normally the compiler class, which originally came from distutils, then got wrapped by setuptools. But it also respects the CC
environment variable.
dstufft
(Donald Stufft)
June 29, 2022, 7:18am
14
hynek
(Hynek Schlawack)
June 29, 2022, 9:39am
15
Uhhh some more sleuthing and it turns out those arguments are compiled into CPython. The source is CONFIGURE_CFLAGS
that all other variables use to build:
'CONFIGURE_CFLAGS': '-arch arm64 -arch x86_64 -isysroot '
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
'-I/usr/local/opt/sqlite/include',
...
'CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g '
'-fwrapv -O3 -Wall -arch arm64 -arch x86_64 -isysroot '
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
'-I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include',
...
'PY_CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG '
'-g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -isysroot '
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
'-I/usr/local/opt/sqlite/include '
'-I/usr/local/opt/sqlite/include',
And CONFIGURE_CFLAGS is:
Value of CFLAGS variable passed to the ./configure script.
It’s great that we now know what happened. But how can I fix this?
I tried setting CFLAGS, but that can only add additional arguments
the other configure-time variables can’t be overridden by env variables – at least not by variables of the same name
Full sysconfig output:
```
Run python -c 'import pprint, sysconfig; pprint.pprint(sysconfig.get_config_vars())'
2
python -c 'import pprint, sysconfig; pprint.pprint(sysconfig.get_config_vars())'
3
shell: /bin/bash -e {0}
4
env:
5
FORCE_COLOR: 1
6
TOX_TESTENV_PASSENV: FORCE_COLOR
7
PYTHON_LATEST: 3.10.4
8
SETUPTOOLS_SCM_PRETEND_VERSION: 1.0
9
pythonLocation: /Users/runner/hostedtoolcache/Python/3.10.4/x64
10
{'ABIFLAGS': '',
11
'AC_APPLE_UNIVERSAL_BUILD': 0,
12
'AIX_BUILDDATE': 0,
13
'AIX_GENUINE_CPLUSPLUS': 0,
14
'ALIGNOF_LONG': 8,
15
'ALIGNOF_SIZE_T': 8,
16
'ALT_SOABI': 0,
17
'ANDROID_API_LEVEL': 0,
18
'AR': 'ar',
19
'ARFLAGS': 'rcs',
20
'BASECFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code',
21
'BASECPPFLAGS': '',
22
'BASEMODLIBS': '',
23
'BINDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/bin',
24
'BINLIBDEST': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10',
25
'BLDLIBRARY': '-L. -lpython3.10',
26
'BLDSHARED': 'gcc -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 '
27
'-isysroot '
28
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
29
'-L/usr/local/opt/sqlite/lib -L/usr/local/opt/sqlite/lib',
30
'BUILDEXE': '.exe',
31
'BUILDPYTHON': 'python.exe',
32
'BUILD_GNU_TYPE': 'x86_64-apple-darwin19.6.0',
33
'BYTESTR_DEPS': '\\',
34
'CC': 'gcc',
35
'CCSHARED': '',
36
'CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g '
37
'-fwrapv -O3 -Wall -arch arm64 -arch x86_64 -isysroot '
38
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
39
'-I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include',
40
'CFLAGSFORSHARED': '',
41
'CFLAGS_ALIASING': '-fno-strict-aliasing',
42
'CONFIGFILES': 'configure configure.ac acconfig.h pyconfig.h.in '
43
'Makefile.pre.in',
44
'CONFIGURE_CFLAGS': '-arch arm64 -arch x86_64 -isysroot '
45
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
46
'-I/usr/local/opt/sqlite/include',
47
'CONFIGURE_CFLAGS_NODIST': '-flto -std=c99 -Wextra -Wno-unused-result '
48
'-Wno-unused-parameter '
49
'-Wno-missing-field-initializers '
50
'-Wstrict-prototypes '
51
'-Werror=implicit-function-declaration '
52
'-fvisibility=hidden',
53
'CONFIGURE_CPPFLAGS': '-isysroot '
54
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
55
'-I/usr/local/opt/sqlite/include',
56
'CONFIGURE_LDFLAGS': '-arch arm64 -arch x86_64 -isysroot '
57
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
58
'-L/usr/local/opt/sqlite/lib',
59
'CONFIGURE_LDFLAGS_NODIST': '-flto -Wl,-export_dynamic -g',
60
'CONFIG_ARGS': "'--prefix=/Users/runner/hostedtoolcache/Python/3.10.4/x64' "
61
"'--enable-optimizations' '--enable-shared' '--with-lto' "
62
"'--enable-universalsdk' '--with-universal-archs=universal2' "
63
"'--with-openssl=/usr/local/opt/openssl@1.1' "
64
"'--enable-loadable-sqlite-extensions' 'CFLAGS= "
65
"-I/usr/local/opt/sqlite/include' 'LDFLAGS= "
66
"-L/usr/local/opt/sqlite/lib' "
67
"'CPPFLAGS=-I/usr/local/opt/sqlite/include'",
68
'CONFINCLUDEDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/include',
69
'CONFINCLUDEPY': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/include/python3.10',
70
'COREPYTHONPATH': '',
71
'COVERAGE_INFO': '/Users/runner/work/_temp/SourceCode/coverage.info',
72
'COVERAGE_REPORT': '/Users/runner/work/_temp/SourceCode/lcov-report',
73
'COVERAGE_REPORT_OPTIONS': '--no-branch-coverage --title "CPython lcov '
74
'report"',
75
'CPPFLAGS': '-I. -I./Include -isysroot '
76
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
77
'-I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include',
78
'CXX': 'g++',
79
'DESTDIRS': '/Users/runner/hostedtoolcache/Python/3.10.4/x64 '
80
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib '
81
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10 '
82
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/lib-dynload',
83
'DESTLIB': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10',
84
'DESTPATH': '',
85
'DESTSHARED': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/lib-dynload',
86
'DFLAGS': '',
87
'DIRMODE': 755,
88
'DIST': 'README.rst ChangeLog configure configure.ac acconfig.h pyconfig.h.in '
89
'Makefile.pre.in Include Lib Misc Ext-dummy',
90
'DISTDIRS': 'Include Lib Misc Ext-dummy',
91
'DISTFILES': 'README.rst ChangeLog configure configure.ac acconfig.h '
92
'pyconfig.h.in Makefile.pre.in',
93
'DLINCLDIR': '.',
94
'DLLLIBRARY': '',
95
'DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754': 0,
96
'DOUBLE_IS_BIG_ENDIAN_IEEE754': 0,
97
'DOUBLE_IS_LITTLE_ENDIAN_IEEE754': 1,
98
'DTRACE': '',
99
'DTRACE_DEPS': '\\',
0
'DTRACE_HEADERS': '',
1
'DTRACE_OBJS': '',
2
'DYNLOADFILE': 'dynload_shlib.o',
3
'ENABLE_IPV6': 1,
4
'ENSUREPIP': 'upgrade',
5
'EXE': '',
6
'EXEMODE': 755,
7
'EXPERIMENTAL_ISOLATED_SUBINTERPRETERS': 0,
8
'EXPORTSFROM': '',
9
'EXPORTSYMS': '',
10
'EXTRATESTOPTS': '',
11
'EXTRA_CFLAGS': '',
12
'EXT_SUFFIX': '.cpython-310-darwin.so',
13
'FILEMODE': 644,
14
'FLOAT_WORDS_BIGENDIAN': 0,
15
'FLOCK_NEEDS_LIBBSD': 0,
16
'GETPGRP_HAVE_ARG': 0,
17
'GITBRANCH': '',
18
'GITTAG': '',
19
'GITVERSION': '',
20
'GNULD': 'no',
21
'HAVE_ACCEPT4': 0,
22
'HAVE_ACOSH': 1,
23
'HAVE_ADDRINFO': 1,
24
'HAVE_ALARM': 1,
25
'HAVE_ALIGNED_REQUIRED': 0,
26
'HAVE_ALLOCA_H': 1,
27
'HAVE_ALTZONE': 0,
28
'HAVE_ASINH': 1,
29
'HAVE_ASM_TYPES_H': 0,
30
'HAVE_ATANH': 1,
31
'HAVE_BIND_TEXTDOMAIN_CODESET': 0,
32
'HAVE_BLUETOOTH_BLUETOOTH_H': 0,
33
'HAVE_BLUETOOTH_H': 0,
34
'HAVE_BROKEN_MBSTOWCS': 0,
35
'HAVE_BROKEN_NICE': 0,
36
'HAVE_BROKEN_PIPE_BUF': 0,
37
'HAVE_BROKEN_POLL': 0,
38
'HAVE_BROKEN_POSIX_SEMAPHORES': 0,
39
'HAVE_BROKEN_PTHREAD_SIGMASK': 0,
40
'HAVE_BROKEN_SEM_GETVALUE': 1,
41
'HAVE_BROKEN_UNSETENV': 0,
42
'HAVE_BUILTIN_ATOMIC': 1,
43
'HAVE_CHFLAGS': 1,
44
'HAVE_CHOWN': 1,
45
'HAVE_CHROOT': 1,
46
'HAVE_CLOCK': 1,
47
'HAVE_CLOCK_GETRES': 1,
48
'HAVE_CLOCK_GETTIME': 1,
49
'HAVE_CLOCK_SETTIME': 1,
50
'HAVE_CLOSE_RANGE': 0,
51
'HAVE_COMPUTED_GOTOS': 1,
52
'HAVE_CONFSTR': 1,
53
'HAVE_CONIO_H': 0,
54
'HAVE_COPYSIGN': 1,
55
'HAVE_COPY_FILE_RANGE': 0,
56
'HAVE_CRYPT_H': 0,
57
'HAVE_CRYPT_R': 0,
58
'HAVE_CTERMID': 1,
59
'HAVE_CTERMID_R': 1,
60
'HAVE_CURSES_FILTER': 1,
61
'HAVE_CURSES_H': 1,
62
'HAVE_CURSES_HAS_KEY': 1,
63
'HAVE_CURSES_IMMEDOK': 1,
64
'HAVE_CURSES_IS_PAD': 0,
65
'HAVE_CURSES_IS_TERM_RESIZED': 1,
66
'HAVE_CURSES_RESIZETERM': 1,
67
'HAVE_CURSES_RESIZE_TERM': 1,
68
'HAVE_CURSES_SYNCOK': 1,
69
'HAVE_CURSES_TYPEAHEAD': 1,
70
'HAVE_CURSES_USE_ENV': 1,
71
'HAVE_CURSES_WCHGAT': 1,
72
'HAVE_DECL_ISFINITE': 1,
73
'HAVE_DECL_ISINF': 1,
74
'HAVE_DECL_ISNAN': 1,
75
'HAVE_DECL_RTLD_DEEPBIND': 0,
76
'HAVE_DECL_RTLD_GLOBAL': 1,
77
'HAVE_DECL_RTLD_LAZY': 1,
78
'HAVE_DECL_RTLD_LOCAL': 1,
79
'HAVE_DECL_RTLD_MEMBER': 0,
80
'HAVE_DECL_RTLD_NODELETE': 1,
81
'HAVE_DECL_RTLD_NOLOAD': 1,
82
'HAVE_DECL_RTLD_NOW': 1,
83
'HAVE_DECL_TZNAME': 0,
84
'HAVE_DEVICE_MACROS': 1,
85
'HAVE_DEV_PTC': 0,
86
'HAVE_DEV_PTMX': 1,
87
'HAVE_DIRECT_H': 0,
88
'HAVE_DIRENT_D_TYPE': 1,
89
'HAVE_DIRENT_H': 1,
90
'HAVE_DIRFD': 1,
91
'HAVE_DLFCN_H': 1,
92
'HAVE_DLOPEN': 1,
93
'HAVE_DUP2': 1,
94
'HAVE_DUP3': 0,
95
'HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH': 1,
96
'HAVE_DYNAMIC_LOADING': 1,
97
'HAVE_ENDIAN_H': 0,
98
'HAVE_EPOLL': 0,
99
'HAVE_EPOLL_CREATE1': 0,
0
'HAVE_ERF': 1,
1
'HAVE_ERFC': 1,
2
'HAVE_ERRNO_H': 1,
3
'HAVE_EVENTFD': 0,
4
'HAVE_EXECV': 1,
5
'HAVE_EXPLICIT_BZERO': 0,
6
'HAVE_EXPLICIT_MEMSET': 0,
7
'HAVE_EXPM1': 1,
8
'HAVE_FACCESSAT': 1,
9
'HAVE_FCHDIR': 1,
10
'HAVE_FCHMOD': 1,
11
'HAVE_FCHMODAT': 1,
12
'HAVE_FCHOWN': 1,
13
'HAVE_FCHOWNAT': 1,
14
'HAVE_FCNTL_H': 1,
15
'HAVE_FDATASYNC': 0,
16
'HAVE_FDOPENDIR': 1,
17
'HAVE_FDWALK': 0,
18
'HAVE_FEXECVE': 0,
19
'HAVE_FINITE': 0,
20
'HAVE_FLOCK': 1,
21
'HAVE_FORK': 1,
22
'HAVE_FORKPTY': 1,
23
'HAVE_FPATHCONF': 1,
24
'HAVE_FSEEK64': 0,
25
'HAVE_FSEEKO': 1,
26
'HAVE_FSTATAT': 1,
27
'HAVE_FSTATVFS': 1,
28
'HAVE_FSYNC': 1,
29
'HAVE_FTELL64': 0,
30
'HAVE_FTELLO': 1,
31
'HAVE_FTIME': 1,
32
'HAVE_FTRUNCATE': 1,
33
'HAVE_FUTIMENS': 1,
34
'HAVE_FUTIMES': 1,
35
'HAVE_FUTIMESAT': 0,
36
'HAVE_GAI_STRERROR': 1,
37
'HAVE_GAMMA': 0,
38
'HAVE_GCC_ASM_FOR_MC68881': 0,
39
'HAVE_GCC_ASM_FOR_X64': 0,
40
'HAVE_GCC_ASM_FOR_X87': 0,
41
'HAVE_GCC_UINT128_T': 1,
42
'HAVE_GETADDRINFO': 1,
43
'HAVE_GETC_UNLOCKED': 1,
44
'HAVE_GETENTROPY': 1,
45
'HAVE_GETGRGID_R': 1,
46
'HAVE_GETGRNAM_R': 1,
47
'HAVE_GETGROUPLIST': 1,
48
'HAVE_GETGROUPS': 1,
49
'HAVE_GETHOSTBYNAME': 1,
50
'HAVE_GETHOSTBYNAME_R': 0,
51
'HAVE_GETHOSTBYNAME_R_3_ARG': 0,
52
'HAVE_GETHOSTBYNAME_R_5_ARG': 0,
53
'HAVE_GETHOSTBYNAME_R_6_ARG': 0,
54
'HAVE_GETITIMER': 1,
55
'HAVE_GETLOADAVG': 1,
56
'HAVE_GETLOGIN': 1,
57
'HAVE_GETNAMEINFO': 1,
58
'HAVE_GETPAGESIZE': 1,
59
'HAVE_GETPEERNAME': 1,
60
'HAVE_GETPGID': 1,
61
'HAVE_GETPGRP': 1,
62
'HAVE_GETPID': 1,
63
'HAVE_GETPRIORITY': 1,
64
'HAVE_GETPWENT': 1,
65
'HAVE_GETPWNAM_R': 1,
66
'HAVE_GETPWUID_R': 1,
67
'HAVE_GETRANDOM': 0,
68
'HAVE_GETRANDOM_SYSCALL': 0,
69
'HAVE_GETRESGID': 0,
70
'HAVE_GETRESUID': 0,
71
'HAVE_GETSID': 1,
72
'HAVE_GETSPENT': 0,
73
'HAVE_GETSPNAM': 0,
74
'HAVE_GETWD': 1,
75
'HAVE_GLIBC_MEMMOVE_BUG': 0,
76
'HAVE_GRP_H': 1,
77
'HAVE_HSTRERROR': 1,
78
'HAVE_HTOLE64': 0,
79
'HAVE_HYPOT': 1,
80
'HAVE_IEEEFP_H': 0,
81
'HAVE_IF_NAMEINDEX': 1,
82
'HAVE_INET_ATON': 1,
83
'HAVE_INET_PTON': 1,
84
'HAVE_INITGROUPS': 1,
85
'HAVE_INTTYPES_H': 1,
86
'HAVE_IO_H': 0,
87
'HAVE_IPA_PURE_CONST_BUG': 0,
88
'HAVE_KILL': 1,
89
'HAVE_KILLPG': 1,
90
'HAVE_KQUEUE': 1,
91
'HAVE_LANGINFO_H': 1,
92
'HAVE_LARGEFILE_SUPPORT': 0,
93
'HAVE_LCHFLAGS': 1,
94
'HAVE_LCHMOD': 1,
95
'HAVE_LCHOWN': 1,
96
'HAVE_LGAMMA': 1,
97
'HAVE_LIBDL': 1,
98
'HAVE_LIBDLD': 0,
99
'HAVE_LIBIEEE': 0,
100
'HAVE_LIBINTL_H': 0,
101
'HAVE_LIBREADLINE': 1,
102
'HAVE_LIBRESOLV': 0,
103
'HAVE_LIBSENDFILE': 0,
104
'HAVE_LIBUTIL_H': 0,
105
'HAVE_LIBUUID': 0,
106
'HAVE_LINK': 1,
107
'HAVE_LINKAT': 1,
108
'HAVE_LINUX_AUXVEC_H': 0,
109
'HAVE_LINUX_CAN_BCM_H': 0,
110
'HAVE_LINUX_CAN_H': 0,
111
'HAVE_LINUX_CAN_J1939_H': 0,
112
'HAVE_LINUX_CAN_RAW_FD_FRAMES': 0,
113
'HAVE_LINUX_CAN_RAW_H': 0,
114
'HAVE_LINUX_CAN_RAW_JOIN_FILTERS': 0,
115
'HAVE_LINUX_MEMFD_H': 0,
116
'HAVE_LINUX_NETLINK_H': 0,
117
'HAVE_LINUX_QRTR_H': 0,
118
'HAVE_LINUX_RANDOM_H': 0,
119
'HAVE_LINUX_TIPC_H': 0,
120
'HAVE_LINUX_VM_SOCKETS_H': 0,
121
'HAVE_LINUX_WAIT_H': 0,
122
'HAVE_LOCKF': 1,
123
'HAVE_LOG1P': 1,
124
'HAVE_LOG2': 1,
125
'HAVE_LONG_DOUBLE': 1,
126
'HAVE_LSTAT': 1,
127
'HAVE_LUTIMES': 1,
128
'HAVE_MADVISE': 1,
129
'HAVE_MAKEDEV': 1,
130
'HAVE_MBRTOWC': 1,
131
'HAVE_MEMFD_CREATE': 0,
132
'HAVE_MEMORY_H': 1,
133
'HAVE_MEMRCHR': 0,
134
'HAVE_MKDIRAT': 1,
135
'HAVE_MKFIFO': 1,
136
'HAVE_MKFIFOAT': 0,
137
'HAVE_MKNOD': 1,
138
'HAVE_MKNODAT': 0,
139
'HAVE_MKTIME': 1,
140
'HAVE_MMAP': 1,
141
'HAVE_MREMAP': 0,
142
'HAVE_NCURSES_H': 1,
143
'HAVE_NDIR_H': 0,
144
'HAVE_NETPACKET_PACKET_H': 0,
145
'HAVE_NET_IF_H': 1,
146
'HAVE_NICE': 1,
147
'HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION': 0,
148
'HAVE_OPENAT': 1,
149
'HAVE_OPENPTY': 1,
150
'HAVE_PATHCONF': 1,
151
'HAVE_PAUSE': 1,
152
'HAVE_PIPE2': 0,
153
'HAVE_PLOCK': 0,
154
'HAVE_POLL': 1,
155
'HAVE_POLL_H': 1,
156
'HAVE_POSIX_FADVISE': 0,
157
'HAVE_POSIX_FALLOCATE': 0,
158
'HAVE_POSIX_SPAWN': 1,
159
'HAVE_POSIX_SPAWNP': 1,
160
'HAVE_PREAD': 1,
161
'HAVE_PREADV': 1,
162
'HAVE_PREADV2': 0,
163
'HAVE_PRLIMIT': 0,
164
'HAVE_PROCESS_H': 0,
165
'HAVE_PROTOTYPES': 1,
166
'HAVE_PTHREAD_CONDATTR_SETCLOCK': 0,
167
'HAVE_PTHREAD_DESTRUCTOR': 0,
168
'HAVE_PTHREAD_GETCPUCLOCKID': 0,
169
'HAVE_PTHREAD_H': 1,
170
'HAVE_PTHREAD_INIT': 0,
171
'HAVE_PTHREAD_KILL': 1,
172
'HAVE_PTHREAD_SIGMASK': 1,
173
'HAVE_PTY_H': 0,
174
'HAVE_PWRITE': 1,
175
'HAVE_PWRITEV': 1,
176
'HAVE_PWRITEV2': 0,
177
'HAVE_READLINK': 1,
178
'HAVE_READLINKAT': 1,
179
'HAVE_READV': 1,
180
'HAVE_REALPATH': 1,
181
'HAVE_RENAMEAT': 1,
182
'HAVE_RL_APPEND_HISTORY': 0,
183
'HAVE_RL_CATCH_SIGNAL': 0,
184
'HAVE_RL_COMPLETION_APPEND_CHARACTER': 1,
185
'HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK': 1,
186
'HAVE_RL_COMPLETION_MATCHES': 1,
187
'HAVE_RL_COMPLETION_SUPPRESS_APPEND': 0,
188
'HAVE_RL_PRE_INPUT_HOOK': 1,
189
'HAVE_RL_RESIZE_TERMINAL': 0,
190
'HAVE_ROUND': 1,
191
'HAVE_RTPSPAWN': 0,
192
'HAVE_SCHED_GET_PRIORITY_MAX': 1,
193
'HAVE_SCHED_H': 1,
194
'HAVE_SCHED_RR_GET_INTERVAL': 0,
195
'HAVE_SCHED_SETAFFINITY': 0,
196
'HAVE_SCHED_SETPARAM': 0,
197
'HAVE_SCHED_SETSCHEDULER': 0,
198
'HAVE_SEM_CLOCKWAIT': 0,
199
'HAVE_SEM_GETVALUE': 1,
100
'HAVE_SEM_OPEN': 1,
101
'HAVE_SEM_TIMEDWAIT': 0,
102
'HAVE_SEM_UNLINK': 1,
103
'HAVE_SENDFILE': 1,
104
'HAVE_SETEGID': 1,
105
'HAVE_SETEUID': 1,
106
'HAVE_SETGID': 1,
107
'HAVE_SETGROUPS': 1,
108
'HAVE_SETHOSTNAME': 1,
109
'HAVE_SETITIMER': 1,
110
'HAVE_SETLOCALE': 1,
111
'HAVE_SETPGID': 1,
112
'HAVE_SETPGRP': 1,
113
'HAVE_SETPRIORITY': 1,
114
'HAVE_SETREGID': 1,
115
'HAVE_SETRESGID': 0,
116
'HAVE_SETRESUID': 0,
117
'HAVE_SETREUID': 1,
118
'HAVE_SETSID': 1,
119
'HAVE_SETUID': 1,
120
'HAVE_SETVBUF': 1,
121
'HAVE_SHADOW_H': 0,
122
'HAVE_SHM_OPEN': 1,
123
'HAVE_SHM_UNLINK': 1,
124
'HAVE_SIGACTION': 1,
125
'HAVE_SIGALTSTACK': 1,
126
'HAVE_SIGFILLSET': 1,
127
'HAVE_SIGINFO_T_SI_BAND': 1,
128
'HAVE_SIGINTERRUPT': 1,
129
'HAVE_SIGNAL_H': 1,
130
'HAVE_SIGPENDING': 1,
131
'HAVE_SIGRELSE': 1,
132
'HAVE_SIGTIMEDWAIT': 0,
133
'HAVE_SIGWAIT': 1,
134
'HAVE_SIGWAITINFO': 0,
135
'HAVE_SNPRINTF': 1,
136
'HAVE_SOCKADDR_ALG': 0,
137
'HAVE_SOCKADDR_SA_LEN': 1,
138
'HAVE_SOCKADDR_STORAGE': 1,
139
'HAVE_SOCKETPAIR': 1,
140
'HAVE_SPAWN_H': 1,
141
'HAVE_SPLICE': 0,
142
'HAVE_SSIZE_T': 1,
143
'HAVE_STATVFS': 1,
144
'HAVE_STAT_TV_NSEC': 0,
145
'HAVE_STAT_TV_NSEC2': 1,
146
'HAVE_STDARG_PROTOTYPES': 1,
147
'HAVE_STDINT_H': 1,
148
'HAVE_STDLIB_H': 1,
149
'HAVE_STD_ATOMIC': 1,
150
'HAVE_STRFTIME': 1,
151
'HAVE_STRINGS_H': 1,
152
'HAVE_STRING_H': 1,
153
'HAVE_STRLCPY': 1,
154
'HAVE_STROPTS_H': 0,
155
'HAVE_STRSIGNAL': 1,
156
'HAVE_STRUCT_PASSWD_PW_GECOS': 1,
157
'HAVE_STRUCT_PASSWD_PW_PASSWD': 1,
158
'HAVE_STRUCT_STAT_ST_BIRTHTIME': 1,
159
'HAVE_STRUCT_STAT_ST_BLKSIZE': 1,
160
'HAVE_STRUCT_STAT_ST_BLOCKS': 1,
161
'HAVE_STRUCT_STAT_ST_FLAGS': 1,
162
'HAVE_STRUCT_STAT_ST_GEN': 1,
163
'HAVE_STRUCT_STAT_ST_RDEV': 1,
164
'HAVE_STRUCT_TM_TM_ZONE': 1,
165
'HAVE_SYMLINK': 1,
166
'HAVE_SYMLINKAT': 1,
167
'HAVE_SYNC': 1,
168
'HAVE_SYSCONF': 1,
169
'HAVE_SYSEXITS_H': 1,
170
'HAVE_SYS_AUDIOIO_H': 0,
171
'HAVE_SYS_AUXV_H': 0,
172
'HAVE_SYS_BSDTTY_H': 0,
173
'HAVE_SYS_DEVPOLL_H': 0,
174
'HAVE_SYS_DIR_H': 0,
175
'HAVE_SYS_ENDIAN_H': 0,
176
'HAVE_SYS_EPOLL_H': 0,
177
'HAVE_SYS_EVENTFD_H': 0,
178
'HAVE_SYS_EVENT_H': 1,
179
'HAVE_SYS_FILE_H': 1,
180
'HAVE_SYS_IOCTL_H': 1,
181
'HAVE_SYS_KERN_CONTROL_H': 1,
182
'HAVE_SYS_LOADAVG_H': 0,
183
'HAVE_SYS_LOCK_H': 1,
184
'HAVE_SYS_MEMFD_H': 0,
185
'HAVE_SYS_MKDEV_H': 0,
186
'HAVE_SYS_MMAN_H': 1,
187
'HAVE_SYS_MODEM_H': 0,
188
'HAVE_SYS_NDIR_H': 0,
189
'HAVE_SYS_PARAM_H': 1,
190
'HAVE_SYS_POLL_H': 1,
191
'HAVE_SYS_RANDOM_H': 1,
192
'HAVE_SYS_RESOURCE_H': 1,
193
'HAVE_SYS_SELECT_H': 1,
194
'HAVE_SYS_SENDFILE_H': 0,
195
'HAVE_SYS_SOCKET_H': 1,
196
'HAVE_SYS_STATVFS_H': 1,
197
'HAVE_SYS_STAT_H': 1,
198
'HAVE_SYS_SYSCALL_H': 1,
199
'HAVE_SYS_SYSMACROS_H': 0,
100
'HAVE_SYS_SYS_DOMAIN_H': 1,
101
'HAVE_SYS_TERMIO_H': 0,
102
'HAVE_SYS_TIMES_H': 1,
103
'HAVE_SYS_TIME_H': 1,
104
'HAVE_SYS_TYPES_H': 1,
105
'HAVE_SYS_UIO_H': 1,
106
'HAVE_SYS_UN_H': 1,
107
'HAVE_SYS_UTSNAME_H': 1,
108
'HAVE_SYS_WAIT_H': 1,
109
'HAVE_SYS_XATTR_H': 1,
110
'HAVE_TCGETPGRP': 1,
111
'HAVE_TCSETPGRP': 1,
112
'HAVE_TEMPNAM': 1,
113
'HAVE_TERMIOS_H': 1,
114
'HAVE_TERM_H': 1,
115
'HAVE_TGAMMA': 1,
116
'HAVE_TIMEGM': 1,
117
'HAVE_TIMES': 1,
118
'HAVE_TMPFILE': 1,
119
'HAVE_TMPNAM': 1,
120
'HAVE_TMPNAM_R': 0,
121
'HAVE_TM_ZONE': 1,
122
'HAVE_TRUNCATE': 1,
123
'HAVE_TZNAME': 0,
124
'HAVE_UCS4_TCL': 0,
125
'HAVE_UNAME': 1,
126
'HAVE_UNISTD_H': 1,
127
'HAVE_UNLINKAT': 1,
128
'HAVE_USABLE_WCHAR_T': 0,
129
'HAVE_UTIL_H': 1,
130
'HAVE_UTIMENSAT': 1,
131
'HAVE_UTIMES': 1,
132
'HAVE_UTIME_H': 1,
133
'HAVE_UUID_CREATE': 0,
134
'HAVE_UUID_ENC_BE': 0,
135
'HAVE_UUID_GENERATE_TIME_SAFE': 0,
136
'HAVE_UUID_H': 0,
137
'HAVE_UUID_UUID_H': 1,
138
'HAVE_VFORK': 1,
139
'HAVE_WAIT3': 1,
140
'HAVE_WAIT4': 1,
141
'HAVE_WAITID': 1,
142
'HAVE_WAITPID': 1,
143
'HAVE_WCHAR_H': 1,
144
'HAVE_WCSCOLL': 1,
145
'HAVE_WCSFTIME': 1,
146
'HAVE_WCSXFRM': 1,
147
'HAVE_WMEMCMP': 1,
148
'HAVE_WORKING_TZSET': 1,
149
'HAVE_WRITEV': 1,
150
'HAVE_ZLIB_COPY': 1,
151
'HAVE__GETPTY': 0,
152
'HOST_GNU_TYPE': 'x86_64-apple-darwin19.6.0',
153
'INCLDIRSTOMAKE': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/include '
154
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/include '
155
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/include/python3.10 '
156
'/Users/runner/hostedtoolcache/Python/3.10.4/x64/include/python3.10',
157
'INCLUDEDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/include',
158
'INCLUDEPY': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/include/python3.10',
159
'INSTALL': '/usr/bin/install -c',
160
'INSTALL_DATA': '/usr/bin/install -c -m 644',
161
'INSTALL_PROGRAM': '/usr/bin/install -c',
162
'INSTALL_SCRIPT': '/usr/bin/install -c',
163
'INSTALL_SHARED': '/usr/bin/install -c -m 755',
164
'INSTSONAME': 'libpython3.10.dylib',
165
'IO_H': 'Modules/_io/_iomodule.h',
166
'IO_OBJS': '\\',
167
'LDCXXSHARED': 'g++ -bundle -undefined dynamic_lookup',
168
'LDFLAGS': '-arch arm64 -arch x86_64 -isysroot '
169
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
170
'-L/usr/local/opt/sqlite/lib -L/usr/local/opt/sqlite/lib',
171
'LDLIBRARY': 'libpython3.10.dylib',
172
'LDLIBRARYDIR': '',
173
'LDSHARED': 'gcc -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 '
174
'-isysroot '
175
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
176
'-L/usr/local/opt/sqlite/lib -L/usr/local/opt/sqlite/lib',
177
'LDVERSION': '3.10',
178
'LIBC': '',
179
'LIBDEST': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10',
180
'LIBDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib',
181
'LIBFFI_INCLUDEDIR': '',
182
'LIBM': '',
183
'LIBOBJDIR': 'Python/',
184
'LIBOBJS': '',
185
'LIBPC': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/pkgconfig',
186
'LIBPL': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/config-3.10-darwin',
187
'LIBPYTHON': '',
188
'LIBRARY': 'libpython3.10.a',
189
'LIBRARY_DEPS': 'libpython3.10.a libpython3.10.dylib',
190
'LIBRARY_OBJS': '\\',
191
'LIBRARY_OBJS_OMIT_FROZEN': '\\',
192
'LIBS': '-ldl -framework CoreFoundation',
193
'LIBSUBDIRS': 'asyncio \\',
194
'LINKCC': 'gcc',
195
'LINKFORSHARED': '-Wl,-stack_size,1000000 -framework CoreFoundation',
196
'LIPO_32BIT_FLAGS': '',
197
'LIPO_INTEL64_FLAGS': '-extract x86_64',
198
'LLVM_PROF_ERR': 'no',
199
'LLVM_PROF_FILE': 'LLVM_PROFILE_FILE="code-%p.profclangr"',
200
'LLVM_PROF_MERGER': '/usr/bin/xcrun llvm-profdata merge '
201
'-output=code.profclangd *.profclangr',
202
'LN': 'ln',
203
'LOCALMODLIBS': '',
204
'MACHDEP': 'darwin',
205
'MACHDEP_OBJS': '',
206
'MACHDESTLIB': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10',
207
'MACOSX_DEPLOYMENT_TARGET': '10.15',
208
'MAINCC': 'gcc',
209
'MAJOR_IN_MKDEV': 0,
210
'MAJOR_IN_SYSMACROS': 0,
211
'MAKESETUP': './Modules/makesetup',
212
'MANDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/share/man',
213
'MKDIR_P': './install-sh -c -d',
214
'MODBUILT_NAMES': 'posix errno pwd _sre _codecs _weakref _functools '
215
'_operator _collections _abc itertools atexit _signal '
216
'_stat time _thread _locale _io faulthandler '
217
'_tracemalloc _symtable xxsubtype',
218
'MODDISABLED_NAMES': '',
219
'MODLIBS': '',
220
'MODOBJS': 'Modules/posixmodule.o Modules/errnomodule.o '
221
'Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o '
222
'Modules/_weakref.o Modules/_functoolsmodule.o '
223
'Modules/_operator.o Modules/_collectionsmodule.o '
224
'Modules/_abc.o Modules/itertoolsmodule.o '
225
'Modules/atexitmodule.o Modules/signalmodule.o Modules/_stat.o '
226
'Modules/timemodule.o Modules/_threadmodule.o '
227
'Modules/_localemodule.o Modules/_iomodule.o Modules/iobase.o '
228
'Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o '
229
'Modules/textio.o Modules/stringio.o Modules/faulthandler.o '
230
'Modules/_tracemalloc.o Modules/symtablemodule.o '
231
'Modules/xxsubtype.o',
232
'MODULE_OBJS': '\\',
233
'MULTIARCH': 'darwin',
234
'MULTIARCH_CPPFLAGS': '-DMULTIARCH=\\"darwin\\"',
235
'MVWDELCH_IS_EXPRESSION': 1,
236
'NO_AS_NEEDED': '',
237
'OBJECT_OBJS': '\\',
238
'OPENSSL_INCLUDES': '-I/usr/local/opt/openssl@1.1/include',
239
'OPENSSL_LDFLAGS': '-L/usr/local/opt/openssl@1.1/lib',
240
'OPENSSL_LIBS': '-lssl -lcrypto',
241
'OPENSSL_RPATH': '',
242
'OPT': '-DNDEBUG -g -fwrapv -O3 -Wall',
243
'OTHER_LIBTOOL_OPT': '',
244
'PACKAGE_BUGREPORT': 0,
245
'PACKAGE_NAME': 0,
246
'PACKAGE_STRING': 0,
247
'PACKAGE_TARNAME': 0,
248
'PACKAGE_URL': 0,
249
'PACKAGE_VERSION': 0,
250
'PARSER_HEADERS': '\\',
251
'PARSER_OBJS': '\\ \\ Parser/myreadline.o Parser/tokenizer.o',
252
'PEGEN_HEADERS': '\\',
253
'PEGEN_OBJS': '\\',
254
'PGO_PROF_GEN_FLAG': '-fprofile-instr-generate',
255
'PGO_PROF_USE_FLAG': '-fprofile-instr-use=code.profclangd',
256
'PLATLIBDIR': 'lib',
257
'POBJS': '\\',
258
'POSIX_SEMAPHORES_NOT_ENABLED': 0,
259
'PROFILE_TASK': '-m test --pgo --timeout=1200',
260
'PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT': 0,
261
'PTHREAD_SYSTEM_SCHED_SUPPORTED': 1,
262
'PURIFY': '',
263
'PY3LIBRARY': '',
264
'PYLONG_BITS_IN_DIGIT': 0,
265
'PYTHON': 'python',
266
'PYTHONFRAMEWORK': '',
267
'PYTHONFRAMEWORKDIR': 'no-framework',
268
'PYTHONFRAMEWORKINSTALLDIR': '',
269
'PYTHONFRAMEWORKPREFIX': '',
270
'PYTHONPATH': '',
271
'PYTHON_FOR_BUILD': './python.exe -E',
272
'PYTHON_FOR_REGEN': '',
273
'PYTHON_HEADERS': '\\',
274
'PYTHON_OBJS': '\\',
275
'PY_BUILTIN_HASHLIB_HASHES': '"md5,sha1,sha256,sha512,sha3,blake2"',
276
'PY_BUILTIN_MODULE_CFLAGS': '-Wno-unused-result -Wsign-compare '
277
'-Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall '
278
'-arch arm64 -arch x86_64 -isysroot '
279
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
280
'-I/usr/local/opt/sqlite/include '
281
'-I/usr/local/opt/sqlite/include -flto -std=c99 '
282
'-Wextra -Wno-unused-result -Wno-unused-parameter '
283
'-Wno-missing-field-initializers '
284
'-Wstrict-prototypes '
285
'-Werror=implicit-function-declaration '
286
'-fvisibility=hidden '
287
'-fprofile-instr-use=code.profclangd '
288
'-I./Include/internal -I. -I./Include -isysroot '
289
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
290
'-I/usr/local/opt/sqlite/include '
291
'-I/usr/local/opt/sqlite/include '
292
'-DPy_BUILD_CORE_BUILTIN',
293
'PY_CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG '
294
'-g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -isysroot '
295
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
296
'-I/usr/local/opt/sqlite/include '
297
'-I/usr/local/opt/sqlite/include',
298
'PY_CFLAGS_NODIST': '-flto -std=c99 -Wextra -Wno-unused-result '
299
'-Wno-unused-parameter -Wno-missing-field-initializers '
200
'-Wstrict-prototypes '
201
'-Werror=implicit-function-declaration '
202
'-fvisibility=hidden -fprofile-instr-use=code.profclangd '
203
'-I./Include/internal',
204
'PY_COERCE_C_LOCALE': 1,
205
'PY_CORE_CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code '
206
'-DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 '
207
'-isysroot '
208
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
209
'-I/usr/local/opt/sqlite/include '
210
'-I/usr/local/opt/sqlite/include -flto -std=c99 -Wextra '
211
'-Wno-unused-result -Wno-unused-parameter '
212
'-Wno-missing-field-initializers -Wstrict-prototypes '
213
'-Werror=implicit-function-declaration -fvisibility=hidden '
214
'-fprofile-instr-use=code.profclangd -I./Include/internal '
215
'-I. -I./Include -isysroot '
216
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
217
'-I/usr/local/opt/sqlite/include '
218
'-I/usr/local/opt/sqlite/include -DPy_BUILD_CORE',
219
'PY_CORE_LDFLAGS': '-arch arm64 -arch x86_64 -isysroot '
220
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
221
'-L/usr/local/opt/sqlite/lib -L/usr/local/opt/sqlite/lib '
222
'-flto -Wl,-export_dynamic -g',
223
'PY_CPPFLAGS': '-I. -I./Include -isysroot '
224
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
225
'-I/usr/local/opt/sqlite/include '
226
'-I/usr/local/opt/sqlite/include',
227
'PY_ENABLE_SHARED': 1,
228
'PY_FORMAT_SIZE_T': '"z"',
229
'PY_LDFLAGS': '-arch arm64 -arch x86_64 -isysroot '
230
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
231
'-L/usr/local/opt/sqlite/lib -L/usr/local/opt/sqlite/lib',
232
'PY_LDFLAGS_NODIST': '-flto -Wl,-export_dynamic -g',
233
'PY_SSL_DEFAULT_CIPHERS': 1,
234
'PY_SSL_DEFAULT_CIPHER_STRING': 0,
235
'PY_STDMODULE_CFLAGS': '-Wno-unused-result -Wsign-compare -Wunreachable-code '
236
'-DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch '
237
'x86_64 -isysroot '
238
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
239
'-I/usr/local/opt/sqlite/include '
240
'-I/usr/local/opt/sqlite/include -flto -std=c99 '
241
'-Wextra -Wno-unused-result -Wno-unused-parameter '
242
'-Wno-missing-field-initializers -Wstrict-prototypes '
243
'-Werror=implicit-function-declaration '
244
'-fvisibility=hidden '
245
'-fprofile-instr-use=code.profclangd '
246
'-I./Include/internal -I. -I./Include -isysroot '
247
'/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk '
248
'-I/usr/local/opt/sqlite/include '
249
'-I/usr/local/opt/sqlite/include',
250
'Py_DEBUG': 0,
251
'Py_ENABLE_SHARED': 1,
252
'Py_HASH_ALGORITHM': 0,
253
'Py_TRACE_REFS': 0,
254
'QUICKTESTOPTS': '-x test_subprocess test_io test_lib2to3 \\',
255
'READELF': ':',
256
'RESSRCDIR': 'Mac/Resources/framework',
257
'RETSIGTYPE': 'void',
258
'RUNSHARED': 'DYLD_LIBRARY_PATH=/Users/runner/work/_temp/SourceCode',
259
'SCRIPTDIR': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib',
260
'SETPGRP_HAVE_ARG': 0,
261
'SHELL': '/bin/sh',
262
'SHLIBS': '-ldl -framework CoreFoundation',
263
'SHLIB_SUFFIX': '.so',
264
'SHM_NEEDS_LIBRT': 0,
265
'SIGNED_RIGHT_SHIFT_ZERO_FILLS': 0,
266
'SITEPATH': '',
267
'SIZEOF_DOUBLE': 8,
268
'SIZEOF_FLOAT': 4,
269
'SIZEOF_FPOS_T': 8,
270
'SIZEOF_INT': 4,
271
'SIZEOF_LONG': 8,
272
'SIZEOF_LONG_DOUBLE': 16,
273
'SIZEOF_LONG_LONG': 8,
274
'SIZEOF_OFF_T': 8,
275
'SIZEOF_PID_T': 4,
276
'SIZEOF_PTHREAD_KEY_T': 8,
277
'SIZEOF_PTHREAD_T': 8,
278
'SIZEOF_SHORT': 2,
279
'SIZEOF_SIZE_T': 8,
280
'SIZEOF_TIME_T': 8,
281
'SIZEOF_UINTPTR_T': 8,
282
'SIZEOF_VOID_P': 8,
283
'SIZEOF_WCHAR_T': 4,
284
'SIZEOF__BOOL': 1,
285
'SO': '.cpython-310-darwin.so',
286
'SOABI': 'cpython-310-darwin',
287
'SRCDIRS': 'Parser Objects Python Modules Modules/_io Programs',
288
'SRC_GDB_HOOKS': './Tools/gdb/libpython.py',
289
'STATIC_LIBPYTHON': 1,
290
'STDC_HEADERS': 1,
291
'STRICT_SYSV_CURSES': "/* Don't use ncurses extensions */",
292
'STRIPFLAG': '-s',
293
'SUBDIRS': '',
294
'SUBDIRSTOO': 'Include Lib Misc',
295
'SYSLIBS': '',
296
'SYS_SELECT_WITH_SYS_TIME': 1,
297
'TCLTK_INCLUDES': '-I/usr/local/include',
298
'TCLTK_LIBS': '-L/usr/local/lib -ltk8.6 -ltkstub8.6 -ltcl8.6 -ltclstub8.6',
299
'TESTOPTS': '',
200
'TESTPATH': '',
201
'TESTPYTHON': 'DYLD_LIBRARY_PATH=/Users/runner/work/_temp/SourceCode '
202
'./python.exe',
203
'TESTPYTHONOPTS': '',
204
'TESTRUNNER': 'DYLD_LIBRARY_PATH=/Users/runner/work/_temp/SourceCode '
205
'./python.exe ./Tools/scripts/run_tests.py',
206
'TESTSUBDIRS': 'ctypes/test \\',
207
'TESTTIMEOUT': 1200,
208
'TEST_MODULES': 'yes',
209
'THREAD_STACK_SIZE': '0x1000000',
210
'TIMEMODULE_LIB': 0,
211
'TIME_WITH_SYS_TIME': 1,
212
'TM_IN_SYS_TIME': 0,
213
'TZPATH': '/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo',
214
'UNICODE_DEPS': '\\',
215
'UNIVERSALSDK': '/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk',
216
'UPDATE_FILE': './Tools/scripts/update_file.py',
217
'USE_COMPUTED_GOTOS': 0,
218
'VERSION': '3.10',
219
'WHEEL_PKG_DIR': '',
220
'WINDOW_HAS_FLAGS': 1,
221
'WITH_DECIMAL_CONTEXTVAR': 1,
222
'WITH_DOC_STRINGS': 1,
223
'WITH_DTRACE': 0,
224
'WITH_DYLD': 1,
225
'WITH_EDITLINE': 0,
226
'WITH_LIBINTL': 0,
227
'WITH_NEXT_FRAMEWORK': 0,
228
'WITH_PYMALLOC': 1,
229
'WITH_VALGRIND': 0,
230
'X87_DOUBLE_ROUNDING': 0,
231
'XMLLIBSUBDIRS': 'xml xml/dom xml/etree xml/parsers xml/sax',
232
'abiflags': '',
233
'abs_builddir': '/Users/runner/work/_temp/SourceCode',
234
'abs_srcdir': '/Users/runner/work/_temp/SourceCode',
235
'base': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
236
'datarootdir': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/share',
237
'exec_prefix': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
238
'installed_base': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
239
'installed_platbase': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
240
'platbase': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
241
'platlibdir': 'lib',
242
'prefix': '/Users/runner/hostedtoolcache/Python/3.10.4/x64',
243
'projectbase': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/bin',
244
'py_version': '3.10.4',
245
'py_version_nodot': '310',
246
'py_version_nodot_plat': '',
247
'py_version_short': '3.10',
248
'srcdir': '/Users/runner/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/config-3.10-darwin',
249
'userbase': '/Users/runner/.local'}
```
<?details>
domdfcoding
(Dominic Davis-Foster)
June 29, 2022, 10:14am
16
Am I right in thinking that a universal2 build of Python is required to build universal2 wheels? If so, could this be caused by Compile in universal2 mode for macOS Python >= 3.9.1. by bwoodsend · Pull Request #114 · actions/python-versions · GitHub and it has just taken a while to propagate?
2 Likes
hynek
(Hynek Schlawack)
June 29, 2022, 10:22am
17
Oh look, a wild Alex Gaynor.
Loving:
I can’t think of any reason (minus the increase in size) that a universal2 Python would cause any harm.
I suspect it’s related, yes.
2 Likes
nad
(Ned Deily)
June 29, 2022, 10:32am
18
If you need to only compile an extension module for a subset of a universal build’s architectures, you should be able to use the ARCHFLAGS env variable to tell setuptools or Distutils to do so. At least, that is supposed to work.
ARCHFLAGS="-arch x86_64”
2 Likes
hynek
(Hynek Schlawack)
June 29, 2022, 10:45am
19
Oh god, this was too easy, thank you @nad !
I was so focused on the variables, I didn’t consider they might get rewritten from within.
4 Likes
abravalheri
(Anderson Bravalheri)
June 29, 2022, 4:59pm
20
Sorry for the delay, but glad to see that the situation was solved
I am not an specialist in extensions (or in the macOS tool chain), but please let me know if you think that there is a chunk of information that we could include in the docs that will help people in the future.
(For example, I feel like we could add the ARCHFLAGS
to the ext_modules
documentation page, but I miss the knowledge to create the content myself).
2 Likes