Fix & always include bin/activate in python & poetry plugin
Metadata
Current evaluation
Merged PR #2036; commit 7fa20644 makes Python and Poetry plugins always retain bin/activate and replace its hard-coded VIRTUAL_ENV path with a portable path.
Resolution: closed resolved
Reason: PR #2036 was approved and merged as commit 7fa20644. Tests and current code confirm that cleanup removes only bin entries other than activate and rewrites activate for relocatable virtual environments.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Including `bin/activate` in the virtual environment will make debugging much easier (charm developers can easily run Python code using the charm's virtual environment to debug issues)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2036; commit 7fa20644 makes Python and Poetry plugins always retain bin/activate and replace its hard-coded VIRTUAL_ENV path with a portable path. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged into craft-parts: Python and Poetry plugins now always retain a portable venv/bin/activate, making charm virtual environments easier to activate for debugging. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in commit 7fa20644: Python and Poetry plugins now always include bin/activate and make its virtual-environment path portable for debugging. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. The python and poetry plugins now always include and modify the bin/activate script to simplify debugging. Reviewers approved the change, lint and tests were updated, and the pull request was successfully merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. The Python and Poetry plugins now always include and modify the bin/activate script to simplify debugging. After maintainer approval, the author addressed lint and test requirements before the change was integrated. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2026 Change poetry plugin keep bins default to True | charmcraft | closed | Superseded by charmcraft#2036, merged as craft-parts commit 7fa20644; Python and Poetry charms now always retain a portable venv/bin/activate without Python binaries. |