`external` Python code gets input to --cache-map, create "Argument list too long" error
thundergolfer opened this issue · 3 comments
thundergolfer commented
Description
Had this show up when I tried to integrate this tool with the work monorepo. The --cache-map
list is enormous, starting with:
--cache-map 'production/backend/deploy/buildkite/deploy_service_pipeline.py'
'production/backend/deploy/buildkite/deploy_service_pipeline.py.meta.json'
'production/backend/deploy/buildkite/deploy_service_pipeline.py.data.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/__init__.py'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/__init__.py.meta.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/__init__.py.data.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_compat.py'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_compat.py.meta.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_compat.py.data.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_constants.py'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_constants.py.meta.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_constants.py.data.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_native.py'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_native.py.meta.json'
'external/canva_pip_deploy/pypi__markupsafe/markupsafe/_native.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/__init__.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/__init__.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/__init__.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_compat.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_compat.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_compat.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_identifier.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_identifier.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/_identifier.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncfilters.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncfilters.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncfilters.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncsupport.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncsupport.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/asyncsupport.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/bccache.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/bccache.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/bccache.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/compiler.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/compiler.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/compiler.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/constants.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/constants.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/constants.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/debug.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/debug.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/debug.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/defaults.py'
'external/canva_pip_deploy/pypi__jinja2/jinja2/defaults.py.meta.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/defaults.py.data.json'
'external/canva_pip_deploy/pypi__jinja2/jinja2/environment.py' 'external/canva
I think I didn't discover this because I don't have an example in this project that uses an external Python package.
thundergolfer commented
thundergolfer commented
Not actually fixed. For some reason it's failing at work.
thundergolfer commented