question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for PyPI pre-releasing semver format.

See original GitHub issue

I know PyPI preleases semver isn’t a valid v2.0, but it would be great if we have a method that converts it to a valid semver and validating it as a valid semver!

Example of PyPI prelease semver:

0.0.1a3

Which means:

0.0.1-alpha.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
tomschrcommented, Feb 11, 2022

Just as an addendum: I’ve created a section in the documentation to convert from PyPI versions to semver (and vice versa). Find more information at https://python-semver.readthedocs.io/en/latest/advanced/convert-pypi-to-semver.html

1reaction
tomschrcommented, May 4, 2022

Seems this is already implemented so I close it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

*explicitly* mark the package as pre-release for semantic ...
I want to preserve versions numbering as 0.1, 0.2 to pre-releases according to semver.org point 4. I want to release these versions to...
Read more >
semver · PyPI
A Python module for semantic versioning. Simplifies comparing versions. Build status Python versions Monthly downloads from PyPI Software license ...
Read more >
PEP 440 – Version Identification and Dependency Specification
This PEP describes a scheme for identifying versions of Python software ... beta, release candidate” pre-release cycle to support testing by their users ......
Read more >
7. Releasing and versioning - Python Packages
Versioning is the process of adding unique identifiers to different versions of your package. The unique identifier you use may be name-based or...
Read more >
Semantic Versioning 2.0.0 | Semantic Versioning
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. Introduction. In the world of software ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found