Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install fails on MacOS with Apple system Python 3.8 #1337

Closed
hirani opened this issue Nov 5, 2020 · 14 comments · Fixed by #1559
Closed

pip install fails on MacOS with Apple system Python 3.8 #1337

hirani opened this issue Nov 5, 2020 · 14 comments · Fixed by #1559
Labels
component: build Issues related to etstool.py, CI and other build machinery type: bug
Milestone

Comments

@hirani
Copy link

hirani commented Nov 5, 2020

Running "pip install traits:" on a Mac OS 10.15.7 fails. This is being done for Apple's system default Python 3.8. The first error that I can see is in the following output:

running build_ext
building 'traits.ctraits' extension
creating build/temp.macosx-10.14.6-x86_64-3.8
creating build/temp.macosx-10.14.6-x86_64-3.8/traits
xcrun -sdk macosx clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c traits/ctraits.c -o build/temp.macosx-10.14.6-x86_64-3.8/traits/ctraits.o
In file included from traits/ctraits.c:15:
In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/limits.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/limits.h:63:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^

@mdickinson
Copy link
Member

Thanks for the report. Do you have the MACOSX_DEPLOYMENT_TARGET environment variable set? If so, what's its value?

@mdickinson mdickinson added type: bug component: build Issues related to etstool.py, CI and other build machinery labels Nov 5, 2020
@mdickinson
Copy link
Member

Confirmed that I can reproduce locally on macOS 10.15.7 (19H2), with XCode 12.1 (12A7403), using these commands:

mdickinson@mirzakhani traits % /usr/bin/python3 -m venv --clear ~/.venvs/testing
mdickinson@mirzakhani traits % source ~/.venvs/testing/bin/activate             
(testing) mdickinson@mirzakhani traits % pip install traits

@mdickinson
Copy link
Member

It looks as though this is the same issue: gorakhargosh/watchdog#689. From the discussion there, sounds as though this is an XCode issue, or possibly a core Python issue that's already been resolved at some point between Python 3.8.2 and Python 3.8.5.

@mdickinson
Copy link
Member

A workaround (confirmed working here) is to install with:

ARCHFLAGS="-arch x86_64" pip install traits

I'm going to close here, since I don't think there's any Traits-specific action to take. This seems to be entirely an issue with the XCode distribution of Python, which apparently tries to compile extensions using -arch arm64 in spite of the SDK not supporting that architecture.

@mdickinson
Copy link
Member

A quick experiment in #1338 seems to show no problems with the build with either XCode 12.0.1 or XCode 12.2 (which I think is a beta). That gives me some hope that the underlying XCode issue will be fixed with the XCode 12.2 release. But if it persists with that and later releases, we may need to consider either documenting the ARCHFLAGS workaround, or modifying the setup script.

@hirani
Copy link
Author

hirani commented Nov 5, 2020

Thanks @mdickinson for looking into this. I do not have MACOSX_DEPLOYMENT_TARGET set. I tried the suggested workaround:
ARCHFLAGS="-arch x86_64" pip install traits
with no change in the error (that is, still got the same error). I also looked at the gorakhargosh/watchdog#689 issue referenced above but did not make progress in resolving the issue I reported. I have XCode 12.1 installed and the Apple system Python 3 is version 3.8.2.

Any suggestions as to why the workaround above that worked for you might not be working in my system? Is there a development version of traits that I can use where this issue does not arise?

@hirani
Copy link
Author

hirani commented Nov 6, 2020

OK, I was able to build traits. The problem was that I was setting the environment variable ARCHFLAGS and then using sudo pip3 install ... so naturally the environment variable was not visible to the shell in which sudo was running. Using
export ARCHFLAGS="-arch x86_64"
sudo --preserve-env=ARCHFLAGS pip3 install traits
worked.

@mdickinson
Copy link
Member

@hirani Thanks for the update.

I'm going to re-open this, at least until the next release of XCode. Let's see if XCode 12.2 fixes this - if so, we can reclose this issue. If the issue persists, I think we should look for a solution, even if that solution is just in the documentation.

@mdickinson mdickinson reopened this Nov 6, 2020
@mdickinson
Copy link
Member

XCode 12.2 is now available, and it's still a problem with XCode 12.2:

Attempting to build Traits with XCode 12.2
mdickinson@mirzakhani Desktop % xcodebuild -version 
Xcode 12.2
Build version 12B45b
mdickinson@mirzakhani Desktop % /usr/bin/python3 --version
Python 3.8.2
mdickinson@mirzakhani Desktop % /usr/bin/python3 -m venv --clear ~/.venvs/testing
mdickinson@mirzakhani Desktop % source ~/.venvs/testing/bin/activate
(testing) mdickinson@mirzakhani Desktop % pip install traits
Collecting traits
  Using cached https://files.pythonhosted.org/packages/94/d4/be3765c4c1ada555a91daa5cc9df3b6c2557ec4b55ba181c23ef5682e1f8/traits-6.1.1.tar.gz
Installing collected packages: traits
  Running setup.py install for traits ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/mdickinson/.venvs/testing/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/setup.py'"'"'; __file__='"'"'/private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-record-v86ygkvg/install-record.txt --single-version-externally-managed --compile --install-headers /Users/mdickinson/.venvs/testing/include/site/python3.8/traits
         cwd: /private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/
    Complete output (356 lines):
    Reading version file /private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/traits/version.py
    Package version from version file: ('6.1.1', '77b3edce060eafa8b6a0330313b6b4885a94a0e6')
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.14.6-x86_64-3.8
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_numeric.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_errors.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/editor_factories.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_types.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/version.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_list_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_dict_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/constants.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/base_trait_handler.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_base.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_set_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_handler.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/interface_checker.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/traits_listener.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_converters.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_factory.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/has_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/ctrait.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_type.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    copying traits/trait_handlers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/event_tracer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/toposort.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/async_trait_wait.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/import_symbol.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/deprecated.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/home_directory.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/resource.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/camel_case.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/trait_documenter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/clean_strings.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/_traitsui_helpers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    copying traits/util/weakiddict.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_int_range_long.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_cycle.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_interface_checker.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_list_dict.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_version.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_get_set.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_list.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_undefined.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_exceptions.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_none.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_configure_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_view_elements.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_automatic_adaptation.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_expression.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_delegate.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_target.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_has_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_weak_ref.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_traits_listener.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_callable.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_type.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_string.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_change_event_tracer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_array.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_property_notifications.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_array_or_none.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_historical_unpickling.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_anytrait_static_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_special_event_handlers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_copy_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_types.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_prefix_map.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_converters.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_sync_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_extended_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_clone.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_dict_list_set_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_has_required_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_bool.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_union.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_directory.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_rich_compare.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_constant.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_float_range.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_validated_tuple.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_listeners.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_event_order.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_get_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_prefix_list.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_tuple.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_container_events.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_ctraits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_list_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_integer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_file.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_keyword_args.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_class_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_ui_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_base.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_cythonized_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_abc.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_list_events.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_set_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_str_handler.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_map.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_editor_factories.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_long_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_dict_object.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_float.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_copyable_trait_names.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_pickle_validated_dict.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_deprecated_handlers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_interfaces.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_static_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/tuple_test_mixin.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_dynamic_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_range.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_uuid.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_extended_trait_change.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_trait_default_initializer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_constants.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_integer_range.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_dict.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/check_timing.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_dynamic_trait_definition.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_prefix_list.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_unicode_traits.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_enum.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_property_delete.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_regression.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    copying traits/tests/test_new_notifiers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig
    copying traits/etsconfig/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig
    copying traits/etsconfig/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig
    copying traits/etsconfig/etsconfig.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/nose_tools.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/unittest_tools.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/doctest_tools.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    copying traits/testing/optional_dependencies.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/adaptation_offer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/adaptation_error.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/adapter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    copying traits/adaptation/adaptation_manager.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/exception_handling.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_trait_added_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_list_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_set_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_observer_change_notifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/parsing.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_observer_graph.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/events.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_i_observable.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_metadata_filter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_filtered_trait_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_named_trait_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_observe.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_generated_parser.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_set_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/api.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/observe.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_has_traits_helpers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_i_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_list_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_trait_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_testing.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_dict_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_exceptions.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/expression.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_dict_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_i_notifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    copying traits/observation/_trait_event_notifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_trait_documenter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_traitsui_helpers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_import_symbol.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_deprecated.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_async_trait_wait.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_camel_case.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_record_events.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_clean_strings.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_message_records.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_weakidddict.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    copying traits/util/tests/test_record_containers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/util/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig/tests
    copying traits/etsconfig/tests/test_etsconfig.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig/tests
    copying traits/etsconfig/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/etsconfig/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/testing/tests
    copying traits/testing/tests/test_optional_dependencies.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing/tests
    copying traits/testing/tests/test_unittest_tools.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing/tests
    copying traits/testing/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing/tests
    copying traits/testing/tests/test_nose_tools.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/testing/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/benchmark.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/test_adaptation_manager.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/abc_examples.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/lazy_examples.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/test_adapter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/test_global_adaptation_manager.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/test_adaptation_offer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    copying traits/adaptation/tests/interface_examples.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/adaptation/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_generated_parser.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_parsing.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_filtered_trait_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_list_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_set_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_list_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_trait_event_notifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_expression.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_dict_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_observer_change_notifier.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_trait_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_set_change_event.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_has_traits_helpers.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_observe.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_named_trait_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_trait_added_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_dict_item_observer.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_exception_handling.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_observer_graph.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    copying traits/observation/tests/test_metadata_filter.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/observation/tests
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data
    creating build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/README -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p2-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p3-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p0-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p4-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p1-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/hipt-t5.2.0-p5-float-ctrait.pkl -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    copying traits/tests/test-data/historical-pickles/generate_pickles.py -> build/lib.macosx-10.14.6-x86_64-3.8/traits/tests/test-data/historical-pickles
    running build_ext
    building 'traits.ctraits' extension
    creating build/temp.macosx-10.14.6-x86_64-3.8
    creating build/temp.macosx-10.14.6-x86_64-3.8/traits
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/Users/mdickinson/.venvs/testing/include -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c traits/ctraits.c -o build/temp.macosx-10.14.6-x86_64-3.8/traits/ctraits.o
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:11:
    In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/limits.h:21:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/limits.h:63:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
    #error Unsupported architecture
     ^
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:11:
    In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/limits.h:21:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/limits.h:64:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/limits.h:8:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:71:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:33:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:71:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
    typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_dev_t;         /* dev_t */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
    typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
    typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
    typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
    typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
            ^
    note: '__uint128_t' declared here
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:71:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_wctype_t;
            ^
    note: '__uint128_t' declared here
    In file included from traits/ctraits.c:15:
    In file included from /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:75:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_va_list.h:31:
    /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
    #error architecture not supported
     ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    error: command 'clang' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/mdickinson/.venvs/testing/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/setup.py'"'"'; __file__='"'"'/private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-install-8qr2jd0c/traits/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/07/jbbjv8b53bs5y9xyjdyn1zgw0000gn/T/pip-record-v86ygkvg/install-record.txt --single-version-externally-managed --compile --install-headers /Users/mdickinson/.venvs/testing/include/site/python3.8/traits Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@mdickinson
Copy link
Member

One other interesting discovery: it looks as though Apple's Python does work if you pick the right executable. The python3.8 in the framework build of Python supports both architectures:

mdickinson@mirzakhani ~ % file /usr/bin/python3
/usr/bin/python3: Mach-O 64-bit executable x86_64
mdickinson@mirzakhani ~ % file /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 (for architecture x86_64):	Mach-O 64-bit executable x86_64
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 (for architecture arm64):	Mach-O 64-bit executable arm64

If I use the python3.8 above to install traits, everything works as expected.

Everything else Python-related in /usr/bin appears to be a symlink to the matching framework binary; I'm not quite sure what that python3 executable is doing, and why it isn't also a symlink.

@mdickinson
Copy link
Member

Still an issue with the Traits 6.2.0 release, macOS 10.15.7, and Xcode 12.3 (build 12C33), though the impact is somewhat lessened now that we have wheels built.

It still may be worth a note in the installation instructions, though.

@mdickinson mdickinson added this to the 6.3.0 release milestone Jan 22, 2021
@mdickinson
Copy link
Member

This appears to no longer be an issue:

mdickinson@mirzakhani ~ % /usr/bin/python3 -m venv --clear ~/.venvs/testing
mdickinson@mirzakhani ~ % source ~/.venvs/testing/bin/activate
(testing) mdickinson@mirzakhani ~ % pip install --no-cache-dir traits
Collecting traits
  Downloading https://files.pythonhosted.org/packages/4e/45/6fc1c2a910435c1b98c6af3d9e4f7c33fa8ecbde1ea041492e07da16abb6/traits-6.2.0-cp38-cp38-macosx_10_14_x86_64.whl (5.0MB)
     |████████████████████████████████| 5.0MB 3.5MB/s 
Installing collected packages: traits
Successfully installed traits-6.2.0
WARNING: You are using pip version 19.2.3, however version 21.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@mdickinson
Copy link
Member

This appears to no longer be an issue:

Ah, sorry; that's because we're downloading the wheel above. There's still an issue here. To reproduce:

mdickinson@mirzakhani ~ % /usr/bin/python3 -m venv --clear ~/.venvs/testing   
mdickinson@mirzakhani ~ % source ~/.venvs/testing/bin/activate
(testing) mdickinson@mirzakhani ~ % pip install --no-binary traits --no-cache-dir traits

@mdickinson
Copy link
Member

I've added a note to the installation docs in #1559. (Actually, there was no installation documentation, so #1559 adds the installation docs too.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: build Issues related to etstool.py, CI and other build machinery type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants