-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare for v1.0.0 release #197
Comments
next: step 3 of https://nsls-ii.github.io/scientific-python-cookiecutter/publishing-releases.html git commit --allow-empty -m "REL: v1.0.0rc1"
git tag -a v1.0.0rc1 Verify correct version info $ python ./setup.py version
running version
keywords are unexpanded, not using
got version from VCS {'version': '1.0.0rc1', 'full-revisionid': '5e5389f7beab313ce2f4e62f0f4c0ed156270ed7', 'dirty': False, 'error': None}
Version: 1.0.0rc1
full-revisionid: 5e5389f7beab313ce2f4e62f0f4c0ed156270ed7
dirty: False
$ ipython
>>> import gi
>>> gi.require_version('Hkl', '5.0')
>>> import hkl
>>> hkl.__version__
v1.0.0rc1 Push to GitHub git push origin main
git push origin v1.0.0rc1 |
upload to PyPI cd /tmp
git clone https://github.com/bluesky/hklpy
cd hklpy
python ./setup.py sdist
python ./setup.py bdist_wheel
twine upload dist/* |
@mrakitin Conda-forge will notice the new tag, check with PyPI, then build, test, and once that passes testing, publish the conda package automatically, right? |
@prjemian, yes, that's the workflow. Maybe we'll need to merge that PR automatically if the automerge bot is not enabled there. Let's wait for the PR, and see if all requirements are there, and then will merge manually for now. Then I'll add bot-automerge. |
Your presentation last week was a big ➕ |
@mrakitin : So far, the hkl-feedstock in conda-forge has not acted on this new tag. What else needs to happen? |
@prjemian, I guess it does not handle the rc versions automatically. Right now the latest tag on PyPI is 0.3.16 (https://pypi.org/project/hklpy/#history). Do you want to push v1.0.0 there? |
I will proceed with the v1.0.0 release ... tomorrow. |
Push v1.0.0 to PyPI. Still, the PyPI page says:
Despite this code in the project: (bluesky_2021_2) prjemian@zap:/tmp/hklpy$ grep description setup.py
description="Controls for using diffractometers within the Bluesky Framework: https://blueskyproject.io", This is something to truly fix for v1.0.1. Not a big deal. |
I wonder if we also need the |
Good point, I'll add that to (new) issue #202. |
See the process posted on the Scientific Cookie Cutter page.
First off, autocreate a list of milestone changes from commits, issues, PRs, & tags using
create_release_notes.py
and post as a new page on the wiki following the index page on the wiki. (Update this new page after the release is final but before closing the milestone.)Update the
RELEASE_NOTES.rst
(perdocs/source/release_notes.rst
) by selecting content from this list, per the cookie cutter instructions. Then, continue that procedure.The text was updated successfully, but these errors were encountered: