forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build against NPY2 (materialsproject#3894)
* build against NPY2 See https://numpy.org/devdocs/dev/depending_on_numpy.html * replace np.int_t with np.int64_t * replace `np.float_` with `np.float64` * replace simps with simpson * replace long with np.int64_t * fix copy=False * fix simpson * asarray Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * RankWarning Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * pre-commit auto-fixes * ImportError Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * replace np.lib.pad with np.pad Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * enable NPY201 Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * skip several tests related to scipy, chgnet, and phonopy * pre-commit auto-fixes * skip more tests * make warning assertion more robust Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * pre-commit auto-fixes * fix test_properties Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> * pre-commit auto-fixes * Revert "enable NPY201" This reverts commit dc1d719. * rename vars for readability * fix test_get_parchg with comment to explain assert inversion * don't depend on numpy RC in build-system.requires * disable assert altogether * bump optional dep pin abinit = ["netcdf4>=1.7.1"] temp install delvewheel>=1.7.4 in CI * merge * remove delvewheel --------- Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Janosh Riebesell <janosh.riebesell@gmail.com>
- Loading branch information
Showing
12 changed files
with
181 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.