Skip to content
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

Bump numpy from 1.26.4 to 2.0.1 #226

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- matplotlib-base =3.9.2
- nglview =3.1.2
- notebook
- numpy =1.26.4
- numpy =2.1.1
- phonopy =2.26.6
- plotly =5.24.0
- pymatgen =2024.9.10
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/environment_mini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ channels:
dependencies:
- ase =3.23.0
- coverage
- numpy =1.26.4
- numpy =2.1.1
- scipy =1.14.1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
]
dependencies = [
"ase==3.23.0",
"numpy==1.26.4",
"numpy==2.1.1",
"scipy==1.14.1",
]
dynamic = ["version"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_get_frame(self):
dx, counts = np.unique(
np.diff(frame, axis=-2).squeeze().astype(int), axis=0, return_counts=True
)
self.assertEqual(dx.ptp(), 1, msg="Frames not drawn along the nearest edges")
self.assertEqual(np.ptp(dx), 1, msg="Frames not drawn along the nearest edges")
msg = (
"There must be four lines along each direction"
+ " (4 x [1, 0, 0], 4 x [0, 1, 0] and 4 x [0, 0, 1])"
Expand Down
Loading