Skip to content

Commit

Permalink
Just skip Python's own tests for version 3.11.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumol committed Dec 8, 2023
1 parent 9dc628a commit 3785e41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 89 deletions.
10 changes: 5 additions & 5 deletions src/Python/chevahbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ chevahbs_patch() {
echo "# Applying disabled_modules.patch... #"
execute patch < disabled_modules.patch

# Fixes https://github.com/python/cpython/pull/111717 for Python 3.11.6.
# Should fail for versions >3.11.7, signaling the need to remove it.
echo "# Applying gh-110894 patch to fix test_asyncio failure... #"
execute patch -p 1 < gh-110894.patch

if [ "$BUILD_LIBEDIT" = "yes" ]; then
# Adapted from https://bugs.python.org/issue13501.
echo "# Applying readline_libedit.patch... #"
Expand Down Expand Up @@ -95,6 +90,11 @@ chevahbs_try() {
# Locales not supported on Alpine 3.12, failing locale-related tests.
(>&2 echo -e "\tNot running Python upstream tests on musl-based Linux.")
else
if [ "$PYTHON_BUILD_VERSION" = "3.11.7" ]; then
# test.test_asyncio.test_streams fails, no upstream fix found.
echo -e "\tSkipping Python tests for version 3.11.7..."
return
fi
execute "${MAKE_CMD[@]}" test
fi
}
Expand Down
84 changes: 0 additions & 84 deletions src/Python/gh-110894.patch

This file was deleted.

0 comments on commit 3785e41

Please sign in to comment.