Skip to content

bdist_wheel.dist_info_dir seems to have broken building some projects (e.g. pyyaml). #4683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abravalheri opened this issue Oct 15, 2024 · 0 comments · Fixed by #4684
Closed

Comments

@abravalheri
Copy link
Contributor

          This seems to have broken building some projects.  https://github.com/yaml/pyyaml I am seeing failures like:
Processing /home/tcaswell/source/p/yaml/pyyaml
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: PyYAML
  Building wheel for PyYAML (pyproject.toml): started
  Building wheel for PyYAML (pyproject.toml): finished with status 'error'
Failed to build PyYAML

  error: subprocess-exited-with-error

  × Building wheel for PyYAML (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      usage: _in_process.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
         or: _in_process.py --help [cmd1 cmd2 ...]
         or: _in_process.py --help-commands
         or: _in_process.py cmd --help

      error: option --dist-info-dir not recognized
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for PyYAML
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyYAML)

with the main branch of setuptools, but going back to the commit before this was merged (3106af0 which is v75.1.0) works again.

I have not had time to debug this further and it is not all packages nor do I know if this is the only one.

Originally posted by @tacaswell in #4647 (comment)

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 a pull request may close this issue.

1 participant