Weird issues installing greenlet 2.0.1 on macOS Ventura

I finally updated to ventura the other day, went to hack on github-linter and … dependency hell.

Updating to 2.0.2 seems to have fixed it.

➜ poetry install
Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

  • Installing greenlet (2.0.1): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-12.1-arm64-cpython-310
  creating build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/__init__.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  creating build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/__init__.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  creating build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_version.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_weakref.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_gc.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/leakcheck.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_generator.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_throw.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_tracing.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_cpp.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_contextvars.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_greenlet.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_extension_interface.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/__init__.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_generator_nested.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_stack_saved.py -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/test_leaks.py -> build/lib.macosx-12.1-arm64-cpython-310/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'
  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
  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/greenlet.cpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_allocator.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_exceptions.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_greenlet.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_internal.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_refs.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_thread_state.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/greenlet_thread_support.hpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/slp_platformselect.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet
  copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_mips_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_s390_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x32_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/platform/switch_x86_unix.h -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/platform
  copying src/greenlet/tests/_test_extension.c -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.macosx-12.1-arm64-cpython-310/greenlet/tests
  running build_ext
  building 'greenlet._greenlet' extension
  creating build/temp.macosx-12.1-arm64-cpython-310
  creating build/temp.macosx-12.1-arm64-cpython-310/src
  creating build/temp.macosx-12.1-arm64-cpython-310/src/greenlet
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/var/folders/3s/cq196r3d2_x879c3cdd35px40000gn/T/tmphm598jnt/.venv/include -I/Users/yaleman/.asdf/installs/python/3.10.5/include/python3.10 -c src/greenlet/greenlet.cpp -o build/temp.macosx-12.1-arm64-cpython-310/src/greenlet/greenlet.o --std=gnu++11
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:519:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/max.h:13:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/comp_ref_type.h:13:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:15:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace
  using ::nullptr_t;
        ~~^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:519:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/max.h:13:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__algorithm/comp_ref_type.h:13:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:16:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:452:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_compound.h:14:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_fundamental.h:14:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'?
  template <>          struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
                                                  ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type
  template <>          struct __is_nullptr_t_impl<nullptr_t> : public true_type {};
                                                  ^~~~~~~~~
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here
  template <class _Tp> struct __is_nullptr_t_impl       : public false_type {};
                  ^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:549:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:848:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:18:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:94:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr'
      _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
                                              ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}'
  class _LIBCPP_TYPE_VIS exception_ptr
                         ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces
      _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
      ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:689:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
  #  define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI
                                      ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:673:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
            __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER))))
                           ^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:549:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:848:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/allocator.h:18:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:94:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:149:55: error: expected ';' at end of declaration list
      _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
                                                        ^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:549:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:860:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:28:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const?
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
    ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:728:31: note: expanded from macro '_LIBCPP_CONSTEXPR'
  #    define _LIBCPP_CONSTEXPR constexpr
                                ^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:549:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:860:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:28:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
                                 ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
                                           ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t'
    unique_ptr& operator=(nullptr_t) _NOEXCEPT {
                          ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const?
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
    ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:728:31: note: expanded from macro '_LIBCPP_CONSTEXPR'
  #    define _LIBCPP_CONSTEXPR constexpr
                                ^
  In file included from src/greenlet/greenlet.cpp:10:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:549:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:860:
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/shared_ptr.h:28:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
                                 ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:395:42: error: expected ';' at end of declaration list
    _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
                                           ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:484:25: error: unknown type name 'nullptr_t'
    unique_ptr& operator=(nullptr_t) _NOEXCEPT {
                          ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:533:14: error: unknown type name 'nullptr_t'
    void reset(nullptr_t = nullptr) _NOEXCEPT {
               ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:533:24: error: cannot initialize a parameter of type 'int' with an rvalue of type 'std::nullptr_t'
    void reset(nullptr_t = nullptr) _NOEXCEPT {
                         ^ ~~~~~~~
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:533:24: note: passing argument to parameter here
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:594:45: error: unknown type name 'nullptr_t'
  operator==(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
                                              ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:602:12: error: unknown type name 'nullptr_t'
  operator==(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
             ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:610:45: error: unknown type name 'nullptr_t'
  operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
                                              ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  error: command '/usr/bin/clang' failed with exit code 1


  at ~/.asdf/installs/python/3.10.6/lib/python3.10/site-packages/poetry/installation/chef.py:152 in _prepare
      148│
      149│                 error = ChefBuildError("\n\n".join(message_parts))
      150│
      151│             if error is not None:
    → 152│                 raise error from None
      153│
      154│             return path
      155│
      156│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:


#macos #error #ventura #python #greenlet