Title: chore(release): keep semantic-release on 0.x series and revert version to 0.148.0 by bdraco · Pull Request #1674 · python-zeroconf/python-zeroconf · GitHub
Open Graph Title: chore(release): keep semantic-release on 0.x series and revert version to 0.148.0 by bdraco · Pull Request #1674 · python-zeroconf/python-zeroconf
X Title: chore(release): keep semantic-release on 0.x series and revert version to 0.148.0 by bdraco · Pull Request #1674 · python-zeroconf/python-zeroconf
Description: Summary Keep master on the 0.x line. The 1.0.0 release was unintended and was yanked from PyPI; the root cause was that master's [tool.semantic_release] block was missing allow_zero_version = true, so when python-semantic-release was upgraded to 10.x the next release computed 0.148.0 → 1.0.0 (treating the 0.x line as "initial development") instead of staying in 0.x. The release-0.x branch already has the correct config — added in 812a2b3 ("feat: trigger semantic releases for 0.x branch", #1626). This PR forward-ports that fix to master and resets master's version pointers back to the last intended release. Details pyproject.toml version = "0.148.0" (reverted from 1.0.0). Add allow_zero_version = true under [tool.semantic_release] so 0.x is treated as the active major; breaking-change commits bump 0.x.y instead of jumping to 1.0.0. Add [tool.semantic_release.branches."release-0.x"] matcher and update the noop regex from (?!master$) → (?!(master|release-0.x)$) so future releases off either branch stay in the 0.x line (and other branches stay prerelease-only). src/zeroconf/__init__.py __version__ = "0.148.0" (reverted from 1.0.0) so the runtime version string matches. semantic-release reads version_toml / version_variables as the source of truth for the current version and computes the next version from commits since the previous release. After this PR merges, the next release from master will be a 0.x bump computed from 0.148.0 plus the conventional-commit history since then. Test plan pre-commit run --all-files passes (lint job is just pre-commit/action). Diff is config + version pointers only — no source code or test changes — so the test matrix is a no-op. Maintainer verifies the resulting next-version computation via semantic-release version --print (or equivalent dry-run) before merging, since this PR changes release behaviour. Notes The 1.0.0 git tag is left in place as a historical marker; the PyPI release is already yanked. This PR does not touch CHANGELOG.md; semantic-release regenerates it on the next release.
Open Graph Description: Summary Keep master on the 0.x line. The 1.0.0 release was unintended and was yanked from PyPI; the root cause was that master's [tool.semantic_release] block was missing allow_zero_version = t...
X Description: Summary Keep master on the 0.x line. The 1.0.0 release was unintended and was yanked from PyPI; the root cause was that master's [tool.semantic_release] block was missing allow_zero_version...
Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/pull/1674
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eadc4246-b489-634b-b0b9-53c98e82fd8b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AACC:A99C2:18F8E55:1FD44EE:6B013035 |
| html-safe-nonce | 8bb3e3fd77dc6ef787b505bd7d15639c3ebebf07eea2394552a4314b691c0bf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUNDOkE5OUMyOjE4RjhFNTU6MUZENDRFRTo2QjAxMzAzNSIsInZpc2l0b3JfaWQiOiI0MzUwNDA4MzI5MDg0ODc0ODA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 42a37ee605dbf129dd6a689520c465871154f9279edf00b3f5c4088478673273 |
| hovercard-subject-tag | pull_request:3691734445 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python-zeroconf/python-zeroconf/pull/1674/files |
| twitter:image | https://avatars.githubusercontent.com/u/663432?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/663432?s=400&v=4 |
| og:image:alt | Summary Keep master on the 0.x line. The 1.0.0 release was unintended and was yanked from PyPI; the root cause was that master's [tool.semantic_release] block was missing allow_zero_version = t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git |
| octolytics-dimension-user_id | 120192235 |
| octolytics-dimension-user_login | python-zeroconf |
| octolytics-dimension-repository_id | 21548731 |
| octolytics-dimension-repository_nwo | python-zeroconf/python-zeroconf |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21548731 |
| octolytics-dimension-repository_network_root_nwo | python-zeroconf/python-zeroconf |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width