-
Notifications
You must be signed in to change notification settings - Fork 374
Release instructions
Kodi Arfer edited this page Nov 19, 2025
·
22 revisions
- Update
hyrule_versionin Hy'sdocs/conf.py.- Make sure that at least
http://hylang.org/hyrule/doc/NEW_HYRULE_VERSION/objects.invis online.
- Make sure that at least
- Set the release date in NEWS.
- Merge the pull request for the new release.
- Set the new version in
__init__.pyandsetup.py. git tag x.y.z -m 'Version x.y.z'- Build the manual locally and glance over the result.
- Build and test the PyPI package on your local machine (see https://packaging.python.org/distributing/ for complete instructions).
git clean -dfx-
python3 setup.py sdistto create the source distribution.- We no longer distribute wheels, because this prevents precompiling the Hy code during installation.
- Create a new virtualenv and install the created package there for testing:
virtualenv tenv -p python3 && cd tenv && source ./bin/activate && pip install [source distribution file] && deactivate && source ./bin/activate && echo `type hy` && echo '(+ 1 1)' | hy -i
- Publish the release on GitHub.
git push --tags origin- Add an item to https://github.com/hylang/hy/releases .
- Fast-forward the
stablebranch on GitHub. - Upload the new manual to Hylang.org.
- Update the redirects http://hylang.org/hy/doc and http://hylang.org/hyrule/doc .
- Let @paultag and @Kodiologist know that things are ready. Either of them can upload the package into PyPI.
twine upload dist/*
- Push a commit to Hy
masterreverting the addition of the version number. - Similarly, publish the corresponding new release of Hyrule.
- Use the new releases of Hy and Hyrule for Try Hy.