Open sangmeshcp opened 6 years ago
Weird. Can you pip install pytest-runner
? I tried to recreate from scratch in both py2.7 and py3.6 and it just worked...
Similar issue:
[root@tardis python36]# /root/pydev/py36-venv/bin/pip download --proxy=http://proxyuser:proxypass@proxy:8080 pydruid --dest=/tmp/python36
Collecting pydruid
File was already downloaded /tmp/python36/pydruid-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/pytest-runner/: [Errno 101] Network is unreachable -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno 101] Network is unreachable -- Some packages may not be found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
File "
Download of pytest-runner works: [root@tardis python36]# /root/pydev/py36-venv/bin/pip download --proxy=http://proxyuser:proxypass@proxy:8080 pytest-runner --dest=/tmp/python36 Collecting pytest-runner File was already downloaded /tmp/python36/pytest_runner-4.2-py2.py3-none-any.whl Successfully downloaded pytest-runner
setup.py: `import sys from setuptools import setup
install_requires = [ "six >= 1.9.0", "requests", ]
extras_require = { "pandas": ["pandas"], "async": ["tornado"], "sqlalchemy": ["sqlalchemy"], "cli": ["pygments", "prompt_toolkit<2.0.0", "tabulate"], }
if sys.version_info < (2, 6): install_requires.append("simplejson >= 3.3.0")
setup( name='pydruid', version='0.5.0', author='Druid Developers', author_email='druid-development@googlegroups.com', packages=['pydruid', 'pydruid.db', 'pydruid.utils'], url='https://pypi.python.org/pypi/pydruid/', license='Apache License, Version 2.0', description='A Python connector for Druid.', long_description='See https://github.com/druid-io/pydruid for more information.', install_requires=install_requires, extras_require=extras_require, setup_requires=['pytest-runner'], tests_require=['pytest', 'six', 'mock'], entry_points={ 'console_scripts': [ 'pydruid = pydruid.console:main', ], 'sqlalchemy.dialects': [ 'druid = pydruid.db.sqlalchemy:DruidHTTPDialect', 'druid.http = pydruid.db.sqlalchemy:DruidHTTPDialect', 'druid.https = pydruid.db.sqlalchemy:DruidHTTPSDialect', ], }, include_package_data=True, ) `
I checked all versions on PyPi and issue appears from version 0.4.0 - 0.5.0. Versions 0.2.x and 0.3.x download fine (they don't ask for pytest-runner).
Problem occurred because this was clean install. Solution was to install pytest-runner before I tried pydruid install.
This bug still exists, why not adding pytest-runner to the dependencies if it's needed by the lib?
hitting on MAC OS ..