Repository navigation
Closed
Milestone
Description
PyPI/GitHub rc-release preparation checklist:
- All PRs/issues attached to the release are merged.
- All the badges on the README are passing.
- License information is verified as correct. If you are unsure, please comment below.
- Locally rendered documentation contains all appropriate pages, tutorials, and other human-written text is up-to-date with any changes in the code.
- All API references are included. To check this, run
conda install scikit-packageand thenpackage build api-doc. Review any edits made by rerendering the docs locally. - Installation instructions in the README, documentation, and the website are updated.
- Successfully run any tutorial examples or do functional testing with the latest Python version.
- Grammar and writing quality are checked (no typos).
- Install
pip install build twine, runpython -m buildandtwine check dist/*to ensure that the package can be built and is correctly formatted for PyPI release. - Dispatch matrix testing to test the release on all Python versions and systems. If you do not have permission to run this workflow, tag the maintainer and say
@maintainer, please dispatch matrix testing workflow.
Please tag the maintainer (e.g., @username) in the comment here when you are ready for the PyPI/GitHub release. Include any additional comments necessary, such as version information and details about the pre-release here:
PyPI/GitHub full-release preparation checklist:
- Create a new conda environment and install the rc from PyPI (
pip install <package-name>==??) - License information on PyPI is correct.
- Docs are deployed successfully to
https://<github-username-or-orgname>/<package-name>. - Successfully run all tests, tutorial examples or do functional testing.
Please let the maintainer know that all checks are done and the package is ready for full release.
conda-forge release preparation checklist:
- Ensure that the full release has appeared on PyPI successfully.
- New package dependencies listed in
conda.txtandtests.txtare added tometa.yamlin the feedstock. - Close any open issues on the feedstock. Reach out to the maintainer if you have questions.
- Tag the maintainer for conda-forge release.
Post-release checklist
- Run tutorial examples and conduct functional testing using the installation guide in the README. Attach screenshots/results as comments.
- Documentation (README, tutorials, API references, and websites) is deployed without broken links or missing figures.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Akadib commentedon Nov 2, 2026
@stevenhua0320 some of the items within PyPI/GitHub rc-release preparation checklist I have gone through in my last PR, right? However, I am confused about this last item: Dispatch matrix testing to test the release on all Python versions and systems. I think I understand the other issues in different checklist, but some of the issues will be more clear and comfortable to me once I start the technical workflow for every checklists.
sbillinge commentedon Nov 2, 2026
@Akadib hopefully everything is done. The checklist are things for you to check to make sure they are done before we go public with the release. For example, the second one, all the badges in the README are passing, you check the readme and if they are all passing, then you check that box. You do the check then you check the box. Any questions or things that aren't clear, don't check the box and ask a question down here.
sbillinge commentedon Nov 2, 2026
I went through the issues and moved all but one to the 0.5.0 release.
Akadib commentedon Nov 2, 2026
@sbillinge Sounds good!
sbillinge commentedon Nov 2, 2026
@Akadib I also ran the matrix CI so hopefully the README badges are ok now.
stevenhua0320 commentedon Nov 7, 2026
@Akadib What's the status here, could we make a prerelease now?
Akadib commentedon Nov 11, 2026
@stevenhua0320 for item 5, in the first checklist, this is what I did:
Akadib commentedon Nov 11, 2026
Screenshot for second item of prerelease checklist:
stevenhua0320 commentedon Nov 11, 2026
@Akadib Good progress, now you should find there is a folder called
docs/build, and then open that folder, there is a file calledindex.html, and you could open it via some web browser, which would see the documentation build on local.Akadib commentedon Nov 11, 2026
Screenshot for third item in the prerelease checklist:
stevenhua0320 commentedon Nov 11, 2026
For this, you need to take the screenshot of the output instead of how we code it. Something like what I show below.
Akadib commentedon Nov 11, 2026
@stevenhua0320 I did not find any index.html file but there is index.rst file. Let me share the screenshot with you:
Akadib commentedon Nov 11, 2026
For this, do I need to convert ReadMe.rst file into a Md file? In my knowledge, there is no .Md readme file in the folder.
stevenhua0320 commentedon Nov 11, 2026
No, another way you can check the doc is make sure your
cwdis ondocs, then run the commandmake html, then you will see the folder that I said.25 remaining items
Akadib commentedon Nov 12, 2026
@stevenhua0320 am I done with fixing the warnings? Also @sbillinge there are other warnings like
warning: no previously-included files matching 'pycache' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.idea' found anywhere in distribution
do I need to fix it?
Akadib commentedon Nov 12, 2026
@sbillinge please dispatch matrix testing workflow at your convenience.
stevenhua0320 commentedon Nov 12, 2026
@Akadib Now the pre-release is done, you could go on and do the checklist for the full release, follow the guide there and I believe you can do it.
Akadib commentedon Nov 12, 2026
@sbillinge @stevenhua0320 Thanks for your feedback. I think I am ready for PyPI/GitHub full-release so now I will start the second PyPI full release checklist. @sbillinge would I need any permission to do that?
sbillinge commentedon Nov 13, 2026
@Akadib I do the release, but you have to test the pre-release and then report back. this means installing the package in a clean new environment installing it directly from pypi and then running all the tests and examples and reporting
Then run all the examples.
sbillinge commentedon Nov 13, 2026
I ran the matrix on the release tag. All green.
Akadib commentedon Nov 15, 2026
@sbillinge all checks are done and the package is ready for full release.
sbillinge commentedon Nov 15, 2026
congrats @Akadib you did it! I am now pushing out the full
0.4.0release. Next step is to update the conda-forge release when this appears on PyPI. Please work with @stevenhua0320 to learn how to do that.Please make an issue to capture the warning in the tests. Either (a) that warning is supposed to be there (the test is testing the switch to brute-force because mut is out of range, or the (b) test is testing something else and that happens by mistake. If it is (a) the test needs to be updated so the warning is caught and tested in a context manager, if it is (b) the test needs to be updated so it doesn't go out of range. @stevenhua0320 can help with this too.
sbillinge commentedon Nov 15, 2026
btw, make sure to note this on your group meeting slide this week. You are the proud owner of a completes release! Congratulations! You will get claps and you can feel proud.
sbillinge commentedon Nov 15, 2026
@Akadib (cc @stevenhua0320) the conda-forge dependabot worked really quickly this time so I did the work to get it merged. We have a Conda-Forge release therefore.
@Akadib no need for you to do the conda-forge release workflow unless you want to learn how to do it. HOWEVER, we do need you to run all the tests now on the conda-forge release. This means following the instructions in the README exactly as they are written and and run all the examples . This is the most important test, because this is what our users will do and so we want to make sure everything is working. It should all build in a python 3.14 env and install everything from conda-forge, but just see what happens. Please do it in a scratch directory that is not the code directory, because there will be things in your code directory that the user won't have access to. So everything must work in a separate directory. Finally, instal the test dependencies and run the tests, and check the docs are all fine. Then we are done.
Akadib commentedon Nov 16, 2026
@sbillinge I think this particular version checking command in the README does not work: labpdfproc --version
But this one"python -c "import diffpy.labpdfproc; print(diffpy.labpdfproc.version)" worked fine:
For the test, we still see the same warning:
Tutorial example results are similar like the last one:
I also checked the docs file, it looks good. @sbillinge I am all set for your review!
sbillinge commentedon Nov 19, 2026
These can all go in the next release but I need you to confirm that the issues have been posted and all the tests and examples worked. I see examples that you team them, just not a summary that, apart from the issues, everything is working as expected and we can close this.
If the version workflow doesn't work as per the instructions then please modify the readme to something that does work and add to the fix issue to set the docs back when it is fixed.
Akadib commentedon Nov 20, 2026
@sbillinge All the tests and examples work correctly. I only found two issues from this release and have posted those two issues. One issue is the version command is broken. The other one is to catch the warning and handle it in a context manager. I will resolve them before next release 0.5.0. We are all set to close this issue.
sbillinge commentedon Nov 20, 2026
closed as completed