Page MenuHomeSoftware Heritage
Paste P784

Tox another fail in swh-scanner
ActivePublic

Authored by tenma on Sep 25 2020, 2:15 PM.
(swh) tenma@swh-ng1:~/Dev/swh-env/swh-scanner$ tox -r -e mypy
GLOB sdist-make: /home/tenma/Dev/swh-env/swh-scanner/setup.py
mypy recreate: /home/tenma/Dev/swh-env/swh-scanner/.tox/mypy
mypy installdeps: mypy
mypy inst: /home/tenma/Dev/swh-env/swh-scanner/.tox/.tmp/package/1/swh.scanner-0.2.1.dev2+ga7a17e7.d20200925.zip
mypy installed: aiohttp==3.6.2,aioresponses==0.6.4,amqp==5.0.1,apipkg==1.5,arrow==0.16.0,async-timeout==3.0.1,attrs==20.2.0,attrs-strict==0.2.0,beautifulsoup4==4.9.1,billiard==3.6.3.0,Brotli==1.0.9,cachetools==4.1.1,cassandra-driver==3.24.0,celery==5.0.0,certifi==2020.6.20,cffi==1.14.3,chardet==3.0.4,click==7.1.2,click-didyoumean==0.0.3,click-repl==0.1.6,confluent-kafka==1.5.0,cryptography==3.1.1,dash==1.16.1,dash-bootstrap-components==0.10.6,dash-core-components==1.12.1,dash-html-components==1.1.1,dash-renderer==1.8.1,dash-table==4.10.1,decorator==4.4.2,Deprecated==1.2.10,Django==2.2.16,django-cors-headers==3.5.0,django-js-reverse==0.9.1,django-stubs==1.5.0,django-webpack-loader==0.7.0,djangorestframework==3.11.1,djangorestframework-stubs==1.2.0,docutils==0.16,dulwich==0.20.6,ecdsa==0.14.1,elasticsearch==7.9.1,execnet==1.7.1,fastimport==0.9.8,Flask==1.1.2,Flask-Compress==1.5.0,frozendict==1.2,future==0.18.2,geomet==0.2.1.post1,htmlmin==0.1.12,hypothesis==5.36.0,idna==2.10,importlib-metadata==2.0.0,iniconfig==1.0.1,iso8601==0.1.13,itsdangerous==1.1.0,Jinja2==2.11.2,kombu==5.0.2,lxml==4.5.2,MarkupSafe==1.1.1,mirakuru==2.3.0,more-itertools==8.5.0,msgpack==1.0.0,multidict==4.7.6,mypy==0.782,mypy-extensions==0.4.3,ndjson==0.3.1,numpy==1.19.2,packaging==20.4,pandas==1.1.2,pika==1.1.0,pkginfo==1.5.0.1,plotly==4.10.0,pluggy==0.13.1,port-for==0.4,prometheus-client==0.8.0,prompt-toolkit==3.0.7,psutil==5.7.2,psycopg2==2.8.6,py==1.9.0,pyasn1==0.4.8,pybadges==2.2.1,pycparser==2.20,Pygments==2.7.1,PyLD==2.0.3,pyparsing==2.4.7,pytest==6.0.2,pytest-asyncio==0.14.0,pytest-django==3.10.0,pytest-flask==1.0.0,pytest-forked==1.3.0,pytest-mock==3.3.1,pytest-postgresql==2.5.0,pytest-xdist==2.1.0,python-dateutil==2.8.1,python-debian==0.1.37,python-jose==3.2.0,python-keycloak==0.22.0,python-magic==0.4.18,python-memcached==1.59,pytz==2020.1,PyYAML==5.3.1,requests==2.24.0,requests-mock==1.8.0,retrying==1.3.3,rsa==4.6,sentry-sdk==0.17.8,six==1.15.0,sortedcontainers==2.2.2,soupsieve==2.0.1,sqlalchemy-stubs==0.3,sqlparse==0.3.1,swh.core==0.3.0,swh.indexer==0.2.4,swh.journal==0.4.3,swh.loader.core==0.11.0,swh.loader.git==0.3.6,swh.model==0.6.6,swh.objstorage==0.2.1,swh.scanner @ file:///home/tenma/Dev/swh-env/swh-scanner/.tox/.tmp/package/1/swh.scanner-0.2.1.dev2%2Bga7a17e7.d20200925.zip,swh.scheduler==0.6.0,swh.search==0.2.3,swh.storage==0.15.3,swh.vault==0.1.0,swh.web==0.0.260,tenacity==6.2.0,toml==0.10.1,typed-ast==1.4.1,typing-extensions==3.7.4.3,urllib3==1.25.10,vcversioner==2.16.0.0,vine==5.0.0,wcwidth==0.2.5,Werkzeug==1.0.1,wrapt==1.12.1,xmltodict==0.12.0,yarl==1.6.0,zipp==3.2.0
mypy run-test-pre: PYTHONHASHSEED='2645111363'
mypy run-test: commands[0] | mypy swh
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:12: error: Cannot find implementation or library stub for module named 'libcloud.storage'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:12: error: Cannot find implementation or library stub for module named 'libcloud.storage.providers'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:13: error: Cannot find implementation or library stub for module named 'libcloud.storage.drivers.s3'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:13: error: Cannot find implementation or library stub for module named 'libcloud'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:13: error: Cannot find implementation or library stub for module named 'libcloud.storage.drivers'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/libcloud.py:14: error: Cannot find implementation or library stub for module named 'libcloud.storage.types'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/azure.py:12: error: Cannot find implementation or library stub for module named 'azure.core.exceptions'
.tox/mypy/lib/python3.7/site-packages/swh/objstorage/backends/azure.py:12: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
Found 7 errors in 2 files (checked 17 source files)
ERROR: InvocationError for command /home/tenma/Dev/swh-env/swh-scanner/.tox/mypy/bin/mypy swh (exited with code 1)
__________________________________________________________ summary ___________________________________________________________
ERROR: mypy: commands failed