Skip to content

Work on support for numpy-2 and python-3.12#198

Merged
tskisner merged 3 commits intomasterfrom
numpy_update
Feb 21, 2025
Merged

Work on support for numpy-2 and python-3.12#198
tskisner merged 3 commits intomasterfrom
numpy_update

Conversation

@tskisner
Copy link
Member

@tskisner tskisner commented Jan 24, 2025

  • Remove numpy-1 checks / constraints.

  • Update wheel workflows and scripts. Add dependabot workflow and
    combine wheel test / deploy workflows into one. Remove python-3.8
    support.

  • Update README instructions.

  • Add pyproject.toml and remove unsupported distutils from setup.py

  • Fix healpix_bare.c compiler warnings

  • Add missing guard around omp.h inclusion

  • Remove deprecated datetime functions

  • Bump vendored boost to version 1.87 and compile our own libflac-1.5.0

  • Build our own OpenBLAS for macos wheels

@tskisner
Copy link
Member Author

Just a note of explanation about this branch. The goal here is to update the codebase for compatibilty with numpy-2 and python up through 3.13, but without changing the upstream spt3g dependency. This work includes a subset of the large PR #192.

@tskisner tskisner changed the title Work on support for numpy-2 and python-3.13 Work on support for numpy-2 and python-3.12 Feb 21, 2025
- Remove numpy-1 checks / constraints.

- Update wheel workflows and scripts.  Add dependabot workflow and
  combine wheel test / deploy workflows into one.  Remove python-3.8
  support.

- Update README instructions.

- Add pyproject.toml and remove unsupported distutils from setup.py

- Fix healpix_bare.c compiler warnings

- Add missing guard around omp.h inclusion

- Remove deprecated datetime functions

- Bump vendored boost to version 1.87 and compile our own libflac-1.5.0

- Build our own OpenBLAS for macos wheels
@tskisner tskisner marked this pull request as ready for review February 21, 2025 03:54
@tskisner tskisner requested a review from mhasself February 21, 2025 03:58
@tskisner
Copy link
Member Author

Another note- I tested this branch with python-3.13 as well. The wheels build and install fine, but tests fail since they depend on pixell, and there are no wheels available yet for 3.13. We can uncomment python-3.13 in the build matrix once pixell is available for that version.

mhasself
mhasself previously approved these changes Feb 21, 2025
Copy link
Member

@mhasself mhasself left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!! Minor comment on annotating modified 3rd party source code.

This was linked to issues Feb 21, 2025
@tskisner tskisner merged commit 592eafa into master Feb 21, 2025
2 checks passed
@tskisner tskisner deleted the numpy_update branch February 21, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support numpy>=2.0 Python 3.12 support

2 participants