<#19451 failed to generate lockfiles for pylint wh...
# github-notifications
c
#19451 failed to generate lockfiles for pylint when set Python to 3.7.* Issue created by da-tubi Describe the bug failed to generate lockfiles for pylint when set Python to 3.7.* Here is the repo to reproduce the bug: https://github.com/da-tubi/pants-minimal/tree/da/debug it works fine to pip install pylint in a Python 3.7.* virtual env Pants version 2.16.0 OS Ubuntu 22.04 Additional info Similar bug: #18510 ``` pants -ldebug generate-lockfiles --resolve=tools 180427.08 [DEBUG] acquiring lock: <pants.pantsd.lock.OwnerPrintingInterProcessFileLock object at 0x7fb1d8fd3880> 180427.08 [DEBUG] purging metadata directory: /home/da/github/da-tubi/pants-minimal/.pids/04a2c79aca95/pantsd 180427.08 [DEBUG] Launching pantsd 180427.08 [DEBUG] purging metadata directory: /home/da/github/da-tubi/pants-minimal/.pids/04a2c79aca95/pantsd 180427.08 [DEBUG] pantsd command is: PANTS_DAEMON_ENTRYPOINT=pants.pantsd.pants_daemon:launch_new_pantsd_instance PYTHONPATH=/home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin/home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython 3.9.15+20221106 x86 64 unknown linux gnu install only.tar.gz/python/lib/python39.zip/home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython 3.9.15+20221106 x86 64 unknown linux gnu install only.tar.gz/python/lib/python3.9/lib dynload/home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/lib/python3.9/site-packages /home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin/python /home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin/pants --python-repos-find-links=-['file:///home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/find_links/2.16.0/016d98d7/index.html'] -ldebug generate-lockfiles --resolve=tools 180432.09 [INFO] waiting for pantsd to start... 180433.80 [INFO] pantsd started 180433.80 [DEBUG] pantsd is running at pid 26724, pailgun port is 34267 180433.80 [DEBUG] releasing lock: <pants.pantsd.lock.OwnerPrintingInterProcessFileLock object at 0x7fb1d8fd3880> 180433.80 [DEBUG] Connecting to pantsd on port 34267 180433.80 [DEBUG] Connecting to pantsd on port 34267 attempt 1/3 180433.80 [DEBUG] Connected to pantsd 180433.81 [DEBUG] Launching 1 roots (poll=false). 180433.83 [DEBUG] computed 1 nodes in 0.020694 seconds. there are 9 total nodes. 180433.83 [DEBUG] Launching 1 roots (poll=false). 180433.83 [DEBUG] computed 1 nodes in 0.000394 seconds. there are 13 total nodes. 180433.89 [INFO] Initializing scheduler... 180433.90 [DEBUG] File handle limit is: 1048576 180433.92 [DEBUG] Using [cache::CommandRunner { inner: bounded::CommandRunner { inner: SwitchedCommandRunner { .. }, .. }, .. }, cache::CommandRunner { inner: bounded::CommandRunner { inner: SwitchedCommandRunner { .. }, .. }, .. }] for process execution. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python39.zip, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/cdc3a4cfddcd63b6cebdd75b14970e02d8ef0ac5be4d350e57ab5df56c19e85e/cpython-3.9.15+20221106-x86_64-unknown-linux-gnu-install_only.tar.gz/python/lib/python3.9/lib-dynload, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] Changes to /home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/lib/python3.9/site-packages, outside of the buildroot, will not be invalidated. 180439.46 [DEBUG] setting up service <pants.pantsd.service.scheduler_service.SchedulerService object at 0x7fa0375700a0> 180439.46 [DEBUG] setting up service <pants.pantsd.service.store_gc_service.StoreGCService object at 0x7fa037527310> 180439.46 [DEBUG] starting service <pants.pantsd.service.scheduler_service.SchedulerService object at 0x7fa0375700a0> 180439.46 [DEBUG] starting service <pants.pantsd.service.store_gc_service.StoreGCService object at 0x7fa037527310> 180439.46 [INFO] Scheduler initialized. 180439.46 [DEBUG] Launching 1 roots (poll=false). 180439.46 [DEBUG] computed 1 nodes in 0.000290 seconds. there are 13 total nodes. 180439.46 [DEBUG] Launching 1 roots (poll=false). 180439.46 [DEBUG] computed 1 nodes in 0.000055 seconds. there are 13 total nodes. 180439.50 [DEBUG] specs are: Specs(includes=RawSpecs(description_of_origin='CLI arguments', address_literals=(), file_literals=(), file_globs=(), dir_literals=(), dir_globs=(), recursive_globs=(), ancestor_globs=(), unmatched_glob_behavior=<GlobMatchErrorBehavior.error: 'error'>, filter_by_global_options=True, from_change_detection=False), ignores=RawSpecs(description_of_origin='CLI arguments', address_literals=(), file_literals=(), file_globs=(), dir_literals=(), dir_globs=(), recursive_globs=(), ancestor_globs=(), unmatched_glob_behavior=<GlobMatchErrorBehavior.error: 'error'>, filter_by_global_options=False, from_change_detection=False)) 180439.50 [DEBUG] changed_options are: ChangedOptions(since=None, diffspec=None, dependents=<DependentsOption.NONE: 'none'>) 180439.50 [DEBUG] Launching 1 roots (poll=false). 180439.52 [DEBUG] computed 1 nodes in 0.017422 seconds. there are 14 total nodes. 180439.52 [DEBUG] Launching 1 roots (poll=false). 180439.52 [WARN] Please either set
enabled = true
in the [anonymous-telemetry] section of pants.toml to enable sending anonymous stats to the Pants project to aid development, or set
enabled = false
to disable it. No telemetry sent for this run. An explicit setting will get rid of this message. See https://www.pantsbuild.org/v2.16/docs/anonymous-telemetry for details. 180439.52 [DEBUG] computed 1 nodes in 0.000959 seconds. there are 22 total nodes. 180439.52 [DEBUG] Launching 1 roots (poll=false). 180439.52 [DEBUG] computed 1 nodes in 0.000137 seconds. there are 22 total nodes. 180439.52 [DEBUG] requesting <class 'pants.core.goals.generate_lockfiles.GenerateLockfilesGoal'> to satisfy execution of
generate-lockfiles
goal 180439.52 [DEBUG] Launching 1 roots (poll=false). 180439.54 [DEBUG] Completed: Find all targets in the project 180439.54 [DEBUG] Completed: Prepare environment for running PEXes 180439.54 [DEBUG] Completed: Extracting an archive file 180439.54 [DEBUG] Completed: pants.core.util_rules.external_tool.download_external_tool 180439.54 [DEBUG] Completed: acquire_command_runner_slot 180439.54 [DEBUG] Running Generate lockfile for tools under semaphore with concurrency id: 1, and concurrency: 1 180439.54 [DEBUG] Completed: setup_sandbox 180439.56 [DEBUG] spawned local process as Some(26752) for Process { argv: ["/home/da/.cache/nce/6621291ed4120fa45607b367abf7786ce496f389f27240712a63c31f1c438c21/bindings/venvs/2.16.0/bin/pyth… pantsbuild/pants