ebi-ait / hca-ebi-dev-team

Repository for hca ebi dev team agile management. See zenhub board
0 stars 0 forks source link

As a wrangler I want to be able to use a single CLI for all the data file transfers for getting data into ingest. #162

Open clairerye opened 4 years ago

mshadbolt commented 4 years ago

Wasn't really sure where to put this but I have found some issues with the latest version on pypi. Feel free to move this comment somewhere more useful or let me know if you want me to make a new ticket.

The requirements aren't complete. I tried installing the tool in a clean virtualenv and I get the following error:

(base) C02YV4HKLVDL:envs mshadbolt$ virtualenv test-hca-util
created virtual environment CPython3.7.4.final.0-64 in 442ms
  creator CPython3Posix(dest=/Users/mshadbolt/Desktop/envs/test-hca-util, clear=False, global=False)
  seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/Users/mshadbolt/Library/Application Support/virtualenv/seed-app-data/v1.0.1)
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
(base) C02YV4HKLVDL:envs mshadbolt$ ls
py3env_ss/
test-hca-util/
(base) C02YV4HKLVDL:envs mshadbolt$ source test-hca-util/bin/activate

(base) C02YV4HKLVDL:envs mshadbolt$ source test-hca-util/bin/activate
(test-hca-util) (base) C02YV4HKLVDL:envs mshadbolt$ pip install hca-util
Collecting hca-util
  Downloading hca_util-0.2.5-py3-none-any.whl (30 kB)
Collecting botocore==1.15.*
  Downloading botocore-1.15.49-py2.py3-none-any.whl (6.2 MB)
     |████████████████████████████████| 6.2 MB 1.6 MB/s 
Collecting boto3==1.12.*
  Downloading boto3-1.12.49-py2.py3-none-any.whl (128 kB)
     |████████████████████████████████| 128 kB 2.2 MB/s 
Collecting filetype==1.0.7
  Downloading filetype-1.0.7-py2.py3-none-any.whl (15 kB)
Collecting docutils<0.16,>=0.10
  Using cached docutils-0.15.2-py3-none-any.whl (547 kB)
Collecting jmespath<1.0.0,>=0.7.1
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting urllib3<1.26,>=1.20; python_version != "3.4"
  Using cached urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting s3transfer<0.4.0,>=0.3.0
  Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Collecting six>=1.5
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: docutils, jmespath, urllib3, six, python-dateutil, botocore, s3transfer, boto3, filetype, hca-util
Successfully installed boto3-1.12.49 botocore-1.15.49 docutils-0.15.2 filetype-1.0.7 hca-util-0.2.5 jmespath-0.10.0 python-dateutil-2.8.1 s3transfer-0.3.3 six-1.15.0 urllib3-1.25.9
(test-hca-util) (base) C02YV4HKLVDL:envs mshadbolt$ hca-util --version
Traceback (most recent call last):
  File "/Users/mshadbolt/Desktop/envs/test-hca-util/bin/hca-util", line 5, in <module>
    from ait.commons.util.__main__ import main
  File "/Users/mshadbolt/Desktop/envs/test-hca-util/lib/python3.7/site-packages/ait/commons/util/__main__.py", line 9, in <module>
    from ait.commons.util.cmd import Cmd
  File "/Users/mshadbolt/Desktop/envs/test-hca-util/lib/python3.7/site-packages/ait/commons/util/cmd.py", line 11, in <module>
    from ait.commons.util.command.sync import CmdSync
  File "/Users/mshadbolt/Desktop/envs/test-hca-util/lib/python3.7/site-packages/ait/commons/util/command/sync.py", line 3, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'