- OS version and name: Windows 11
- Poetry version: 1.2.0b1
- pyproject.toml (just change the
version to 1.11.1.dev1)
Issue
On 1.1.13, when the project version contains .devN, the build artifacts correctly contain a dot before dev:
$ grep -m 1 'version =' pyproject.toml
version = "1.11.1.dev1"
$ pip list | grep poetry
poetry 1.1.13
poetry-core 1.0.8
$ poetry version --short
1.11.1.dev1
$ poetry build
Building dunamai (1.11.1.dev1)
- Building sdist
- Built dunamai-1.11.1.dev1.tar.gz
- Building wheel
- Built dunamai-1.11.1.dev1-py3-none-any.whl
However, on 1.2.0b1, the dot is omitted, which violates PEP 440:
$ pip list | grep poetry
poetry 1.2.0b1
poetry-core 1.1.0a7
$ poetry version --short
1.11.1.dev1
$ poetry build
Building dunamai (1.11.1.dev1)
- Building sdist
- Built dunamai-1.11.1dev1.tar.gz
- Building wheel
- Built dunamai-1.11.1dev1-py3-none-any.whl
-vvvoption).versionto1.11.1.dev1)Issue
On 1.1.13, when the project version contains
.devN, the build artifacts correctly contain a dot beforedev:However, on 1.2.0b1, the dot is omitted, which violates PEP 440: