-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8927a7e
commit 3382a86
Showing
6 changed files
with
33 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "0.1.33" | ||
version = "0.1.34" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import importlib | ||
import sys | ||
from ...utils.terminal import run_command | ||
|
||
class PyAirtableRequirement: | ||
def __init__(self): | ||
self.name = "pyairtable" | ||
|
||
def is_installed(self): | ||
try: | ||
importlib.import_module(self.name) | ||
return True | ||
except: | ||
return False | ||
|
||
def install(self): | ||
version = '<2' if sys.version_info.minor == 7 else '<3' | ||
run_command(f"python -m pip install 'pyairtable{version}'") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "ersilia" | ||
version = "0.1.33" | ||
version = "0.1.34" | ||
description = "A hub of AI/ML models for open source drug discovery and global health" | ||
license = "GPLv3" | ||
authors = ["Ersilia Open Source Initiative <[email protected]>"] | ||
|
@@ -40,10 +40,6 @@ pandas = [ | |
] | ||
h5py = "^3.7.0" # For compatibility with isaura | ||
loguru = "^0.6.0" # For compatibility with isaura | ||
pyairtable = [ | ||
{version="<2", python="3.7.*"}, | ||
{version="<3", python=">=3.8"}, | ||
] | ||
PyYAML = "^6.0.1" | ||
dockerfile-parse = "^2.0.1" | ||
tqdm = "^4.66.1" | ||
|