Skip to content

Leading newline in description causes silent failures #790

@meejah

Description

@meejah

If you have a leading \n character in the description, then installing the resulting built wheel "succeeds" but doesn't completely install things.

One way to see this is to set at least one dependency -- installing the wheel says it was successful, but the dependencies are not installed.

I didn't track down precisely what is going on beyond this. I don't know if the correct behavior should be an error or to (always) strip leading newlines.

My pyproject.toml file came from running hatch new --init in an existing project.

(This might not really be a hatch problem, but I only saw it when using the hatchling.build build-system).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions