[ 
https://issues.apache.org/jira/browse/KUDU-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613516#comment-15613516
 ] 

Andrew Stadtler edited comment on KUDU-1705 at 10/27/16 10:46 PM:
------------------------------------------------------------------

Confirmed but it looks like the version of setup tools is really old and 
python2.6 is no longer supported by the core-team.

centos 6.8
setuptools 0.6rc11
python 2.6.6

{code:none}
# pip install kudu-python
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please 
upgrade your Python. A future version of pip will drop support for Python 2.6
Collecting kudu-python
  Using cached kudu-python-0.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    Building from system prefix /usr

    Installed 
/tmp/easy_install-9wLesh/pytest-runner-2.9/setuptools_scm-1.15.0-py2.6.egg
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded
    zip_safe flag not set; analyzing archive contents...

    Installed /tmp/pip-build-Z6Gnis/kudu-python/pytest_runner-2.9-py2.6.egg
    running egg_info
    creating pip-egg-info/kudu_python.egg-info
    writing requirements to pip-egg-info/kudu_python.egg-info/requires.txt
    writing pip-egg-info/kudu_python.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/kudu_python.egg-info/top_level.txt
    writing dependency_links to 
pip-egg-info/kudu_python.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/kudu_python.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-Z6Gnis/kudu-python/setup.py", line 166, in <module>
        test_suite="kudu.tests"
      File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
        self.run_command(cmd)
      File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 179, in run
        self.find_sources()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 254, in find_sources
        mm.run()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 308, in run
        self.add_defaults()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 335, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/usr/lib/python2.6/site-packages/setuptools/command/sdist.py", line 
46, in walk_revctrl
        for item in ep.load()(dirname):
      File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in 
load
        entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    ImportError: No module named setuptools_scm.integration

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-Z6Gnis/kudu-python/
{code}



was (Author: astadtler):
Confirmed but it looks like the version of setup tools is really old and 
python2.6 is no longer supported by the core-team.

centos 6.8
setuptools 0.6rc11
python2.6.6

{code:none}
# pip install kudu-python
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please 
upgrade your Python. A future version of pip will drop support for Python 2.6
Collecting kudu-python
  Using cached kudu-python-0.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    Building from system prefix /usr

    Installed 
/tmp/easy_install-9wLesh/pytest-runner-2.9/setuptools_scm-1.15.0-py2.6.egg
    your setuptools is too old (<12)
    setuptools_scm functionality is degraded
    zip_safe flag not set; analyzing archive contents...

    Installed /tmp/pip-build-Z6Gnis/kudu-python/pytest_runner-2.9-py2.6.egg
    running egg_info
    creating pip-egg-info/kudu_python.egg-info
    writing requirements to pip-egg-info/kudu_python.egg-info/requires.txt
    writing pip-egg-info/kudu_python.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/kudu_python.egg-info/top_level.txt
    writing dependency_links to 
pip-egg-info/kudu_python.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/kudu_python.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-Z6Gnis/kudu-python/setup.py", line 166, in <module>
        test_suite="kudu.tests"
      File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
        self.run_command(cmd)
      File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 179, in run
        self.find_sources()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 254, in find_sources
        mm.run()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 308, in run
        self.add_defaults()
      File "/usr/lib/python2.6/site-packages/setuptools/command/egg_info.py", 
line 335, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/usr/lib/python2.6/site-packages/setuptools/command/sdist.py", line 
46, in walk_revctrl
        for item in ep.load()(dirname):
      File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in 
load
        entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    ImportError: No module named setuptools_scm.integration

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-Z6Gnis/kudu-python/
{code}


> [Python] - PIP Install is not installing Cython dependency automatically
> ------------------------------------------------------------------------
>
>                 Key: KUDU-1705
>                 URL: https://issues.apache.org/jira/browse/KUDU-1705
>             Project: Kudu
>          Issue Type: Bug
>          Components: build, python
>    Affects Versions: 1.0.1
>            Reporter: Jordan Birdsell
>            Assignee: Jordan Birdsell
>
> [~dineshabbi] reported a failure in a pip install caused by a missing Cython 
> dependency. This should be installed automatically.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to