Skip to content

Create Python venv instead of manual site-packages#252

Draft
chhtz wants to merge 59 commits intomasterfrom
feature/python_venv
Draft

Create Python venv instead of manual site-packages#252
chhtz wants to merge 59 commits intomasterfrom
feature/python_venv

Conversation

@chhtz
Copy link
Member

@chhtz chhtz commented Sep 24, 2025

Work in progress

@planthaber planthaber force-pushed the feature/python_venv branch 3 times, most recently from 598cc2a to c819bfd Compare January 30, 2026 16:47
@chhtz
Copy link
Member Author

chhtz commented Mar 3, 2026

This is in a mostly working state, some possible improvements:

  • Code should be moved to autoproj directly, all functions in this package set should call the corresponding autoproj function and get marked deprecated
  • Code generally could be tested more, especially what happens when deactivating/re-activating
    • Make sure no illogical options are possible (activate venv without activating python)
    • Also, what happens if venv is (partially) deleted manually, does it recover by an autoproj osdep?
  • Make sure no downloads/installation happens, except in the osdeps-phase
  • Location of venv could be made configurable (in case one wants to share it between workspaces -- only works if installed versions are identical)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants