Skip to content

Release 0.8.0 - #47

Merged
vringar merged 1 commit into
masterfrom
release/0.8.0
Sep 5, 2026
Merged

vringar merged 1 commit into
masterfrom
release/0.8.0

Conversation

@vringar

@vringar vringar commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Sets the version and dates the changelog section so v0.8.0 can be tagged.

just check-version (which release-build depends on, and which the release
workflow runs first) rejects a tag that does not match __version__, and also
rejects an undated (unreleased) changelog heading — the changelog is part of
the published description, so an undated heading would ship to PyPI as the
first thing on the page. Both now pass:

$ nix-shell --run 'just release-build v0.8.0'
Releasing 0.8.0
Checking dist/domain_utils-0.8.0-py3-none-any.whl: PASSED
Checking dist/domain_utils-0.8.0.tar.gz: PASSED

$ nix-shell --run 'just test-wheel 3.11'
82 passed

Published metadata on the built wheel:

Name: domain-utils
Version: 0.8.0
Requires-Python: >=3.11
Requires-Dist: tldextract>=5.3
License-Expression: MPL-2.0

This is what finally gets the #32 fix to consumers — PyPI still serves 0.7.1
pinned to tldextract==2.2.2.

After merging, tag to publish:

git tag -a v0.8.0 -m "v0.8.0"
git push origin v0.8.0

Does not include #45; that stays open by request.

Set the version and date the changelog section so the tag can be cut.
release.yml refuses to publish if the tag does not match __version__, or if
the changelog section for it is still undated.

Also correct the environment guidance in docs/release.rst, which suggested
restricting the pypi environment to the master branch and to tags. The
workflow only triggers on a tag push, so a branch rule can never apply.
@vringar
vringar merged commit a04ec92 into master Sep 5, 2026
1 check passed
@vringar
vringar deleted the release/0.8.0 branch September 5, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant