SNOW-993464: Can't install snowcli
sfc-gh-xbonnamy opened this issue · 4 comments
SnowCLI version
N/A
Python version
Python 3.10.13
Platform
macOS-10.16-x86_64-i386-64bit
What happened
When trying to install snowcli via pip ($pip install snowflake-cli-labs) the install fails with the following error:
ERROR: Failed building wheel for snowflake-connector-python
Failed to build snowflake-connector-python
ERROR: Could not build wheels for snowflake-connector-python, which is required to install pyproject.toml-based projects
Console output
(snowcli) user@MACHINENAME trunk % pip install snowflake-cli-labs
... (extract - starting at the error)
Building wheels for collected packages: snowflake-connector-python
Building wheel for snowflake-connector-python (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for snowflake-connector-python (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [495 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-cpython-310
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/secret_detector.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/azure_storage_client.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/ssl_wrap_socket.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/telemetry_oob.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/file_compression_type.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/options.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/arrow_context.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/sfdatetime.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/sqlstate.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/description.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/version.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/compat.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/config_manager.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/storage_client.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/result_batch.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/bind_upload_agent.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/connection_diagnostic.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/dbapi.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/_sql_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/proxy.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/sf_dirs.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/constants.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/gzip_decoder.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/_query_context_cache.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/s3_storage_client.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/sfbinaryformat.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/cache.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/converter.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/telemetry.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/file_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/encryption_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/gcs_storage_client.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/feature.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/test_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/connection.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/ocsp_snowflake.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/ocsp_asn1crypto.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/util_text.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/converter_snowsql.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/file_transfer_agent.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/network.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/converter_issue23517.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/local_storage_client.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/errors.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/pandas_tools.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/time_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/ssd_internal_keys.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/snow_logging.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/result_set.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/errorcode.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/url_util.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/converter_null.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/cursor.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/idtoken.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/webbrowser.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/by_plugin.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/okta.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/usrpwdmfa.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/default.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/keypair.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/_auth.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
copying src/snowflake/connector/auth/oauth.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/auth
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored
copying src/snowflake/connector/vendored/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
copying src/snowflake/connector/tool/dump_ocsp_response.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
copying src/snowflake/connector/tool/dump_ocsp_response_cache.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
copying src/snowflake/connector/tool/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
copying src/snowflake/connector/tool/dump_certs.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
copying src/snowflake/connector/tool/probe_connection.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/tool
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/cookies.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/auth.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/sessions.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/hooks.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/compat.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/models.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/certs.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/status_codes.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/__version__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/api.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/_internal_utils.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/utils.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/structures.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/help.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/requests/adapters.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/filepost.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/fields.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/_version.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/request.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/poolmanager.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/response.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/connection.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/_collections.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
copying src/snowflake/connector/vendored/urllib3/connectionpool.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/queue.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/ssltransport.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/proxy.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/wait.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/request.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/timeout.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/response.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/ssl_.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/retry.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/url.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/connection.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
copying src/snowflake/connector/vendored/urllib3/util/ssl_match_hostname.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/util
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/securetransport.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/socks.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/_appengine_environ.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/pyopenssl.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/appengine.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
copying src/snowflake/connector/vendored/urllib3/contrib/ntlmpool.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages
copying src/snowflake/connector/vendored/urllib3/packages/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages
copying src/snowflake/connector/vendored/urllib3/packages/six.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib/_securetransport
copying src/snowflake/connector/vendored/urllib3/contrib/_securetransport/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib/_securetransport
copying src/snowflake/connector/vendored/urllib3/contrib/_securetransport/low_level.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib/_securetransport
copying src/snowflake/connector/vendored/urllib3/contrib/_securetransport/bindings.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/contrib/_securetransport
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages/backports
copying src/snowflake/connector/vendored/urllib3/packages/backports/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages/backports
copying src/snowflake/connector/vendored/urllib3/packages/backports/makefile.py -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3/packages/backports
running egg_info
writing src/snowflake_connector_python.egg-info/PKG-INFO
writing dependency_links to src/snowflake_connector_python.egg-info/dependency_links.txt
writing entry points to src/snowflake_connector_python.egg-info/entry_points.txt
writing requirements to src/snowflake_connector_python.egg-info/requires.txt
writing top-level names to src/snowflake_connector_python.egg-info/top_level.txt
reading manifest file 'src/snowflake_connector_python.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.rst'
warning: no previously-included files found matching '.git-blame-ignore-revs'
warning: no previously-included files found matching '.pre-commit-config.yaml'
warning: no previously-included files found matching 'license_header.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
no previously-included directories found matching 'ci'
no previously-included directories found matching 'benchmark'
no previously-included directories found matching 'test'
no previously-included directories found matching 'tested_requirements'
no previously-included directories found matching 'src/snowflake/connector/cpp/scripts'
no previously-included directories found matching '__pycache__'
no previously-included directories found matching 'samples'
adding license file 'LICENSE.txt'
adding license file 'NOTICE'
writing manifest file 'src/snowflake_connector_python.egg-info/SOURCES.txt'
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'snowflake.connector.cpp.ArrowIterator' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'snowflake.connector.cpp.ArrowIterator' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'snowflake.connector.cpp.ArrowIterator' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'snowflake.connector.cpp.ArrowIterator' to be distributed and are
already explicitly excluding 'snowflake.connector.cpp.ArrowIterator' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'snowflake.connector.cpp.ArrowIterator.Python' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'snowflake.connector.cpp.ArrowIterator.Python' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'snowflake.connector.cpp.ArrowIterator.Python' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'snowflake.connector.cpp.ArrowIterator.Python' to be distributed and are
already explicitly excluding 'snowflake.connector.cpp.ArrowIterator.Python' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'snowflake.connector.cpp.ArrowIterator.Util' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'snowflake.connector.cpp.ArrowIterator.Util' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'snowflake.connector.cpp.ArrowIterator.Util' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'snowflake.connector.cpp.ArrowIterator.Util' to be distributed and are
already explicitly excluding 'snowflake.connector.cpp.ArrowIterator.Util' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'snowflake.connector.cpp.Logging' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'snowflake.connector.cpp.Logging' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'snowflake.connector.cpp.Logging' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'snowflake.connector.cpp.Logging' to be distributed and are
already explicitly excluding 'snowflake.connector.cpp.Logging' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying src/snowflake/connector/arrow_iterator.pyx -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
copying src/snowflake/connector/py.typed -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/BinaryConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/BinaryConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/BooleanConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/BooleanConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowChunkIterator.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowChunkIterator.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowIterator.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowIterator.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowTableIterator.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/CArrowTableIterator.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/DateConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/DateConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/DecimalConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/DecimalConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/FloatConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/FloatConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/IColumnConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/IntConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/IntConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/SnowflakeType.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/SnowflakeType.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/StringConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/StringConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/TimeConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/TimeConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/TimeStampConverter.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
copying src/snowflake/connector/cpp/ArrowIterator/TimeStampConverter.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Python
copying src/snowflake/connector/cpp/ArrowIterator/Python/Common.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Python
copying src/snowflake/connector/cpp/ArrowIterator/Python/Common.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Python
copying src/snowflake/connector/cpp/ArrowIterator/Python/Helpers.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Python
copying src/snowflake/connector/cpp/ArrowIterator/Python/Helpers.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Python
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Util
copying src/snowflake/connector/cpp/ArrowIterator/Util/macros.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Util
copying src/snowflake/connector/cpp/ArrowIterator/Util/time.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Util
copying src/snowflake/connector/cpp/ArrowIterator/Util/time.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/ArrowIterator/Util
creating build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/Logging
copying src/snowflake/connector/cpp/Logging/logging.cpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/Logging
copying src/snowflake/connector/cpp/Logging/logging.hpp -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/cpp/Logging
copying src/snowflake/connector/vendored/requests/LICENSE -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/requests
copying src/snowflake/connector/vendored/urllib3/LICENSE.txt -> build/lib.macosx-10.9-x86_64-cpython-310/snowflake/connector/vendored/urllib3
running build_ext
building 'snowflake.connector.arrow_iterator' extension
creating build/temp.macosx-10.9-x86_64-cpython-310
creating build/temp.macosx-10.9-x86_64-cpython-310/src
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/cpp
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/cpp/ArrowIterator
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/cpp/ArrowIterator/Python
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/cpp/ArrowIterator/Util
creating build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/cpp/Logging
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/user/opt/anaconda3/envs/snowcli/include -fPIC -O2 -isystem /Users/user/opt/anaconda3/envs/snowcli/include -Isrc/snowflake/connector -Isrc/snowflake/connector/cpp/ArrowIterator -Isrc/snowflake/connector/cpp/Logging -I/Users/user/opt/anaconda3/envs/snowcli/include/python3.10 -c src/snowflake/connector/arrow_iterator.cpp -o build/temp.macosx-10.9-x86_64-cpython-310/src/snowflake/connector/arrow_iterator.o -isystem/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include -isystem/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/numpy/core/include -std=c++17 -D_GLIBCXX_USE_CXX11_ABI=0 -mmacosx-version-min=10.13
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:22:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array.h:37:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/array_base.h:26:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/data.h:28:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/type.h:1745:36: error: 'get<arrow::FieldPath, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' is unavailable: introduced in macOS 10.14
if (IsFieldPath()) return std::get<FieldPath>(impl_).indices().size() > 1;
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<arrow::FieldPath, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:22:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array.h:37:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/array_base.h:26:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/data.h:28:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/type.h:1750:34: error: 'get<arrow::FieldPath, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' is unavailable: introduced in macOS 10.14
return IsFieldPath() ? &std::get<FieldPath>(impl_) : NULLPTR;
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<arrow::FieldPath, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:22:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array.h:37:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/array_base.h:26:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/data.h:28:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/type.h:1753:29: error: 'get<std::__1::basic_string<char>, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' is unavailable: introduced in macOS 10.14
return IsName() ? &std::get<std::string>(impl_) : NULLPTR;
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::basic_string<char>, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:22:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array.h:37:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/array_base.h:26:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/array/data.h:28:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/type.h:1757:24: error: 'get<std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> >, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' is unavailable: introduced in macOS 10.14
? &std::get<std::vector<FieldRef>>(impl_)
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> >, arrow::FieldPath, std::__1::basic_string<char>, std::__1::vector<arrow::FieldRef, std::__1::allocator<arrow::FieldRef> > >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:29:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/datum.h:139:17: error: 'get<std::__1::shared_ptr<arrow::ArrayData>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<ArrayData>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::ArrayData>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:29:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/datum.h:152:17: error: 'get<std::__1::shared_ptr<arrow::ChunkedArray>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<ChunkedArray>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::ChunkedArray>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:29:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/datum.h:156:17: error: 'get<std::__1::shared_ptr<arrow::RecordBatch>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<RecordBatch>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::RecordBatch>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:29:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/datum.h:160:17: error: 'get<std::__1::shared_ptr<arrow::Table>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<Table>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::Table>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1353:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/api.h:29:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/datum.h:164:17: error: 'get<std::__1::shared_ptr<arrow::Scalar>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<Scalar>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::Scalar>, arrow::Datum::Empty, std::__1::shared_ptr<arrow::Scalar>, std::__1::shared_ptr<arrow::ArrayData>, std::__1::shared_ptr<arrow::ChunkedArray>, std::__1::shared_ptr<arrow::RecordBatch>, std::__1::shared_ptr<arrow::Table> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1369:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/api.h:27:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/api_aggregate.h:23:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/function.h:27:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/kernel.h:32:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/exec.h:333:41: error: 'get<arrow::ArraySpan, arrow::ArraySpan, std::__1::shared_ptr<arrow::ArrayData> >' is unavailable: introduced in macOS 10.14
return const_cast<ArraySpan*>(&std::get<ArraySpan>(this->value));
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<arrow::ArraySpan, arrow::ArraySpan, std::__1::shared_ptr<arrow::ArrayData> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
In file included from src/snowflake/connector/arrow_iterator.cpp:1369:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/api.h:27:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/api_aggregate.h:23:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/function.h:27:
In file included from /private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/kernel.h:32:
/private/var/folders/9p/39s6m9dx2cv638710yfrz77r0000gn/T/pip-build-env-owfx7_ml/overlay/lib/python3.10/site-packages/pyarrow/include/arrow/compute/exec.h:338:17: error: 'get<std::__1::shared_ptr<arrow::ArrayData>, arrow::ArraySpan, std::__1::shared_ptr<arrow::ArrayData> >' is unavailable: introduced in macOS 10.14
return std::get<std::shared_ptr<ArrayData>>(this->value);
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/variant:1446:22: note: 'get<std::__1::shared_ptr<arrow::ArrayData>, arrow::ArraySpan, std::__1::shared_ptr<arrow::ArrayData> >' has been explicitly marked unavailable here
constexpr const _Tp& get(const variant<_Types...>& __v) {
^
11 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for snowflake-connector-python
Failed to build snowflake-connector-python
ERROR: Could not build wheels for snowflake-connector-python, which is required to install pyproject.toml-based projects
How to reproduce
Run the following commands in sequence from a Terminal window:
-
conda create --name snowcli python=3.10
-
conda activate snowcli
-
pip install snowflake-cli-labs ==> ERROR
Hi @sfc-gh-xbonnamy. It looks like issue for https://github.com/snowflakedb/snowflake-connector-python.
You can install SnowCLI by brew
brew tap Snowflake-Labs/snowcli
brew install snowcli
I just checked that
python3.10 -m venv v3.10
source v3.10/bin/activate
pip install snowflake-cli-labs
works fine.
@sfc-gh-xbonnamy
Could you try install pip install snowflake-connector-python==3.6.0
and tell us if it succeeds?
Executed commands in the following order:
-
conda create --name snowcli python=3.10
-
conda activate snowcli
-
pip install snowflake-connector-python==3.6.0
-
pip install snowflake-cli-labs ==> SAME ERROR
Closing due to no activity and fact the error is caused by python connector not snowcli.