Skip to content

Fail to install with rye and python 3.12.7 #11

@jizusun

Description

@jizusun

Describe the bug
A clear and concise description of what the bug is.

➜  utilmeta-demo git:(master)  ✗ rye add utilmeta
Initializing new virtualenv in /Users/jizusun/Downloads/.venv
Python version: cpython@3.12.7
Added utilmeta>=2.6.4 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: /Users/jizusun/Downloads/requirements.lock
Generating dev lockfile: /Users/jizusun/Downloads/requirements-dev.lock
Installing dependencies
Resolved 18 packages in 27ms
   Built downloads @ file:///Users/jizusun/Downloads
error: Failed to prepare distributions
  Caused by: Failed to download and build `greenlet==3.1.1`
  Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)

[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_slp_switch.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/leakcheck.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_two_greenlets.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_cpp_exception.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_clearing_run_switches.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets2.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_initialstub_already_started.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/CObjects.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenlet.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenletUnswitchable.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyModule.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TBrokenGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TExceptionState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenlet.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenletGlobals.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TMainGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TPythonState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TStackState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadState.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadStateCreator.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadStateDestroy.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TUserGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_allocator.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_cpython_add_pending.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_exceptions.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_internal.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_refs.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_thread_support.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_loongarch64_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_sh_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/tests/_test_extension.c -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch x86_64 -mmacosx-version-min=10.9 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -Werror=unguarded-availability-new -I/Users/jizusun/.cache/uv/builds-v0/.tmpegEaaI/include -I/Users/jizusun/.rye/py/cpython@3.12.7/include/python3.12 -c src/greenlet/greenlet.cpp -o build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet/greenlet.o --std=c++11
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch x86_64 -mmacosx-version-min=10.9 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -Werror=unguarded-availability-new -bundle -undefined dynamic_lookup -arch x86_64 -mmacosx-version-min=10.9 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -LModules/_hacl build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet/greenlet.o -L/install/lib -o build/lib.macosx-10.9-x86_64-cpython-312/greenlet/_greenlet.cpython-312-darwin.so

[stderr]
warning: no previously-included files found matching 'benchmarks/*.json'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
Please check your Xcode installation
clang: warning: no such sysroot directory: '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk' [-Wmissing-sysroot]
ld: warning: directory not found for option '-LModules/_hacl'
ld: warning: directory not found for option '-L/install/lib'
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit code 1
error: Installation of dependencies failed in venv at /Users/jizusun/Downloads/.venv. uv exited with status: exit status: 2

Initializing new virtualenv in /Users/jizusun/Downloads/.venv
Python version: cpython@3.12.7
Added utilmeta>=2.6.4 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: /Users/jizusun/Downloads/requirements.lock
Generating dev lockfile: /Users/jizusun/Downloads/requirements-dev.lock
Installing dependencies
Resolved 18 packages in 27ms
   Built downloads @ file:///Users/jizusun/Downloads
error: Failed to prepare distributions
  Caused by: Failed to download and build `greenlet==3.1.1`
  Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)

[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
creating build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_slp_switch.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/leakcheck.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_two_greenlets.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_cpp_exception.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_clearing_run_switches.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets2.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/fail_initialstub_already_started.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/CObjects.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenlet.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyGreenletUnswitchable.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/PyModule.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TBrokenGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TExceptionState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenlet.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TGreenletGlobals.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TMainGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TPythonState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TStackState.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadState.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadStateCreator.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TThreadStateDestroy.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/TUserGreenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_allocator.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_cpython_add_pending.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_exceptions.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_internal.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_refs.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/greenlet_thread_support.hpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_loongarch64_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_sh_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/platform
copying src/greenlet/tests/_test_extension.c -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.macosx-10.9-x86_64-cpython-312/greenlet/tests
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch x86_64 -mmacosx-version-min=10.9 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -Werror=unguarded-availability-new -I/Users/jizusun/.cache/uv/builds-v0/.tmpegEaaI/include -I/Users/jizusun/.rye/py/cpython@3.12.7/include/python3.12 -c src/greenlet/greenlet.cpp -o build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet/greenlet.o --std=c++11
clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -arch x86_64 -mmacosx-version-min=10.9 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC -Werror=unguarded-availability-new -bundle -undefined dynamic_lookup -arch x86_64 -mmacosx-version-min=10.9 -isysroot /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -LModules/_hacl build/temp.macosx-10.9-x86_64-cpython-312/src/greenlet/greenlet.o -L/install/lib -o build/lib.macosx-10.9-x86_64-cpython-312/greenlet/_greenlet.cpython-312-darwin.so

[stderr]
warning: no previously-included files found matching 'benchmarks/*.json'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
Please check your Xcode installation
clang: warning: no such sysroot directory: '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk' [-Wmissing-sysroot]
ld: warning: directory not found for option '-LModules/_hacl'
ld: warning: directory not found for option '-L/install/lib'
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang++' failed with exit code 1
error: Installation of dependencies failed in venv at /Users/jizusun/Downloads/.venv. uv exited with status: exit status: 2

Environment
Run meta -v in your project directory and paste the logged info here

  • macos catalina
  • Python 3.12.7

To Reproduce
Paste your code where the bug occurs, and the request URL and data if necessary

Expected behavior
A clear and concise description of what you expected to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions