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
Open
Apply upstream cpython patch to fix test_bz2 on 3.15.0a6 (Ubuntu-22.04 arm64)#381priya-kinthali wants to merge 2 commits intoactions:mainfrom
priya-kinthali wants to merge 2 commits intoactions:mainfrom
Conversation
There was a problem hiding this comment.
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.6onlinux-22.04arm64builds. - Downloads the fixed
Lib/test/test_bz2.pyfrom a pinned CPython commit before runningconfigure/make.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.