← Back to issue list

Add PYTHONPATH to environment (fixes #1893262)

View original Github issue

Metadata

Project
snapcraft
Number
#3270
Type
pull request
State
merged
Author
hellsworth
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3270 added $SNAP/gnome-platform to PYTHONPATH for gnome-3-34, fixing #1893262; testing confirmed python3-gi apps no longer segfaulted.

Resolution: closed resolved

Reason: PR #3270 was approved and merged after adding the GNOME platform Python paths. Contributor testing confirmed that affected python3-gi applications ran successfully without the prior segfault.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3270 added $SNAP/gnome-platform to PYTHONPATH for gnome-3-34, fixing #1893262; testing confirmed python3-gi apps no longer segfaulted.
stealth/space-bunny-alpha — closed resolved Merged PR #3270 added $SNAP/gnome-platform to PYTHONPATH for gnome-3-34, addressing #1893262; contributor testing reported python3-gi apps no longer segfaulted.
qwen/qwen3.6-35b-a3b — — Merged PR adds PYTHONPATH to the environment for the gnome-3-34 extension, resolving issue 1893262. Reviewers refined the implementation to use SNAP/gnome-platform and removed unnecessary snap paths. Verified to fix segfaults in python3-gi applications.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Added PYTHONPATH for the gnome-3-34 extension using $SNAP/gnome-platform paths. Removed unnecessary $SNAP site-packages paths per review. Verified to fix segfaults in Python apps, resolving #1893262.

Update history

No update history recorded yet.

Related work

  • Related To: launchpad#1893262 (confidence 99%)

    The PR title explicitly identifies bug #1893262 as the defect fixed.

Related issues

Issue Project State Summary Similarity
#3426 Ensure PYTHONPATH is properly set for gnome-3-34 builds snapcraft merged Merged PR #3426, fixing PYTHONPATH setup for gnome-3-34 builds in commit 5de071904.
75%