← Back to issue list

tests: fix issues with python 3.6

View original Github issue

Metadata

Project
snapcraft
Number
#1398
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged fix for Python 3.6 test compatibility. Approved by one reviewer, modified three files (+34/-7). Resolves Launchpad bug #1699009.

Suggested action:

No scores available.

Issue body

LP: #1699009 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for Python 3.6 test compatibility. Approved by one reviewer, modified three files (+34/-7). Resolves Launchpad bug #1699009.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer sergiusens, the changes fix Python 3.6 compatibility failures in the test suite, resolving Launchpad bug #1699009.
qwen3.6-35b-a3b-mtp-q6 Merged to fix Python 3.6 test failures, resolving Launchpad bug #1699009. Updates test infrastructure for Python 3.6 compatibility and syntax compliance.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#617 test: make tests work in python 3.12+ craft-parts merged Merged to update the test suite for Python 3.12+ compatibility. Approved by two reviewers, the change modifies five files (+36/-26 lines) to resolve version-specific test failures.
73%
#1133 tests: fix the test that was modifying the environment variables snapcraft merged Merged a fix for a test modifying environment variables. Adds an assertion to fail when PATH is empty and uses os.environ instead of grep. Approved by two reviewers, resolves LP #1663396, and applies +3/-2 lines.
73%
#1021 test(spread): fix python3.6 test rockcraft merged 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.
72%
#980 fix(tests): fix tests that were broken on Ubuntu 26.04 craft-application merged Merged a fix for tests failing on Ubuntu 26.04. Approved by two reviewers and passing all CI checks, the change modifies two files with six additions and two deletions to resolve platform-specific test failures.
72%
#1146 test: fix doc version tests craft-application merged Merged a fix for documentation version test failures accidentally introduced by PR #1140. Approved by two reviewers, passed all CI checks, and merged with a +6/-5 change across three files.
71%
#1796 tests: fix the pip check integration test charmcraft merged Merged after two approvals, fixing the pip check integration test that was incorrectly passing. The change updated one file to correct the test logic.
71%
#450 deps: change python-apt dependencies to launchpad craft-parts merged Merged an update replacing python-apt dependencies with launchpad. Approved by one reviewer, passed CI, and modified one file with three additions and three deletions.
70%
#3206 tests: add missing asserts to python unit tests snapcraft merged Merged update adding missing asserts to Python unit tests. Fixed broken tests after removing virtual environment activate usage. Approved by one reviewer, passed CI, and modified one file with 22 additions and 16 deletions.
70%