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

maturin new creates name key twice in Cargo.toml #1124

Closed
2 tasks
Hofer-Julian opened this issue Sep 23, 2022 · 1 comment
Closed
2 tasks

maturin new creates name key twice in Cargo.toml #1124

Hofer-Julian opened this issue Sep 23, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Hofer-Julian
Copy link

Bug Description

When maturin new creates name key twice in Cargo.toml

Your Python version (python -V)

Python 3.10.6

Your pip version (pip -V)

pip 22.2.2

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

  1. Run maturin new -b pyo3 test
  2. It creates a project with the following Cargo.toml
[package]
name = "test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[lib]
name = "test"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.17.1", features = ["extension-module"] }
@Hofer-Julian Hofer-Julian added the bug Something isn't working label Sep 23, 2022
@messense
Copy link
Member

Duplicate of #1120

@messense messense marked this as a duplicate of #1120 Sep 23, 2022
@messense messense added the duplicate This issue or pull request already exists label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants