Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avocado venv bootstrap - deprecation/removal of eggs #6108

Open
clebergnu opened this issue Jan 27, 2025 · 0 comments
Open

Avocado venv bootstrap - deprecation/removal of eggs #6108

clebergnu opened this issue Jan 27, 2025 · 0 comments

Comments

@clebergnu
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Avocado is capable of deploying itself to other environments such as podman containers (and then be run by spawners other than process), it does so using Python eggs. Python eggs are deprecated and Avocado should not continue to rely on them.

Describe the solution you'd like
The standard way of deploying Python applications is now though PIP in isolated virtual environments (venvs). Avocado should attempt to do follow the standard.

To allow for offline operation in the deployed environments, Avocado should continue to be able to download the needed packages (currently it does eggs, but should also support wheels/tarballs).

If the filesystem is the same, or filesystem sharing is available, there could be a preparation of the venv (one for each platform/Python version) that would be given (preferably as read-only) to the deployed environment.

Describe alternatives you've considered
The alternative is dropping support for Avocado deployment when support for eggs are ultimately removed from the Python ecosystem. The downside would be more manual actions required for Avocado users to run tests in other environments.

@clebergnu clebergnu added this to the 111 - Codename TBD milestone Jan 27, 2025
@mr-avocado mr-avocado bot moved this to Triage in Default project Jan 27, 2025
@clebergnu clebergnu moved this from Triage to Short Term (Current Q) Backlog in Default project Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Short Term (Current Q) Backlog
Development

No branches or pull requests

1 participant