-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
-
Poetry version:
1.7.1 -
Python version:
3.9.18 -
OS version and name:
macOS 14.2.1 (23C71) -
pyproject.toml: none, see repro steps below
-
I am on the latest stable Poetry version, installed using a recommended method.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
I have consulted the FAQ and blog for any relevant entries or release notes.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
Poetry doesn't handle underscores in package names really well. Two examples are:
poetry new test_package- prints
Created package test_package in test_package - but
cat test_package/pyproject.tomlactually printsname = "test-package"
- prints
poetry versionstill printstest-package, even if you manually changepyproject.tomltoname = "test_package"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected