llnl / llnl/pyranda

PyDataType_SET_ELSIZE deprecated in newer numpy versions

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
69
Forks
31
PR merge metrics
No merged PRs in 30d

Description

PyDataType_SET_ELSIZE is used in parcop. It is no longer supported in the latest versions of numpy versions. Pyranda can be built despite this using:

pip install "numpy<2"

when installing numpy.

Pyranda should be updated to be functional with the latest Numpy versions.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the parcop code using PyDataType_SET_ELSIZE and inspect how it interfaces with NumPy's current API. Reproduce the failure with the latest NumPy rather than numpy<2, update compatibility, and verify Pyranda builds and functions with that version.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, numpy, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.