Error when bumping protobuf from 3.20.1 to 3.20.2 - setuptools

41 views
Skip to first unread message

Glen

unread,
Sep 29, 2022, 5:52:42 PMSep 29
to Protocol Buffers
Hi,

Why does this change come with a dependency on setuptools as seen in the commit?
[[package]]
name = "setuptools"
version = "65.3.0"
description = "Easily download, build, install, upgrade, and uninstall Python packages"
category = "main"
optional = false
python-versions = ">=3.7"

Then, setuptools is removed...
Installing dependencies from lock file
Package operations: 41 installs, 7 updates, 1 removal
  • Removing setuptools (65.3.0)

I get this error when running my dependabot created PR for the protobuf 3.20.2 change:
EnvCommandError

  Command ['/usr/local/bin/python3', '-m', 'pip', 'install', '--no-deps', 
<redacted>
 Preparing metadata (setup.py): finished with status 'error'
    error: subprocess-exited-with-error
   
    × python setup.py egg_info did not run successfully.
    │ exit code: 1
    ╰─> [1 lines of output]
        ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
        [end of output]
   
    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: metadata-generation-failed
 
  × Encountered error while generating package metadata.
  ╰─> See above for output.
Reply all
Reply to author
Forward
0 new messages