Skip to content

Add option to include python in environment #5

Open

Description

@jcrist

Not sure if this should be the default, but there should be two ways to bundle environments:

  • With a symlinked python and inherited system packages on the target system
  • With a fully bundled python

Activity

  1. saden1 commented on Mar 12, 2020

    @saden1

    Is this implemented? It seems to be but I am not sure if the docs are to be beloved or what is in the generated package.

  2. HyukjinKwon commented on Jan 3, 2021

    @HyukjinKwon

    +1 I think it makes more sense to have the bundled Python by default, and I do think it's more likely to use the packed venv somewhere else instead of in the same machine that has the same Python in the same path.

  3. HyukjinKwon commented on Jan 3, 2021

    @HyukjinKwon

    To add a bit of more context:

    • I implemented --archive and spark.archives option in other cluster modes, and documented that together with this library in PySpark in order to make this to be more widely used.
      See this demo documentation https://hyukjin-spark.readthedocs.io/en/stable/user_guide/python_packaging.html#using-virtualenv which will be in Spark 3.1. RC will be cut out next week.

    • conda-pack does self-include Python.

    • I documented that venv-pack also includes Python itself mistakenly. I think I did something wrong when I tested it. If it's not expected to be fixed soon in this repo itself, I will change the documentation to mention this limitation.

  4. added 2 commits that reference this issue on Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions