Skip to content

ci: imgtool: drop PyPy 3.9 and 3.10 from the test matrix#2716

Open
d3zd3z wants to merge 1 commit intomcu-tools:mainfrom
d3zd3z:drop-old-pypy
Open

ci: imgtool: drop PyPy 3.9 and 3.10 from the test matrix#2716
d3zd3z wants to merge 1 commit intomcu-tools:mainfrom
d3zd3z:drop-old-pypy

Conversation

@d3zd3z
Copy link
Copy Markdown
Member

@d3zd3z d3zd3z commented Apr 27, 2026

cryptography 47.0.0 (released April 2026) bumps its PyO3 minimum supported PyPy version to 3.11. Pip-installing imgtool's deps on PyPy 3.9 or 3.10 now fails during the cryptography wheel build with

error: the configured PyPy interpreter version (3.10) is lower
than PyO3's minimum supported version (3.11)

so every PR run against this workflow fails on those two matrix entries. The matrix that landed in 95a6e38 ("imgtool: python version coverage") was green at the time because it ran against cryptography 46.x; the next push exposed the issue.

Drop pypy3.9 and pypy3.10 from the matrix, keep pypy3.11. CPython coverage is unchanged.

Assisted-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

cryptography 47.0.0 (released April 2026) bumps its PyO3 minimum
supported PyPy version to 3.11. Pip-installing imgtool's deps on
PyPy 3.9 or 3.10 now fails during the cryptography wheel build
with

  error: the configured PyPy interpreter version (3.10) is lower
         than PyO3's minimum supported version (3.11)

so every PR run against this workflow fails on those two matrix
entries. The matrix that landed in 95a6e38 ("imgtool: python
version coverage") was green at the time because it ran against
cryptography 46.x; the next push exposed the issue.

Drop pypy3.9 and pypy3.10 from the matrix, keep pypy3.11. CPython
coverage is unchanged.

Assisted-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: David Brown <david.brown@linaro.org>
@d3zd3z
Copy link
Copy Markdown
Member Author

d3zd3z commented Apr 27, 2026

@JPHutchins Looks like right after your change merged, a new cryptography dropped support for python < 3.10, so we need to drop those versions.

This will likely provoke the failure, because the workflow files run from main not the individual commit. But, this will need to merge in order to fix that.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the imgtool CI workflow to stop testing on PyPy versions that can no longer install dependencies after cryptography 47.0.0 raised the minimum supported PyPy version required by PyO3.

Changes:

  • Remove pypy3.9 and pypy3.10 from the workflow matrix
  • Keep pypy3.11 in the PyPy test coverage while leaving CPython versions unchanged

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@d3zd3z d3zd3z marked this pull request as ready for review April 27, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants