ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
200 stars 129 forks source link

šŸ› Bug: pyairtable dependency missing from pyproject.toml #1242

Open kartikey-vyas opened 3 weeks ago

kartikey-vyas commented 3 weeks ago

Describe the bug.

Noticed this while installing and running ersilia inside a github actions worker.

GHA worker was a standard ubuntu-latest. Dependencies installed via this set of commands:

cd ersilia
conda install -y python=3.10
conda init
python -m pip install -e .[test]

During the run we run into this error:

08:43:47 | DEBUG    | No need to use Conda!
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
  warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
šŸšØšŸšØšŸšØ Something went wrong with Ersilia šŸšØšŸšØšŸšØ

Error message:

No module named 'pyairtable'
If this error message is not helpful, open an issue at:
 - https://github.com/ersilia-os/ersilia
Or feel free to reach out to us at:
 - hello[at]ersilia.io

If you haven't, try to run your command in verbose mode (-v in the CLI)
 - You will find the console log file in: /home/runner/eos/current.log

Describe the steps to reproduce the behavior

No response

Operating environment

Ubuntu 22.04 (GitHub Actions runner)

kartikey-vyas commented 3 weeks ago

working around this by adding pip install pyairtable as an extra command, so no urgency from our side :)

DhanshreeA commented 2 weeks ago

Hey @kartikey-vyas, thank you for filing a bug report here! Could you please tell me which command(s) you ran that produced this error?

kartikey-vyas commented 2 weeks ago

Ah sorry, we just had the workflow calling

'ersilia serve eos2zmb' 'ersilia run eos2zmb -i input.csv -o output.csv'