Skip to content

back to SWE-Agent summary

SWE-Agent: virtualenv

Failed to run pytests for test tests

ImportError while loading conftest '/testbed/tests/conftest.py'.
tests/conftest.py:14: in <module>
    from virtualenv.app_data import AppDataDiskFolder
src/virtualenv/__init__.py:3: in <module>
    from .run import cli_run, session_via_cli
src/virtualenv/run/__init__.py:7: in <module>
    from virtualenv.app_data import make_app_data
src/virtualenv/app_data/__init__.py:11: in <module>
    from .read_only import ReadOnlyAppData
src/virtualenv/app_data/read_only.py:4: in <module>
    from .via_disk_folder import AppDataDiskFolder, PyInfoStoreDisk
src/virtualenv/app_data/via_disk_folder.py:31: in <module>
    from virtualenv.util.path import safe_delete
src/virtualenv/util/path/__init__.py:3: in <module>
    from ._permission import make_exe, set_tree
E   ImportError: cannot import name 'make_exe' from 'virtualenv.util.path._permission' (/testbed/src/virtualenv/util/path/_permission.py)

Patch diff