Skip to content

cargo package --list includes Cargo.toml.orig since #7905, which isn't an existing file #7938

@konstin

Description

@konstin

maturin uses cargo package --list to create source distributions for python packages with rust backend that can e.g. be uploaded to pypi. #7905 includes Cargo.toml.orig in the output cargo package --list, even though that file doesn't exist on the local file system, thereby breaking maturin (PyO3/maturin#271).

Possible Solution(s)

Don't include cargo package --list in the output of cargo package --list. (At least not by default, this could e.g. be hidden behind a flag)

Notes

Output of cargo version: cargo 1.43.0-nightly (e57bd02 2020-02-21)

CC @ehuss

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions