Executing tests from //:requirements_test ----------------------------------------------------------------------------- C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__setuptools\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") error: subprocess-exited-with-error Getting requirements to build wheel did not run successfully. exit code: 1 [58 lines of output] sys.path before loading the backend is ================================================================================ C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_in_process C:\temp\pip-build-env-gejvde8f\site C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\python39.zip C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\DLLs C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages C:\temp\pip-build-env-gejvde8f\normal\Lib\site-packages ================================================================================ backend is: hook is: > config_settings are: None sys.path has become ================================================================================ C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_in_process C:\temp\pip-build-env-gejvde8f\site C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\python39.zip C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\DLLs C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages C:\temp\pip-build-env-gejvde8f\normal\Lib\site-packages ================================================================================ Traceback (most recent call last): File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 366, in main() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 348, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 131, in get_requires_for_build_wheel return hook(config_settings) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires self.run_setup() File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 23, in File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\__init__.py", line 106, in setup _install_setup_requires(attrs) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\__init__.py", line 77, in _install_setup_requires dist.parse_config_files(ignore_option_errors=True) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\dist.py", line 893, in parse_config_files self._parse_config_files(filenames=inifiles) File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\dist.py", line 723, in _parse_config_files filenames = self.find_config_files() File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 338, in find_config_files files = [str(path) for path in self._gen_paths() if os.path.isfile(path)] File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 338, in files = [str(path) for path in self._gen_paths() if os.path.isfile(path)] File "C:\temp\pip-build-env-gejvde8f\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 354, in _gen_paths yield pathlib.Path('~').expanduser() / filename File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib\pathlib.py", line 1572, in expanduser homedir = self._flavour.gethomedir(self._parts[0][1:]) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib\pathlib.py", line 276, in gethomedir raise RuntimeError("Can't determine home directory") RuntimeError: Can't determine home directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. sys.path is as follows: ================================================================================ C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\rules_python\python\pip_install\tools\dependency_resolver C:\temp\Bazel.runfiles_n6t3rqoq\runfiles C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__build C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__colorama C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__importlib_metadata C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__more_itertools C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pep517 C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip_tools C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pyproject_hooks C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__setuptools C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__tomli C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__zipp C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\rules_python C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\rules_python_pip_install_example C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\python39.zip C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\DLLs C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\python39_x86_64-pc-windows-msvc\lib\site-packages ================================================================================ ['C:\\temp\\Bazel.runfiles_n6t3rqoq\\runfiles\\rules_python\\python\\pip_install\\tools\\dependency_resolver\\dependency_resolver.py', '--resolver=backtracking', '--allow-unsafe', '--generate-hashes', '--cache-dir', 'C:/b/kutpcq5o/execroot/rules_python_pip_install_example/_tmp/5e54e2281a133a13cbc19f5d69314ecb', '--output-file', 'C:/b/kutpcq5o/execroot/rules_python_pip_install_example/_tmp/5e54e2281a133a13cbc19f5d69314ecb\\requirements_windows.txt.out', 'requirements.in'] Checking rules_python_pip_install_example/requirements_windows.txt Source directory that we are invoking the build_backend for is: C:\temp\pip-resolve-964rb2i2\yamllint_6de267ed52cb429b9c6ee5708803c8ed Traceback (most recent call last): File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\rules_python\python\pip_install\tools\dependency_resolver\dependency_resolver.py", line 201, in cli() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click\click\core.py", line 1078, in main rv = self.invoke(ctx) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click\click\core.py", line 783, in invoke return __callback(*args, **kwargs) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__click\click\decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip_tools\piptools\scripts\compile.py", line 659, in cli results = resolver.resolve(max_rounds=max_rounds) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip_tools\piptools\resolver.py", line 604, in resolve is_resolved = self._do_resolve( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip_tools\piptools\resolver.py", line 636, in _do_resolve resolver.resolve( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve result = self._result = resolver.resolve( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\resolvelib\resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\resolvelib\structs.py", line 156, in __bool__ return bool(self._sequence) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__ return any(self) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in return (c for c in iterator if id(c) not in self._incompatible_ids) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built candidate = func() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\candidates.py", line 293, in __init__ super().__init__( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\candidates.py", line 156, in __init__ self.dist = self._prepare() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\candidates.py", line 225, in _prepare dist = self._prepare_distribution() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\operations\prepare.py", line 538, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\operations\prepare.py", line 653, in _prepare_linked_requirement dist = _get_prepared_distribution( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\operations\prepare.py", line 69, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\distributions\sdist.py", line 48, in prepare_distribution_metadata self._install_build_reqs(finder) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\distributions\sdist.py", line 118, in _install_build_reqs build_reqs = self._get_build_requires_wheel() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\distributions\sdist.py", line 95, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\utils\misc.py", line 697, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_impl.py", line 168, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_vendor\pyproject_hooks\_impl.py", line 314, in _call_hook self._subprocess_runner( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\utils\subprocess.py", line 252, in runner call_subprocess( File "C:\temp\Bazel.runfiles_n6t3rqoq\runfiles\pypi__pip\pip\_internal\utils\subprocess.py", line 224, in call_subprocess raise error pip._internal.exceptions.InstallationSubprocessError: Getting requirements to build wheel exited with 1