-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
test_venv: test_zippath_from_non_installed_posix() failed on aarch64 RHEL8 Refleaks 3.x #109748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
tests
Tests in the Lib/test dir
Comments
aarch64 Fedora Stable Refleaks 3.x: https://buildbot.python.org/all/#/builders/123/builds/857 |
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 25, 2023
Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ directories because they can be modified by other Python tests running in parallel.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 25, 2023
Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ directories because they can be modified by other Python tests running in parallel.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 25, 2023
Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ directories because they can be modified by other Python tests running in parallel.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 25, 2023
Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel.
vstinner
added a commit
that referenced
this issue
Sep 25, 2023
Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 25, 2023
…thonGH-109872) Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel. (cherry picked from commit 25bb266) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 25, 2023
…thonGH-109872) Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel. (cherry picked from commit 25bb266) Co-authored-by: Victor Stinner <[email protected]>
vstinner
added a commit
that referenced
this issue
Sep 25, 2023
…H-109872) (#109874) gh-109748: Fix venv test_zippath_from_non_installed_posix() (GH-109872) Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel. (cherry picked from commit 25bb266) Co-authored-by: Victor Stinner <[email protected]>
csm10495
pushed a commit
to csm10495/cpython
that referenced
this issue
Sep 28, 2023
…thon#109872) Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 30, 2023
Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap.
vstinner
added a commit
that referenced
this issue
Sep 30, 2023
…10149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 30, 2023
…() (pythonGH-110149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap. (cherry picked from commit 0def8c7) Co-authored-by: Victor Stinner <[email protected]>
vstinner
added a commit
that referenced
this issue
Sep 30, 2023
…x() (GH-110149) (#110153) gh-109748: Fix again venv test_zippath_from_non_installed_posix() (GH-110149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap. (cherry picked from commit 0def8c7) Co-authored-by: Victor Stinner <[email protected]>
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 4, 2023
…() (python#110149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap. (cherry picked from commit 0def8c7)
vstinner
added a commit
that referenced
this issue
Oct 4, 2023
…#110340) * gh-109615: Fix support test_copy_python_src_ignore() (#109958) Fix the test when run on an installed Python: use "abs_srcdir" of sysconfig, and skip the test if the Python source code cannot be found. * Tools/patchcheck/patchcheck.py, Tools/freeze/test/freeze.py and Lib/test/libregrtest/utils.py now first try to get "abs_srcdir" from sysconfig, before getting "srcdir" from sysconfig. * test.pythoninfo logs sysconfig "abs_srcdir". (cherry picked from commit b89ed9d) * gh-109615: Fix support test_copy_python_src_ignore() on WASM (#109970) Not only check if src_dir exists, but look also for Lib/os.py landmark. (cherry picked from commit cc54bcf) * gh-109615: Look for 'Modules' as landmark for test_copy_python_src_ignore (GH-110108) (cherry picked from commit 20bc5f7) * gh-109748: Fix again venv test_zippath_from_non_installed_posix() (#110149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap. (cherry picked from commit 0def8c7) --------- Co-authored-by: Steve Dower <[email protected]>
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…thon#109872) Fix test_zippath_from_non_installed_posix() of test_venv: don't copy __pycache__/ sub-directories, because they can be modified by other Python tests running in parallel.
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…() (python#110149) Call also copy_python_src_ignore() on listdir() names. shutil.copytree(): replace set() with an empty tuple. An empty tuple becomes a constant in the compiler and checking if an item is in an empty tuple is cheap.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cp874.cpython-313.pyc.281473310212544
looks like a temporary PYC filename used by importlib to create PYC files in atomic way.The problem seems to be that tests are run in parallel and that files can appear or disappear while test_venv is running (since other tests are running at the same time).
I'm not sure why test_zippath_from_non_installed_posix() wants to eagerly copies
__pycache__/
directories. Is it important to copy PYC files for a "zipapp"?aarch64 RHEL8 Refleaks 3.x:
build: https://buildbot.python.org/all/#/builders/551/builds/865
By the way,
Could not find platform dependent libraries <exec_prefix>
message is surprising.Linked PRs
The text was updated successfully, but these errors were encountered: