Error when bumping protobuf from 3.20.1 to 3.20.2 - setuptools

Skip to first unread message


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

Why does this change come with a dependency on setuptools as seen in the commit?
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:

  Command ['/usr/local/bin/python3', '-m', 'pip', 'install', '--no-deps', 
 Preparing metadata ( finished with status 'error'
    error: subprocess-exited-with-error
    × python egg_info did not run successfully.
    │ exit code: 1
    ╰─> [1 lines of output]
        ERROR: Can not execute `` 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
0 new messages