<#18706 Can't use new version of docformatter.> Is...
# github-notifications
c
#18706 Can't use new version of docformatter. Issue created by asherf Describe the bug Noticed that in an internal repo but this also happens on the pants repo itself. #18705 Pants version latest main branch OS This only repos on macos, seems to work fine on linux (ubuntu)
Copy code
pants lint --only=docformatter src/python/pants/option/::
10:37:44.09 [INFO] Initializing scheduler...
10:37:50.73 [INFO] Scheduler initialized.
10:37:53.35 [ERROR] 1 Exception encountered:

Engine traceback:
  in select
    ..
  in pants.core.goals.lint.lint
    `lint` goal

Traceback (most recent call last):
  File "/Users/asher/projects/pants/src/python/pants/engine/internals/selectors.py", line 626, in native_engine_generator_send
    res = rule.send(arg) if err is None else rule.throw(throw or err)
  File "/Users/asher/projects/pants/src/python/pants/core/goals/lint.py", line 470, in lint
    all_batch_results = await MultiGet(
  File "/Users/asher/projects/pants/src/python/pants/engine/internals/selectors.py", line 361, in MultiGet
    return await _MultiGet(tuple(__arg0))
  File "/Users/asher/projects/pants/src/python/pants/engine/internals/selectors.py", line 168, in __await__
    result = yield self.gets
  File "/Users/asher/projects/pants/src/python/pants/engine/internals/selectors.py", line 626, in native_engine_generator_send
    res = rule.send(arg) if err is None else rule.throw(throw or err)
  File "/Users/asher/projects/pants/src/python/pants/backend/python/lint/docformatter/rules.py", line 42, in docformatter_fmt
    result = await Get(
  File "/Users/asher/projects/pants/src/python/pants/engine/internals/selectors.py", line 118, in __await__
    result = yield self
pants.engine.process.ProcessExecutionFailure: Process 'Run Docformatter on 29 files.' failed with exit code 3.
stdout:

stderr:



Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
https://app.toolchain.com/organizations/pantsbuild/repos/pants/builds/pants_run_2023_04_10_10_44_00_268_d1675374c4614e38932846f365ec2ee0/type/run/?subTab=logs pantsbuild/pants