spread: add a test for the "python + classic" tutorial
Metadata
Current evaluation
Merged into hotfix/7.5 after two approvals and passing CI. Introduces a spread test verifying the python classic confinement tutorial and patchelf fix on Ubuntu 20.04. The test passed successfully.
Suggested action: —
No scores available.
Issue body
This commit adds a spread test to check the "Set up classic confinement for a Python project" tutorial. As an overview, the test:
- runs specifically on Ubuntu 20.04 systems;
- clones the test repo from snapcraft-docs/python-ctypes-example;
- builds & installs the snap from the test repo;
- runs the snap on the 20.04 system, to ensure the patchelf fix is working in the presence of the classic confinement.
- [ ] 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/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into hotfix/7.5 after two approvals and passing CI. Introduces a spread test verifying the python classic confinement tutorial and patchelf fix on Ubuntu 20.04. The test passed successfully. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into hotfix/7.5. Added a spread test verifying the Python classic confinement tutorial and patchelf fix on Ubuntu 20.04. The test passed successfully, with an unrelated linter failure dismissed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into hotfix/7.5. Adds a spread test verifying the patchelf fix for classic Python confinement on Ubuntu 20.04. An unrelated CI failure was dismissed, and the new test passed successfully. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3242 tests: migrate legacy classic patchelf tests to spread | snapcraft | merged | Merged after reviewer approval and passing CI. The change migrated legacy classic patchelf tests to the spread framework, updating 13 files with a net reduction of 186 lines. | |
| #6171 test(spread): update python tests | snapcraft | merged | Merged update aligning core26 spread tests and documentation Python package ordering for consistency. Approved by reviewers and passed CI checks. | |
| #3674 spread: fix python-hello | snapcraft | merged | Merged into snapcraft/7.0. The change fixes the python-hello spread test by modifying two files with two added lines. Approved by a reviewer, passed CI checks, and maintained existing code coverage. | |
| #3670 spread: fix python-hello | snapcraft | merged | Merged fix for python-hello spread tests broken by setuptools 61.1.0. Updated test configuration to comply with new package discovery rules, resolving metadata generation failures. Approved and passed CI. |