No user site for snapcraft
Metadata
Current evaluation
Merged in canonical/snapcraft#2131 via commit 9dfbdbaba, disabling Python user site-packages for Snapcraft.
Resolution: closed resolved
Reason: PR #2131 was approved and merged. Commit 9dfbdbaba sets ENABLE_USER_SITE to False in the packaged Python configuration, preventing user-installed packages from affecting Snapcraft.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#2131 via commit 9dfbdbaba, disabling Python user site-packages for Snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2131 via commit 9dfbdbaba, disabling user site-packages for snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2131 via commit 9dfbdbaba, disabling user site-packages for Snapcraft to prevent packages from being loaded from the user’s home directory. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2131 disabled user site-packages in the Snapcraft snap, resolving the unwanted user-site availability. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval by one reviewer. Authored by maintainer sergiusens, the change addresses No user site for snapcraft with a single file modification (+5/-1 lines). | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into the main branch to resolve the missing user site configuration for snapcraft. The change was accepted and integrated without comments or additional review. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1767434 Host python dist-packages in sys.path of snapcraft's python | snapcraft (launchpad) | closed | Merged in snapcore/snapcraft#2131 (commit 9dfbdbaba), disabling Python user site-packages for Snapcraft, closing this report about host/user paths leaking into snapcraft's python sys.path. |