-
Notifications
You must be signed in to change notification settings - Fork 27
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
RC v2.1.0 #147
Conversation
RC v2.0.2
Updated the use of `utcnow` in `test_Apex` and updated the extrapolation tests to reflect the new range of dates in IGRF-14.
Fixed the indentation for the zenodo.json file.
Fixed the target release version and date for the next release.
Updated the maintenance instructions in the documentation, making things easier for next time.
Reflected on degree of changes, and updated to a minor release.
Updated contact email.
Updated the link to the logo in the README.
Updated datetime to use `now` instead of `utcnow` and updated the docs to reflect the correct IGRF version.
Updated `np.product` to `np.prod`.
Updated the supported versions of Python and numpy to not have a cap. Updated TODO link to include the migrated issue location.
Removed 'oldest-supported-numpy' to allow use of numpy 2.0.
Added a detection and switch for numpy 2.
Updated the main CI yaml to include: - Tests for Python 3.12, and - Test for NEP29.
Update the Python version for documentation tests.
Added a summary of the changes to the changelog.
Updated installation guide to remove numpy and Python version restrictions.
Updated the command line interface instructions to include the `python -m` preface.
Updated changelog to include documentation update.
Numpy 2.X update
Updated CLI instructions
Updated the way that the version is set in the code to make releases easier.
Updated the changelog to have a target release date.
Updated the documentation configuration to: - have a docstring, - get the version from the pyproject.toml file, and - update the project year.
Updated version and docs dependencies.
Updated the version number in the meson.build and setup.cfg files.
Update the IGRF reference in the Authors file.
Added a reference tag to the authors section in the docs.
Added a citation guide for apexpy.
Ensure float inputs yield float outputs in mlon/mlt functions. Also updated a docstring to be more informative.
Expanded the changelog to include more of the changes implemented.
Added a missing space between words.
Added the citation guide to the docs index.
@jklenzing, @pacesm, @indiajacksonphd, @sapols, @sandyfreelance, @Dartspacephysiker, @klaundal, @JouleCai, @smithara, @dcsozturk, @butala you all have actively developed packages that depend on apexpy. I am hoping to get this released at the end of the week, please feel free to take a look and let me know about any concerns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I won't be able to test this for another few days, but I don't see any issues with a visual inspection of the code. I'll approve as soon as I can confirm it be haves as expected on my computer.
Removed unneeded dependency.
Expanded changelog line to be more informative.
BUG: Meson build on windows
@ljlamarche the changes @jklenzing made here also remove the 3.12 sometimes-need for rust. |
For what it's worth, I've installed the rcv2.1.0 version on the machine that processes Swarm data for the timeline viewer (link to relevant code here), and it seems to be working well for 2025 Swarm data. |
Thanks for the suggestion and testing @eelcodoornbos. I made an issue for your suggestion, as to not delay the release of the updated code. It's #151 and I targeted it for the next minor release. Please let me know if you have more suggestions that would improve the codebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I can confirm that this works, both in python 3.12 with the latest version of numpy installed and in an older and well-used (read "lots of nonsense installed in it") python 3.10 environment with numpy 1.24. I think this should be good to publish! Thanks for pulling this much-needed maintenance together!
Description
Release candidate with updates to IGRF-14, numpy 2 compliance, and Python 3.12 compliance. Also fixes the command-line interface.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Installed locally and ran:
Yields: (83.9069595336914, -84.24675750732422, 5.598568350251298e-06) with a date of 2024.99692623
Also:
python -m apexpy geo apex 20240101 --height 300 -i $GITDIR/apexpy/apexpy/tests/test_convert.txt
Yields:
And:
apexpy geo apex 2015 --height 300 -i apexpy/apexpy/tests/test_convert.txt -o apexpy/apexpy/tests/output.txt
gives the expected results from the unit tests.Test Configuration
Checklist
Changelog.rst
, summarising the changesAUTHORS.rst
and.zenodo.json