tests,ci: add python 3.10 tests (CRAFT-743)
Metadata
Current evaluation
Merged. Added Python 3.10 to the CI workflow and fixed a Python 3.10-specific tarfile test error. Included missing pylint checks. The setup.py 3.10 tag was added post-merge and will be required in related repositories.
Suggested action: —
No scores available.
Issue body
Add Python 3.10 to GHA tests workflow ~~and tox~~ and fix a integration
test to recognize the tarfile `ReadError` message in Python 3.10.
Also added missing pylint testing.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Added Python 3.10 to the CI workflow and fixed a Python 3.10-specific tarfile test error. Included missing pylint checks. The setup.py 3.10 tag was added post-merge and will be required in related repositories. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add Python 3.10 to CI workflows, fix tarfile ReadError test compatibility, and enable pylint checks. setup.py classifiers were omitted during merge, with follow-up updates planned for craft-providers. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #15 ci: add Python 3.10 to the test matrix (CRAFT-741) | rockcraft | merged | Merged after approval, adding Python 3.10 to the CI test matrix. Updated a single file with four additions and one deletion. Resolves CRAFT-741. | |
| #674 Added Python 3.10 to the tests matrix (CRAFT-740). | charmcraft | merged | Merged after approval. The update adds Python 3.10 to the test matrix, modifying a single file with five additions and two deletions. Integration proceeded without CI failures or unresolved review comments. | |
| #49 ci: enable Python 3.10 (CRAFT-744) | craft-store | merged | Merged after single reviewer approval and passing CI checks. Enables Python 3.10 in the CI pipeline with minimal changes across two files. | |
| #63 Added Python 3.10 to the tests matrix (CRAFT-742). | craft-cli | merged | Merged. Added Python 3.10 to the test matrix. Maintainer confirmed all configuration files were synchronized. A brief debate on replacing tox with GitHub Actions and Makefiles did not block the merge. | |
| #87 platform: compatibility fixes for python 3.7 and 3.9 (CRAFT-315) | craft-parts | merged | Merged to add Python 3.7 compatibility, update tests for Python 3.9 error message changes, and adjust tox configuration. Approved by two reviewers and passed CI across four modified files. |