fix(env): ensure whl installer uses writable path #1260
Annotations
10 errors
Run poetry run pytest --integration -v:
tests\utils\env\test_env_manager.py#L566
test_get_venv_with_venv_folder_present[None]
poetry.utils.env.exceptions.EnvCommandError: Command ['python', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env_manager.py#L938
test_create_venv_finds_no_python_executable
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L338
test_env_no_pip[flags0-packages0]
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_env_no_pip_flags0_package0\\venv\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L338
test_env_no_pip[flags2-packages2]
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_env_no_pip_flags2_package0\\venv\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env_manager.py#L614
test_list
poetry.utils.env.exceptions.EnvCommandError: Command ['python', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L510
test_command_from_bin_preserves_relative_path
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L96
test_env_get_supported_tags_matches_inside_virtualenv
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_env_get_supported_tags_ma0\\Virtual Env\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L386
test_env_finds_the_correct_executables_for_generic_env
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_env_finds_the_correct_exe0\\Virtual Env\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L274
test_env_system_packages[True]
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_env_system_packages_True_0\\venv\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Run poetry run pytest --integration -v:
tests\utils\env\test_env.py#L76
test_virtualenvs_with_spaces_in_their_path_work_as_expected
poetry.utils.env.exceptions.EnvCommandError: Command ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw0\\test_virtualenvs_with_spaces_i0\\Virtual Env\\Scripts\\python.exe', '-E', '-P', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n print(sys.base_prefix)\nelse:\n print(sys.prefix)\n'] errored with the following return code 2
Error output:
Unknown option: -P
usage: C:\hostedtoolcache\windows\Python\3.10.11\x64\python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
|
Loading