← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds PYTHONPATH to the environment for the gnome-3-34 extension using $SNAP/gnome-platform. Unnecessary $SNAP paths were removed per review. Fixes segfaults and ensures correct Python package registration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3426 Ensure PYTHONPATH is properly set for gnome-3-34 builds snapcraft merged Merged kenvandine's fix for PYTHONPATH in gnome-3-34 builds. Approved by two reviewers, passed CI, and integrated with six lines added across two files.
73%
#3424 Ensure PYTHONPATH is appropriate for building packages with gnome-3-38 snapcraft merged Merged after reviewer approval and passing CI checks. The change corrects PYTHONPATH configuration to ensure proper package building with gnome-3-38, modifying three files without affecting overall code coverage.
73%