Skip to content

Commit 204b6c8

Browse files
committed
Torchani has had recent updates that has change the call for the hessian function in torchani.utils
Since we unrestricted the installation of torchani, it would download the latest version as well as pythoin 3.13, thus breaking our tests: `AttributeError: module 'torchani.utils' has no attribute 'hessian'`
1 parent 1a5a3d1 commit 204b6c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

devtools/install_torchani.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
set -euo pipefail
2+
set -eo pipefail
33

44
# Enable tracing of each command, but tee it to a logfile
55
exec 3>&1 4>&2

devtools/tani_environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- python
7+
- python =3.10.8
88
- numpy
99
- pandas
1010
- ase
11-
- torchani >=2.2.3
11+
- torchani =2.2
1212
- pytorch
1313
- torchvision
1414
- torchaudio

0 commit comments

Comments
 (0)