You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build snowpark package from sources obtained from PyPI
What did you expect to see?
the package builds correctly
Can you set logging to DEBUG and collect the logs?
Building package on some linux distros (NixOS) fails with the following message:
Executing setuptoolsBuildPhase
protoc-gen-mypy is not installed nor found. Please install the binary package, e.g., `pip install mypy-protobuf`
it appears that the setup.py scripts requires mypy-protobuf Python package to be pre-installed manually prior to building snowpark-python package. Unfortunately, some Linux distros (such as NixOS) build packages from source in an isolated environment that causes the above failure.
Is it possible to either:
Add mypy-protobuf as a dependency (v/s checking for installed binary console_script)
Make mypy-protobuf dependency conditional if it is required only for the development of snowpark package and is not required at runtime by the applications that use snowpark
Thank you
The text was updated successfully, but these errors were encountered:
Hi @padhia, can you check if this issue is still present in the latest main branch? We recently added a pyproject.toml file that should take care of mypy-protobuf installation automatically, which is not yet reflected in pypi releases.
Please answer these questions before submitting your issue. Thanks!
Python 3.11.10 (main, Sep 7 2024, 01:03:31) [GCC 13.3.0]
Linux-6.12.10-x86_64-with-glibc2.40
pip freeze
)?build snowpark package from sources obtained from PyPI
the package builds correctly
Building package on some linux distros (NixOS) fails with the following message:
it appears that the
setup.py
scripts requiresmypy-protobuf
Python package to be pre-installed manually prior to buildingsnowpark-python
package. Unfortunately, some Linux distros (such as NixOS) build packages from source in an isolated environment that causes the above failure.Is it possible to either:
mypy-protobuf
as a dependency (v/s checking for installed binaryconsole_script
)mypy-protobuf
dependency conditional if it is required only for the development ofsnowpark
package and is not required at runtime by the applications that use snowparkThank you
The text was updated successfully, but these errors were encountered: