-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
When I try to install a library using pyproject.toml in editable mode:
pip install -e .
I get this error:
[…]
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
/private/var/folders/47/m_w7xs510pn0v97qjffgh_fm0000gn/T/pip-build-env-8taqdg7m/overlay/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
warnings.warn(msg, _BetaConfiguration)
configuration error: `project.version` must be pep440
DESCRIPTION:
The version of the project as supported by :pep:`440`.
GIVEN VALUE:
"0.0.0-auto.0"
OFFENDING RULE: 'format'
DEFINITION:
{
"type": "string",
"format": "pep440"
}
[…]
So it demands a pep440 formatted version string, which 0.0.0-auto.0
is not.
On the other hand 0.0.0+auto.0
is, and there are other alternatives we could use. Unless there is a way to relax the format rule without breaking pip, the build tools could be made to accept both formats and the libraries could be updated afterwards.
Are there other places where 0.0.0-auto.0
is expected ?
Installing in editable mode is a useful tool for working on a library in blinka, it would be nice if it was supported.
Metadata
Metadata
Assignees
Labels
No labels