Skip to content

Apply upstream cpython patch to fix test_bz2 on 3.15.0a6 (Ubuntu-22.04 arm64)#381

Open
priya-kinthali wants to merge 2 commits intoactions:mainfrom
priya-kinthali:test-patch
Open

Apply upstream cpython patch to fix test_bz2 on 3.15.0a6 (Ubuntu-22.04 arm64)#381
priya-kinthali wants to merge 2 commits intoactions:mainfrom
priya-kinthali:test-patch

Conversation

@priya-kinthali
Copy link
Contributor

This PR applies an upstream CPython test fix for Python 3.15.0a6 on ubuntu-22.04 arm64 in the Nix builder. It replaces Lib/test/test_bz2.py with the version from CPython commit 19676e5f… to ensure BIG_DATA produces two compressed blocks, addressing test_bz2 failures during the build/test phase.

@priya-kinthali priya-kinthali requested a review from a team as a code owner March 12, 2026 06:22
Copilot AI review requested due to automatic review settings March 12, 2026 06:22
Copy link

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

Applies an upstream CPython test fix in the Nix-based Python build path to address test_bz2 failures on Ubuntu 22.04 arm64 for Python 3.15.0a6 by overwriting Lib/test/test_bz2.py during the build.

Changes:

  • Adds a conditional patch step for 3.15.0-alpha.6 on linux-22.04 arm64 builds.
  • Downloads the fixed Lib/test/test_bz2.py from a pinned CPython commit before running configure/make.

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

@priya-kinthali priya-kinthali self-assigned this Mar 12, 2026
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.

2 participants