Title: Remove deprecated functions for semver 3.1.0 (or better semver 4?) · Issue #233 · python-semver/python-semver · GitHub
Open Graph Title: Remove deprecated functions for semver 3.1.0 (or better semver 4?) · Issue #233 · python-semver/python-semver
X Title: Remove deprecated functions for semver 3.1.0 (or better semver 4?) · Issue #233 · python-semver/python-semver
Description: Situation In issue #229, we decided to deprecate module level functions, but we haven't discussed the details for our upcoming semver 3 release. Proposal When semver 3 is released, remove the following module level functions: semver.comp...
Open Graph Description: Situation In issue #229, we decided to deprecate module level functions, but we haven't discussed the details for our upcoming semver 3 release. Proposal When semver 3 is released, remove the follo...
X Description: Situation In issue #229, we decided to deprecate module level functions, but we haven't discussed the details for our upcoming semver 3 release. Proposal When semver 3 is released, remove the f...
Opengraph URL: https://github.com/python-semver/python-semver/issues/233
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove deprecated functions for semver 3.1.0 (or better semver 4?)","articleBody":"# Situation\r\n\r\nIn issue #229, we decided to deprecate module level functions, but we haven't discussed the details for our upcoming semver 3 release.\r\n\r\n# Proposal\r\n\r\nWhen semver 3 is released, remove the following module level functions:\r\n\r\n* `semver.compare`(?) see #258 \r\n* `semver.parse`\r\n* `semver.parse_version_info`\r\n* `semver.format_version`\r\n* `semver.bump_{major,minor,patch,prerelease,build}`\r\n* `semver.finalize_version`\r\n* `semver.match`\r\n* `semver.max_ver`\r\n* `semver.min_ver`\r\n* `semver.replace`\r\n* `semver.VersionInfo._asdict`\r\n* `semver.VersionInfo._astuple`\r\n\r\n\r\n# Suggested Removal Plan\r\n\r\nAs our deprecation procedure is almost finishd, I would suggest a plan for the upcoming future:\r\n\r\n1. Release 2.10.0 to get DeprecationWarnings and the updated documentation. Done. :heavy_check_mark: \r\n1. Maybe release further versions in the 2.10.x line if necessary (for other issues) Done. :heavy_check_mark: \r\n1. Prepare semver 3 line soon and remove deprecated functions in the communicated version. :heavy_check_mark:\r\n\r\n# Questions\r\n\r\n@python-semver/reviewers I think we need to clarify some questions to lay down our removal plan:\r\n\r\n1. Should we start with the semver 3 release after 2.10.0 is published?\r\n\r\n IMHO, we should soon start with working on semver 3. Issues for semver 3 are piling up. I also think, focusing on *one* Python version (version 3 in this case) helps to make it easier to develop. That means, we can leave Python 2 behind.\r\n\r\n2. Would it be a good idea to keep the deprecated functions for 3.0.0, but remove them in, lets say, version 3.1.0?\r\n\r\n This makes the move a bit smoother as not all deprecated function will vanish all of a sudden when updating to 3.0.0. \r\n\r\n3. Anything else you would like to see it addressed?\r\n\r\nThank for your feedback. :+1: \r\n\r\n---\r\n\r\n**Update**: Due to #236, extended the list of deprecated functions with `semver.compare`(?), `semver.match`, `semver.max_ver`, and `semver.min_ver`. Also mention 2.10.0 and not 2.9.2.","author":{"url":"https://github.com/tomschr","@type":"Person","name":"tomschr"},"datePublished":"2020-04-11T11:19:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/233/python-semver/issues/233"}
| 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:2e8c87bd-f81b-4759-f1cc-60fa38293c3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2C0:2A7919:1429B66:1B67119:696EA223 |
| html-safe-nonce | d50c923581460561573c73a96cb806176eb45ef00e2a337cb93e2c50ef48dc45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkMwOjJBNzkxOToxNDI5QjY2OjFCNjcxMTk6Njk2RUEyMjMiLCJ2aXNpdG9yX2lkIjoiODM4ODc0MjAxNzYzMzM5NTIzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 272517b6cb5ad1d2170af4a039e3a31652057019ef9523d8be1d04b8e4fae96a |
| hovercard-subject-tag | issue:598245766 |
| 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-semver/python-semver/233/issue_layout |
| twitter:image | https://opengraph.githubassets.com/adc6c73e2af9dc85c6d87f7f6fc4f638c627db7ff48a9efd9de711d3ed65b95c/python-semver/python-semver/issues/233 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/adc6c73e2af9dc85c6d87f7f6fc4f638c627db7ff48a9efd9de711d3ed65b95c/python-semver/python-semver/issues/233 |
| og:image:alt | Situation In issue #229, we decided to deprecate module level functions, but we haven't discussed the details for our upcoming semver 3 release. Proposal When semver 3 is released, remove the follo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomschr |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semver/python-semver git https://github.com/python-semver/python-semver.git |
| octolytics-dimension-user_id | 57228994 |
| octolytics-dimension-user_login | python-semver |
| octolytics-dimension-repository_id | 3375726 |
| octolytics-dimension-repository_nwo | python-semver/python-semver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3375726 |
| octolytics-dimension-repository_network_root_nwo | python-semver/python-semver |
| 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 | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width