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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am attempting to bundle some
py_library
targets so that they can be used in Spark.Here are the steps outside of Bazel (for an environment with
pyarrow
andpandas
):python -m venv pyspark_venv source pyspark_venv/bin/activate pip install pyarrow pandas venv-pack venv-pack -o pyspark_venv.tar.gz
Is it possible achieve this with
rules_py
?I tried throwing a
py_env
into apkg_tar
but the folder structure ends up very different.Here is what Spark has to say about packaging: https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html
Beta Was this translation helpful? Give feedback.
All reactions