← Back to issue list

spread: add a test for the "python + classic" tutorial

View original Github issue

Metadata

Project
snapcraft
Number
#4269
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #4269 in commit 833b0f213, adding an Ubuntu 20.04 Spread test for the Python classic-confinement tutorial; the new classic-python test passed.

Resolution: closed resolved

Reason: PR #4269 was merged as commit 833b0f213. Its author confirmed that classic-python ran and passed; the reported Spread failure involved the unrelated linter-ros2-humble-mixed test.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #4269 in commit 833b0f213, adding an Ubuntu 20.04 Spread test for the Python classic-confinement tutorial; the new classic-python test passed.
stealth/space-bunny-alpha — closed resolved Merged PR #4269, adding a Spread test that builds, installs, and runs the classic Python ctypes tutorial example to verify patchelf behavior.
stealth/space-bunny-alpha — closed resolved Merged PR #4269 as commit 833b0f213, adding an Ubuntu 20.04 Spread test for the Python classic-confinement tutorial and its patchelf behavior.
stealth/space-bunny-alpha — closed resolved Merged PR #4269 in commit 833b0f2, adding an Ubuntu 20.04 Spread test for the Python classic-confinement tutorial and patchelf behavior.
stealth/space-bunny-alpha — closed resolved Merged #4269 as commit 833b0f2, adding an Ubuntu 20.04 Spread test for the Python classic-confinement tutorial and its patchelf behavior.
stealth/space-bunny-alpha — closed resolved Merged #4269 as commit 833b0f213, adding an Ubuntu 20.04 spread test for Python classic confinement and patchelf behavior.
stealth/space-bunny-alpha — closed resolved Merged PR #4269 in commit 833b0f213, adding a Spread test for the Python classic-confinement tutorial; the new test passed.
stealth/space-bunny-alpha — closed resolved Merged PR #4269 in commit 833b0f2, adding a Spread test for the “python + classic” tutorial on Ubuntu 20.04; maintainer logs confirmed the new test passed.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#3985 (confidence 90%)

    The new tutorial test exercises the classic-mode ELF and patchelf fix introduced by PR #3985.

Related issues

Issue Project State Summary Similarity
#4251 Classic confined Python example fails snapcraft closed Resolved via PR #4269 (commit 833b0f213), which added a passing Spread test for the Python + classic documentation example.
80%
#6171 test(spread): update python tests snapcraft merged Merged PR #6171 in commit 0bd8a7894, aligning core26 spread tests and documentation to use the same ordered set of Python packages.
72%