From 439b6810c9bab85e8fec92878bcc791197f14e8d Mon Sep 17 00:00:00 2001 From: Abellegese Date: Wed, 23 Oct 2024 17:27:03 +0000 Subject: [PATCH] Performance Improvement on the Airtable Interface --- pyproject.toml | 52 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0fdb8e908..7d9caf946 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,19 +8,25 @@ readme = "README.md" homepage = "https://ersilia.io" repository = "https://github.com/ersilia-os/ersilia" documentation = "https://ersilia.io/model-hub" -keywords= ["drug-discovery", "machine-learning", "ersilia", "open-science", "global-health", "model-hub", "infectious-diseases"] -classifiers=[ - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Operating System :: OS Independent", - "Topic :: Scientific/Engineering :: Artificial Intelligence", +keywords = [ + "drug-discovery", + "machine-learning", + "ersilia", + "open-science", + "global-health", + "model-hub", + "infectious-diseases", ] -packages = [ - {include = "ersilia"}, +classifiers = [ + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering :: Artificial Intelligence", ] +packages = [{ include = "ersilia" }] include = [ "ersilia/hub/content/metadata/*.txt", "ersilia/io/types/examples/*.tsv", @@ -31,8 +37,8 @@ python = ">=3.7" inputimeout = "^1.0.4" emoji = "^2.8.0" validators = [ - {version="0.20.0", python="3.7.*"}, - {version="~0.21.0", python=">=3.8"}, + { version = "0.20.0", python = "3.7.*" }, + { version = "~0.21.0", python = ">=3.8" }, ] psutil = ">=5.9.0" @@ -46,16 +52,20 @@ docker = "^6.1.3" boto3 = "^1.28.40" requests = "<=2.31.0" numpy = "<=1.26.4" -isaura = {version="0.1", optional=true} +pyairtable = [ + { version = "<2", markers = "python_version == '3.7'" }, + { version = "<3", markers = "python_version > '3.7'" }, +] +isaura = { version = "0.1", optional = true } aiofiles = "<=24.1.0" aiohttp = "<=3.10.9" -pytest = {version = "^7.4.0", optional = true} -pytest-asyncio = {version = "<=0.24.0", optional = true} -pytest-benchmark = {version = "<=4.0.0", optional = true} -fuzzywuzzy = {version = "^0.18.0", optional = true} -sphinx = {version = ">=5.3.0", optional = true} # For compatibility with python 3.7.x -jinja2 = {version = "^3.1.2", optional = true} -scipy = {version = "<=1.10.0", optional = true} +pytest = { version = "^7.4.0", optional = true } +pytest-asyncio = { version = "<=0.24.0", optional = true } +pytest-benchmark = { version = "<=4.0.0", optional = true } +fuzzywuzzy = { version = "^0.18.0", optional = true } +sphinx = { version = ">=5.3.0", optional = true } +jinja2 = { version = "^3.1.2", optional = true } +scipy = { version = "<=1.10.0", optional = true } [tool.poetry.extras] # Instead of using poetry dependency groups, we use extras to make it pip installable