Skip to content
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

pyproject.toml: name, version not recognized (UNKNOWN 0.0.0) #11047

Closed
1 task done
nschloe opened this issue Apr 19, 2022 · 3 comments
Closed
1 task done

pyproject.toml: name, version not recognized (UNKNOWN 0.0.0) #11047

nschloe opened this issue Apr 19, 2022 · 3 comments
Labels
resolution: wrong project Should be reported elsewhere

Comments

@nschloe
Copy link

nschloe commented Apr 19, 2022

Description

When using setuptools (>= 61) with the new PEP-621-style pyproject.toml, pip doesn't recognize project metadata correctly. It takes the project name as UNKNOWN and version as 0.0.0.

I've created an MWE here: https://github.com/nschloe/setuptools-UNKNOWN-bug.

Expected behavior

No response

pip version

22.0.4

Python version

3.10.4

OS

Ubuntu 22.04

How to Reproduce

See above.

Output

No response

Code of Conduct

@nschloe nschloe added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Apr 19, 2022
@uranusjr
Copy link
Member

This should be reported to https://github.com/pypa/setuptools instead.

@uranusjr uranusjr added resolution: wrong project Should be reported elsewhere and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Apr 19, 2022
@nschloe
Copy link
Author

nschloe commented Apr 19, 2022

pypa/setuptools#3269

@nschloe nschloe closed this as completed Apr 19, 2022
@nschloe
Copy link
Author

nschloe commented Apr 20, 2022

I thought this might be pip-related because the issue does not occur when "manually" building the package, i.e.,

python3 -m build --wheel

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: wrong project Should be reported elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants