You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, including API references (check no modules are
missing), tutorials, and other human-written text is up-to-date with any changes in the code.
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, run python -m build and twine check dist/* to ensure that the package can be built and is correctly formatted for PyPI release.
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.txt and test.txt are added to meta.yaml in 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.
Locally rendered documentation contains all appropriate pages, including API references (check no modules are
missing), tutorials, and other human-written text is up-to-date with any changes in the code.
Documentation rendered correctly. There are only API references in this package. I think this item can be checked.
Successfully run any tutorial examples or do functional testing with the latest Python version.
There are no tutorial examples. pytest passed with the latest Python version.
Successfully run all tests, tutorial examples or do functional testing.
Running pytest gets the following error message:
FAILED tests/test_loadstructure.py::TestLoadStructure::test_badfile - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_cif.py::TestP_cif::test_parse - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char552(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_cif.py::TestP_cif::test_parseFile - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char552(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_cif.py::TestP_cif::test_parseLines - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char565(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_discus.py::TestP_discus::test_spdiameter_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_discus.py::TestP_discus::test_stepcut_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_pdffit.py::TestP_pdffit::test_spdiameter_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_pdffit.py::TestP_pdffit::test_stepcut_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
Successfully run all tests, tutorial examples or do functional testing.
Running pytest gets the following error message:
FAILED tests/test_loadstructure.py::TestLoadStructure::test_badfile - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_cif.py::TestP_cif::test_parse - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char552(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_cif.py::TestP_cif::test_parseFile - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char552(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_cif.py::TestP_cif::test_parseLines - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char565(Trying to find one of data_value_1, start_sc_line)
FAILED tests/test_p_discus.py::TestP_discus::test_spdiameter_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_discus.py::TestP_discus::test_stepcut_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_pdffit.py::TestP_pdffit::test_spdiameter_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
FAILED tests/test_p_pdffit.py::TestP_pdffit::test_stepcut_parsing - CifFile.yapps3_compiled_rt.YappsSyntaxError: SyntaxError@char0(Trying to find one of END, data_heading)
@ycexiao please could you check your pycifrw source (is it from conda-forge or pypi?) and version?
If it's from pypi, try reinstall the one from conda-forge and pytest again. I think it's pycifrw's problem.
Thanks @Tieqiong . If this is true (conda works, pyPI doesn't), @ycexiao please can we note this in the installation instructions. Let's also make an issue to remove that from the instructions when PyCIFRw is fixed. Please let's also check why....are the versions different between those two platforms? If we figure out what is going on, perhaps we can put in an issue or a PR to PyCifRW project.
If it's from pypi, try reinstall the one from conda-forge and pytest again. I think it's pycifrw's problem.
Yes. I reinstalled it from coda-forge and pytest is passed.
please can you let us know when you have done the things in my comment and I will close this. If that involves making a PR then have that PR close this (it may already be there, I didn't look)
@sbillinge, please check the following information. If no further changes are needed, I think we are ready to do the rc release.
LICENSE in this includes: (a) LICENSE-DENSE.rst (b) LICENSE-pymmlib.rst The Artistic License 2.0 (c) LICNESE.rst OPEN SOURCE LICENSE AGREEMENT.
Documentation rendered correctly locally. No tutorials, installation instructions, or examples are in the documentation. Do we want to edit the documentation?
OK @ycexiao , I released 3.3.1-rc.1 to PyPI. Please can you test it according to the checklist. Note it is rc.1 not rc.0. there was already an rc.0 release.
Thanks @ycexiao I released 3.3.1 to pypi! Please can you test by building a new env and doing pip install diffpy.srfit. IF it works (see the checklist above) let me know and I will do the conda-forge release
btw, I can do all the feedstock things. I just need you to check the pyPI release is working with no release number specified. Also please check all the badges on the readme.
@ycexiao please could you quickly do the post-release checklist. Basically, follow the installation instructions in the docs exactly and make sure everything works. This tests both the code and the installation instructions for our users!
All tests passed, and the documentation is rendered correctly.
In README, we jump from creating the environment to validating the installation. I think we need to add one step like
"
Then, install diffpy.structure in the created environment
Activity
[-]Ready for 3.3.1 PyPI/GitHub release[/-][+]Ready for 3.3.1-rc0 PyPI/GitHub release[/+]ycexiao commentedon Jul 22, 2025
Documentation rendered correctly. There are only API references in this package. I think this item can be checked.
There are no tutorial examples.
pytestpassed with the latest Python version.ycexiao commentedon Jul 22, 2025
The pre-released version is successfully installed by
pip install diffpy.structure==3.3.1rc0License information on PyPI is
BSDDocs are deployed to https://www.diffpy.org/diffpy.structure/
Running
pytestgets the following error message:Tieqiong commentedon Jul 22, 2025
@ycexiao please could you check your pycifrw source (is it from conda-forge or pypi?) and version?
If it's from pypi, try reinstall the one from conda-forge and pytest again. I think it's pycifrw's problem.
sbillinge commentedon Jul 22, 2025
Thanks @Tieqiong . If this is true (conda works, pyPI doesn't), @ycexiao please can we note this in the installation instructions. Let's also make an issue to remove that from the instructions when PyCIFRw is fixed. Please let's also check why....are the versions different between those two platforms? If we figure out what is going on, perhaps we can put in an issue or a PR to
PyCifRWproject.ycexiao commentedon Jul 23, 2025
Yes. I reinstalled it from
coda-forgeandpytestis passed.sbillinge commentedon Jul 23, 2025
please can you let us know when you have done the things in my comment and I will close this. If that involves making a PR then have that PR close this (it may already be there, I didn't look)
ycexiao commentedon Jul 24, 2025
The opened issue is #144, and it was closed by #146. I will revisit the checklist after the new pre-release has been pushed to
PyPI.sbillinge commentedon Jul 24, 2025
@ycexiao please could you confirm, are we ready to do the 3.3.1-rc.0 release?
ycexiao commentedon Jul 24, 2025
@sbillinge, please check the following information. If no further changes are needed, I think we are ready to do the rc release.
LICENSE in this includes: (a) LICENSE-DENSE.rst (b) LICENSE-pymmlib.rst
The Artistic License 2.0(c) LICNESE.rstOPEN SOURCE LICENSE AGREEMENT.Documentation rendered correctly locally. No tutorials, installation instructions, or examples are in the documentation. Do we want to edit the documentation?
twine check dist/*passed:sbillinge commentedon Jul 24, 2025
Thanks. I will go ahead with the rc release.
sbillinge commentedon Jul 24, 2025
OK @ycexiao , I released
3.3.1-rc.1to PyPI. Please can you test it according to the checklist. Note it isrc.1notrc.0. there was already anrc.0release.Thanks for your hard work on this!
ycexiao commentedon Jul 24, 2025
@sbillinge,
pytesthas passed now! If the BSD license in thePyPIis correct, I think we can proceed with the full release.sbillinge commentedon Jul 25, 2025
Thanks @ycexiao I released
3.3.1to pypi! Please can you test by building a new env and doingpip install diffpy.srfit. IF it works (see the checklist above) let me know and I will do the conda-forge releasesbillinge commentedon Jul 25, 2025
btw, I can do all the feedstock things. I just need you to check the pyPI release is working with no release number specified. Also please check all the badges on the readme.
sbillinge commentedon Jul 25, 2025
Congrats to @ycexiao (and everyone who worked on it, and
scikit-package) ,diffpy.structure 3.3.1has been merged all the way to conda-forge!Everyone, let's work hard to try and get all the other parts of diffpy.cmi across the line so we can releas everything next week.
sbillinge commentedon Jul 25, 2025
@ycexiao please could you quickly do the post-release checklist. Basically, follow the installation instructions in the docs exactly and make sure everything works. This tests both the code and the installation instructions for our users!
ycexiao commentedon Jul 25, 2025
All tests passed, and the documentation is rendered correctly.
In
README, we jump from creating the environment to validating the installation. I think we need to add one step like"
Then, install
diffpy.structurein the created environment"
ycexiao commentedon Jul 25, 2025
No tutorials or examples in this repo. Output of
python -c "import diffpy.structure; print(diffpy.structure.__version__)"sbillinge commentedon Jul 25, 2025
that is odd.
scikit-packagetemplate to make sure it is not coming from there and affects all our projects.....sbillinge commentedon Jul 25, 2025
closing this as completed