← Back to issue list

test(spread): fix python3.6 test

View original Github issue

Metadata

Project
rockcraft
Number
#1021
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/rockcraft#1021 (commit 3266ca40), replacing unavailable Deadsnakes Python 3.6 with the default interpreter and explicit removal of python3 symlinks.

Resolution: closed resolved

Reason: The approved PR was merged as commit 3266ca40. It updates the spread test to use the base Python interpreter while manually removing python3 symlinks, preserving coverage of PARTS_PYTHON_INTERPRETER behavior.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The actual purpose of the test is to check that a rock that is built using the Python plugin but without a 'python3' symlink works correctly if PARTS_PYTHON_INTERPRETER is correctly set. The test checked this by using python3.6 from the deadsnakes ppa, whose dependency chain did *not* include 'python3-minimal' (I think), which is the package that provides 'python3'. Since python3.6 is gone from deadsnakes, update the test to be more explicit about the intention by using the default Python interpreter for the base but removing 'python3' out "manually". - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/rockcraft#1021 (commit 3266ca40), replacing unavailable Deadsnakes Python 3.6 with the default interpreter and explicit removal of python3 symlinks.
stealth/space-bunny-alpha — closed resolved Merged in #1021 (commit 3266ca40): updated the spread test to use the default Python interpreter and remove the python3 symlink manually after deadsnakes dropped python3.6.
qwen/qwen3.6-35b-a3b — — Merged a fix for a broken spread test after python3.6 was removed from the deadsnakes PPA. The test now manually removes the python3 symlink to verify PARTS_PYTHON_INTERPRETER handling. Approved and merged after review.
qwen3.6-35b-a3b-mtp-q6 — — Merged a test update replacing the discontinued deadsnakes python3.6 with the default Python interpreter. The test now manually removes the python3 symlink to explicitly verify PARTS_PYTHON_INTERPRETER behavior.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1304 test(spread): fix cross-test contamination rockcraft merged Merged PR #1304: spread variants shared the python-from-chisel-bare dir, causing cross-test contamination; each test now copies a clean rockcraft.yaml template in first (+6 lines, 2 files).
72%