Skip to content

Conversation

@branchv
Copy link

@branchv branchv commented Nov 27, 2023

broken on modern setuptools:

$ pip3 install --no-binary=:all: shyaml
...
× Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [33 lines of output]
      Traceback (most recent call last):
      ...
        File "/private/var/folders/1r/p5nhsx151fd7j63p9r1zz4kw0000gn/T/pip-build-env-xrqb__gx/normal/lib/python3.11/site-packages/d2to1/core.py", line 30, in d2to1
          from setuptools.dist import _get_unpatched
      ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/private/var/folders/1r/p5nhsx151fd7j63p9r1zz4kw0000gn/T/pip-build-env-xrqb__gx/overlay/lib/python3.11/site-packages/setuptools/dist.py)
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

broken on modern setuptools:

```console
$ pip3 install --no-binary=:all: shyaml
...
× Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [33 lines of output]
      Traceback (most recent call last):
      ...
        File "/private/var/folders/1r/p5nhsx151fd7j63p9r1zz4kw0000gn/T/pip-build-env-xrqb__gx/normal/lib/python3.11/site-packages/d2to1/core.py", line 30, in d2to1
          from setuptools.dist import _get_unpatched
      ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/private/var/folders/1r/p5nhsx151fd7j63p9r1zz4kw0000gn/T/pip-build-env-xrqb__gx/overlay/lib/python3.11/site-packages/setuptools/dist.py)
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants