Skip to content

Commit

Permalink
Started to update pytest to the next version(which is from 8.0.2 to 8…
Browse files Browse the repository at this point in the history
….1.1). Removed scipy limitation in setup.py.
  • Loading branch information
Fred2371218232 committed Sep 2, 2024
1 parent 5a31e7f commit 64e6685
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: |
# conda install -yq -c ${CONDA_PREFIX}/conda-bld/ msmbuilder2022
conda install -yq numdifftools hmmlearn
pip install pytest==8.0.2
pip install pytest==8.1.1
mkdir ../../pkgs
cp -r msmbuilder/tests ../../pkgs
cd ../../pkgs
Expand Down
2 changes: 1 addition & 1 deletion msmbuilder/tests/test_libdistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"canberra", "braycurtis", "hamming", "jaccard", "cityblock")


def setup():
def setup_module():
global X_double, Y_double, X_float, Y_float, X_rmsd, Y_rmsd, X_indices
X_double = random.randn(10, 2)
Y_double = random.randn(3, 2)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
'tables',
'numpydoc',
'six',
'scipy<=1.13.1',
'scipy',
'pyhmc @ git+https://github.com/bojunliu0818/pyhmc.git@bojunliu0818-dev',
],
entry_points={'console_scripts':
Expand Down

0 comments on commit 64e6685

Please sign in to comment.