-
Notifications
You must be signed in to change notification settings - Fork 224
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
Release PyGMT v0.14.0 #3691
Comments
@GenericMappingTools/pygmt-maintainers I think it's time to prepare for the v0.14.0 release. I've set the release date to 2024/12/31, but it's OK to postpone it to early Jan. 2025, depending on the amount of final changes that we want to make to the v0.14.0 release. |
I have added some of my pending PR, but probably a bit ambious to finish them all for v0.14.0. |
PRs/Issues that we have set the v0.14.0 milestone can be tracked at https://github.com/GenericMappingTools/pygmt/milestone/20. We may finish them or not depending on our availability. In the release checklist, I think we should only list the high-priority PRs/issues that must be finished prior to the release. |
We can keep the release to be end of December. @seisman, I feel that the PRs around making NetCDF4 optional and |
@GenericMappingTools/pygmt-maintainers I plan to merge PRs #3722, #3727, and #3726 tomorrow (2024/12/28) and then start working on the release changelog. From 12/28 to 12/31, documentation changes like #3720, and #3711 can still be merged, but no more other code changes (#2431 may be an exception depending on the progress). |
I've created a draft release announcement at https://hackmd.io/sxVhw5ReS3OVoeHgDmAxtA. |
Thanks @seisman for starting to work on the draft release announcement, I made some additions and updates. |
There is still one failure in the "GMT Dev Tests" workflow: ________________________ test_sphinterpolate_no_outgrid ________________________
mars = longitude latitude radius_m
0 278.231 -40.059 6888
1 302.360 15.487 -233
2 57.10...8.384 -32.260 1375
368 312.032 22.271 -4400
369 134.260 47.670 -3820
[370 rows x 3 columns]
@pytest.mark.benchmark
def test_sphinterpolate_no_outgrid(mars):
"""
Test sphinterpolate with no set outgrid.
"""
temp_grid = sphinterpolate(data=mars, spacing=1, region="g")
assert temp_grid.dims == ("lat", "lon")
assert temp_grid.gmt.gtype == 1 # Geographic grid
assert temp_grid.gmt.registration == 0 # Gridline registration
npt.assert_allclose(temp_grid.max(), 14628.144)
npt.assert_allclose(temp_grid.min(), -6908.1987)
npt.assert_allclose(temp_grid.median(), 118.96849)
> npt.assert_allclose(temp_grid.mean(), 272.60593)
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 1 / 1 (100%)
E Max absolute difference among violations: 0.00024763
E Max relative difference among violations: 9.0836965e-07
E ACTUAL: array(272.60568, dtype=float32)
E DESIRED: array(272.60593) It's likely caused by xarray changes. |
I've made the v0.14.0 release and everything works fine, but the "Publish to PyPI" workflow fails https://github.com/GenericMappingTools/pygmt/actions/runs/12561955854/job/35021691730:
So v0.14.0 is not available on PyPI yet. This upstream issue pypa/gh-action-pypi-publish#283 explains the reason. In short, it's because the action (actually the The issue also provides many solutions, e.g.,
We need to decide what to do with the workflow, but before that we need to decide what to do with v0.14.0 release. We can either manually upload v0.14.0 to PyPI or have a v0.14.1 release after fixing the workflow. |
I've decided to manually upload v0.14.0 following instructions at https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#packaging-your-project. Now v0.14.0 is on PyPI. |
A happy and healthy year 2025 to everyone 🎆🎇! Thanks @seisman for finishing the changelog and making the release. After roughly reading through the PyPI-upload issue I feel uploading v0.14.0 manually was the better, fast, and probably easier solution. For me, the draft release announcement looks already quite good. But I am a bit unsure about the examples and conferences sections. Currently, the AGU24 contributions (preworkshop and talk) are mentioned within in the conference section at the end. But for other releases we included the addition to the “External resources” page in the section for the “Addition and updates on examples”. Should we mention the preworkshop twice or move both AGU24 contributions up to the examples section? What do others think? |
I think the current draft announcement is good. |
Yes, announcement draft looks good! |
@yvonnefroehlich Could you please make the announcements on the forum and ResearchGate? |
Thanks for the feedbacks @seisman and @michaelgrund! Just wanted to make the announcement on the forum, but currently I can’t access to GMT forum website; I will try it later again. Is there any planned maintenance? |
I can access the forum, so the website is still on-line. |
Can also do the RG announcement later if @yvonnefroehlich has no time. Btw, I have the same issue accessing the forum at the moment. Edit: Done at https://www.researchgate.net/publication/387664868_PyGMT_A_Python_interface_for_the_Generic_Mapping_Tools_v0140 |
OK, I'll do the forum announcement in a few minutes. Edit: Done at https://forum.generic-mapping-tools.org/t/pygmt-v0-14-0-released/5668. |
OK. Thanks!
I have still problems to access the forum (tried different browsers as well as my laptop and smartphone). It only works when using the VPN of my university. But good to hear, that the website itself is online. |
After @michaelgrund did the RG upload, it looks like all box a ticked 🎉! Thanks everybody for their efforts for this release 🤗! |
Release: v0.14.0
Scheduled Date: 2024/12/31
Pull request due date: 2024/12/28
DOI:
10.5281/zenodo.14535921
Priority PRs/issues to complete prior to release
Extend / Add gallery example to explain "symbol" parameter of "Figure.plot" #3595DOC: Add basic tutorial "Plotting single-parameter symbols" #3598@yvonnefroehlichPOC: Add Figure.scatter #3602@seismanGMTDataArrayAccessor: Support passing values using enums GridRegistration and GridType for grid registration and type #3696Figure.hlines
Add Figure.hlines for plotting horizontal lines #923Figure.vlines
Add Figure.vlines for plotting vertical lines #3726**BREAKING** pygmt.grdcut: Refactor to store output in virtualfiles for grids #3115Add pygmt.read to read a dataset/grid/image into pandas.DataFrame/xarray.DataArray #3673Remove the dependency of netCDF4 #3643BREAKING: Support typesetting apostrophe (') and backtick (`) #3105Before release:
grep --include="*.py" -r vX.Y.Z
from the base of the repository @seismanpygmt/_show_versions.py
as well as notes in Not working transparency regarding GMT-Ghostscript incompatibilitymake codespell
to check common misspellings. If there are any, either fix them or add them toignore-words-list
inpyproject.toml
Release:
the release page, and upload the two zip files to https://zenodo.org/deposit,
ensure that they are filed under the correct reserved DOI
After release:
[Done automatically by conda-forge's bot. Remember to pin Python and SPEC0 versions]
The text was updated successfully, but these errors were encountered: