ERROR: Pip download failed, see /tmp/pip_find_builddeps.py-9x1_1g43/pip-download-output.txt for more info
Traceback (most recent call last):
File "/usr/local/bin/pip-compile", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/piptools/scripts/compile.py", line 471, in cli
hashes = resolver.resolve_hashes(results) if generate_hashes else None
File "/usr/local/lib/python3.9/site-packages/piptools/resolver.py", line 167, in resolve_hashes
with self.repository.allow_all_wheels(), log.indentation():
File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.9/site-packages/piptools/repositories/pypi.py", line 452, in allow_all_wheels
self.finder.find_all_candidates.cache_clear()
AttributeError: 'function' object has no attribute 'cache_clear'
make: *** [generate-requirements-build-txt] Error 1
I'm unable to generate the requirements-build.txt file as
pip_find_builddeps.pyfails during the generation process.Associated with: RedHatInsights/insights-host-inventory#2712