python-poetry / python-poetry/poetry-plugin-bundle

[feature request] optionally compress bundled venv to zip or tar.gz file

Open
#42 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
30
Avg merge
48m
Merged PRs (30d)
5

Description

Hi,

I would like to ask if this is a good idea to add an option to save bundled venv to .zip or tar.gz file.
The usecase is for providing pyspark code and dependencies, it supports venv-pack tar.gz file which basically works the same as this bundle plugin, except it creates tar.gz file.
See: https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html#using-virtualenv

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing bundled-venv implementation and its output-format handling, then compare the archive requirements in the linked Spark packaging guidance. Done means the plugin can optionally produce the requested zip or tar.gz bundle while preserving the existing bundling behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, spark
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.