From 368411d81ea3035271812a40626d34a782165487 Mon Sep 17 00:00:00 2001 From: Anthony Onwuli Date: Wed, 5 Jul 2023 14:28:14 +0100 Subject: [PATCH 1/4] Pinned min version of pymatgen in reqs --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f7988e1..82f683c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ numpy == 1.23.3 scipy ==1.10.1 -pymatgen ==2022.9.21 +pymatgen > 2022.9.21 seaborn ==0.12.1 matplotlib==3.7.1 scikit-learn==1.3.0 From 71c7ac6011384a0b3d308ee19b4af9179497f657 Mon Sep 17 00:00:00 2001 From: Anthony Onwuli Date: Wed, 5 Jul 2023 14:28:44 +0100 Subject: [PATCH 2/4] Pinned dependencies' versions in setup.py --- setup.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 791820d..42bc1ef 100644 --- a/setup.py +++ b/setup.py @@ -28,14 +28,14 @@ }, test_suite="elementembeddings.tests.test", install_requires=[ - "numpy", - "scipy", - "pymatgen", - "seaborn", - "matplotlib", - "scikit-learn", - "umap-learn", - "adjustText", + "numpy==1.23.3", + "scipy==1.10.1", + "pymatgen>2022.9.21", + "seaborn==0.12.1", + "matplotlib==3.7.1", + "scikit-learn==1.3.0", + "umap-learn==0.5.3", + "adjustText==0.8", ], classifiers=[ "Programming Language :: Python", From cd1bf776220250377bb7cd48cca6b08e9a968f1d Mon Sep 17 00:00:00 2001 From: Anthony Onwuli Date: Wed, 5 Jul 2023 14:30:46 +0100 Subject: [PATCH 3/4] removed pandas, pytest and pytest-subtests in reqs --- requirements.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 82f683c..812077d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,4 @@ seaborn ==0.12.1 matplotlib==3.7.1 scikit-learn==1.3.0 umap-learn ==0.5.3 -pandas == 1.5.0 -pytest ==7.2.1 -pytest-subtests ==0.10.0 adjustText ==0.8 From 03f31088d5be656f9fe67d88bd850a1817bd862d Mon Sep 17 00:00:00 2001 From: Anthony Onwuli Date: Wed, 5 Jul 2023 14:31:05 +0100 Subject: [PATCH 4/4] added pytest-subtests to dev reqs --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 1c7abfb..2ec9087 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,6 +2,7 @@ pre-commit ==2.20.0 black ==23.3.0 isort ==5.12.0 pytest ==7.2.1 +pytest-subtests ==0.10.0 nbqa ==1.5.3 pyupgrade ==3.3.1 flake8 ==6.0.0