[issue33697] AppVeyor:

STINNER Victor report at bugs.python.org
Wed May 30 10:30:59 EDT 2018


New submission from STINNER Victor <vstinner at redhat.com>:

On my PR 7244, test_zipfile.test_write_filtered_python_package() failed on AppVeyor.

https://ci.appveyor.com/project/python/cpython/build/3.6build16559/job/3lqiymop38oorsn0

======================================================================
ERROR: test_write_filtered_python_package (test.test_zipfile.PyZipFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\cpython\lib\test\test_zipfile.py", line 851, in test_write_filtered_python_package
    zipfp.writepy(packagedir)
  File "C:\projects\cpython\lib\zipfile.py", line 1849, in writepy
    filterfunc=filterfunc)  # Recursive call
  File "C:\projects\cpython\lib\zipfile.py", line 1849, in writepy
    filterfunc=filterfunc)  # Recursive call
  File "C:\projects\cpython\lib\zipfile.py", line 1856, in writepy
    basename)
  File "C:\projects\cpython\lib\zipfile.py", line 1935, in _get_codename
    if _compile(file_py):
  File "C:\projects\cpython\lib\zipfile.py", line 1898, in _compile
    py_compile.compile(file, doraise=True, optimize=optimize)
  File "C:\projects\cpython\lib\py_compile.py", line 143, in compile
    importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
  File "<frozen importlib._bootstrap_external>", line 119, in _write_atomic
PermissionError: [WinError 5] Access is denied: 'C:\\projects\\cpython\\lib\\test\\test_importlib\\source\\__pycache__\\test_path_hook.cpython-36.pyc.44848936' -> 'C:\\projects\\cpython\\lib\\test\\test_importlib\\source\\__pycache__\\test_path_hook.cpython-36.pyc'

----------
components: Tests, Windows
messages: 318188
nosy: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
priority: normal
severity: normal
status: open
title: AppVeyor:
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33697>
_______________________________________


More information about the Python-bugs-list mailing list