Skip to content

[WIP] Fix failing GitHub Actions job for mypyc tests - #22489

Closed
hauntsaninja wants to merge 2 commits into
masterfrom
copilot/fix-mypyc-tests-ubuntu
Closed

hauntsaninja wants to merge 2 commits into
masterfrom
copilot/fix-mypyc-tests-ubuntu

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Fix the failing GitHub Actions job "mypyc tests with py314-debug-build-ubuntu"
Analyze the Actions logs, identify the root cause of the failure, and implement a fix.
Check run ID: 132752358784
Job URL: https://github.com/python/mypy/actions/runs/43694636220/job/132752358784

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Copilot stopped work on behalf of hauntsaninja due to an error November 15, 2026 08:37
sudo apt-get install -q -y --no-install-recommends \
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev lzma liblzma-dev tk-dev uuid-dev zlib1g-dev

lzma-dev is only available up until ubuntu-24.04. The replacement for it is liblzma-dev. I'd also suggest to pin the OS version to ubuntu-26.04 for that job so it doesn't fail accidentally if for some reason a runner still uses the old 24.04 image.

Btw: Even the cpython dev guide still references the "old" dependency if you like to upgrade that, too. https://devguide.python.org/getting-started/setup-building/#install-dependencies -> Linux -> Ubuntu

sudo apt-get install -q -y --no-install-recommends \
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
libreadline6-dev libsqlite3-dev libssl-dev tk-dev uuid-dev zlib1g-dev
libreadline6-dev libsqlite3-dev libssl-dev lzma liblzma-dev tk-dev uuid-dev zlib1g-dev

@hauntsaninja

hauntsaninja commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator Author

uuuugh i accidentally clicked the copilot button while looking at #22488 and tried to hit stop on it, didn't know it would go and create this PR. i'll incorporate your suggestions in my actual PR though!

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.

3 participants