Title: Support PEP 440 versioning · Issue #455 · python-semantic-release/python-semantic-release · GitHub
Open Graph Title: Support PEP 440 versioning · Issue #455 · python-semantic-release/python-semantic-release
X Title: Support PEP 440 versioning · Issue #455 · python-semantic-release/python-semantic-release
Description: Description It would be useful to support PEP 440 versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers). Use cases Poetry enforces PEP 440. pip, pypi and setuptools all will o...
Open Graph Description: Description It would be useful to support PEP 440 versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers). Use cases Poetry enforces PEP ...
X Description: Description It would be useful to support PEP 440 versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers). Use cases Poetry enforces PEP ...
Opengraph URL: https://github.com/python-semantic-release/python-semantic-release/issues/455
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support PEP 440 versioning","articleBody":"## Description\r\n\r\nIt would be useful to support [PEP 440](https://peps.python.org/pep-0440/) versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers).\r\n\r\n## Use cases\r\n\r\nPoetry enforces PEP 440. `pip`, `pypi` and `setuptools` all will or currently do support it, and may also require it. Since this package is intended for python specifically, it would make sense to support versioning that adheres to the accepted format.\r\n\r\n## Possible implementation\r\n\r\nCurrently, there is a `--prerelease` option. In PEP 440, you can also have post releases, dev releases, and local versions. It would be nice / required to have those options as kwarg flags as well (like `--postrelease`, `--dev`, `--local`).\r\n\r\nIn terms of `prerelease`, the `prerelease_tag` would have to go from accepting any input to accepting only those valid in the spec (`alpha`, `beta`, `pre`, `preview`, `a`, `b`, `c`, and `rc`).\r\n\r\nPEP 440 also provides [regular expressions](https://peps.python.org/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions) that can be used to check and extract existing version identifiers, which could be useful in automatically determining the next version of a valid release. \r\n","author":{"url":"https://github.com/thearchitector","@type":"Person","name":"thearchitector"},"datePublished":"2022-06-09T16:04:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/455/python-semantic-release/issues/455"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fc585903-2ef1-749c-1224-221aa74b595c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BB0:2543B0:B6A9AF:EDBF74:6991F4C7 |
| html-safe-nonce | 8c1419fbf2652cd1ce6436a9f8e99a589f2a79a13b7bf25f4f9421a9247d5182 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkIwOjI1NDNCMDpCNkE5QUY6RURCRjc0OjY5OTFGNEM3IiwidmlzaXRvcl9pZCI6IjY5NzE1NDczODI4NDk4NjA4MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 16e214a3139e313768bf03021b007ff7be0cd68bd2e77f4c533203cb486a555d |
| hovercard-subject-tag | issue:1266362239 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-semantic-release/python-semantic-release/455/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16d56fd8aa7b3e876b188ad3c30050f3d60d28621b2ef2482f65a56f28e909bc/python-semantic-release/python-semantic-release/issues/455 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16d56fd8aa7b3e876b188ad3c30050f3d60d28621b2ef2482f65a56f28e909bc/python-semantic-release/python-semantic-release/issues/455 |
| og:image:alt | Description It would be useful to support PEP 440 versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers). Use cases Poetry enforces PEP ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thearchitector |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semantic-release/python-semantic-release git https://github.com/python-semantic-release/python-semantic-release.git |
| octolytics-dimension-user_id | 116517554 |
| octolytics-dimension-user_login | python-semantic-release |
| octolytics-dimension-repository_id | 39765732 |
| octolytics-dimension-repository_nwo | python-semantic-release/python-semantic-release |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 39765732 |
| octolytics-dimension-repository_network_root_nwo | python-semantic-release/python-semantic-release |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width