Skip to content

Dist publishing guide should mention versioning restrictions #578

@webknjaz

Description

@webknjaz

It has a few paragraphs about local version identifiers https://packaging.python.org/guides/distributing-packages-using-setuptools/#local-version-identifiers where it has this not intended for publication phrase but doesn't clearly state that public indexes usually forbid local identifiers.

And uploading your project to PyPI section doesn't mention this: https://packaging.python.org/guides/distributing-packages-using-setuptools/#uploading-your-project-to-pypi
(It should probably advise using/integrating twine check before uploading dists)

P.S. Today I also suggested that twine check warns about this as well: pypa/twine#430

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions