Thanks jason/robert for letting me know what's happening on your end. I
sort of fixed it by going to target/python2 and target/python3 and did a
manual pip install six. Then both builds went fine manually. When I did a
mvn clean install on gremlin-python it also worked. None of that makes
sense of course because the pip install would have installed into the
respective virtualenv which would have been destroyed on "clean" so why
that would affect future builds is beyond me. Doing some more builds now to
see if I can get it to fail again in any way.




On Thu, Jun 1, 2017 at 8:26 AM, Jason Plurad <[email protected]> wrote:

> I ran into that yesterday. I think it had something to do with pip getting
> confused between Python 2 and 3 on my system. I ended up uninstalling
> Python 3, which I had installed via Anaconda, and the TP build worked.
> On Thu, Jun 1, 2017 at 8:02 AM Robert Dale <[email protected]> wrote:
>
> > Works for me. I built tp32 yesterday and then this morning on
> > commit e4bb1010.  Did your python env get updated?  Looks like you are
> > using python 3.4.  I have python 2.7.13 and 3.5.3.   They both have 'six'
> > installed:
> >
> > /usr/lib/python3.5/site-packages/six-1.10.0-py3.5.egg-info
> > /usr/lib/python3.5/site-packages/six.py
> > /usr/lib/python2.7/site-packages/six-1.10.0-py2.7.egg-info
> > /usr/lib/python2.7/site-packages/six.py
> >
> >
> >
> >
> > Robert Dale
> >
> > On Thu, Jun 1, 2017 at 7:44 AM, Stephen Mallette <[email protected]>
> > wrote:
> >
> > > It's dying for me on the python3 build even when i try to run it by
> hand.
> > > Oddly Travis is happy as of two hours ago  - maybe it's just me:
> > >
> > > $ env/bin/python setup.py build --build-lib Lib
> > > Traceback (most recent call last):
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > >
> > python/target/python3/env/lib/python3.4/site-packages/
> setuptools/dist.py",
> > > line 418, in fetch_build_egg
> > >     cmd = self._egg_fetcher
> > > AttributeError: 'Distribution' object has no attribute '_egg_fetcher'
> > >
> > > During handling of the above exception, another exception occurred:
> > >
> > > Traceback (most recent call last):
> > >   File "setup.py", line 82, in <module>
> > >     "Programming Language :: Python :: 3.5",
> > >   File "/usr/lib/python3.4/distutils/core.py", line 108, in setup
> > >     _setup_distribution = dist = klass(attrs)
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > >
> > python/target/python3/env/lib/python3.4/site-packages/
> setuptools/dist.py",
> > > line 320, in __init__
> > >     self.fetch_build_eggs(attrs['setup_requires'])
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > >
> > python/target/python3/env/lib/python3.4/site-packages/
> setuptools/dist.py",
> > > line 377, in fetch_build_eggs
> > >     replace_conflicting=True,
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > > python/target/python3/env/lib/python3.4/site-packages/pkg_
> > > resources/__init__.py",
> > > line 852, in resolve
> > >     dist = best[req.key] = env.best_match(req, ws, installer)
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > > python/target/python3/env/lib/python3.4/site-packages/pkg_
> > > resources/__init__.py",
> > > line 1124, in best_match
> > >     return self.obtain(req, installer)
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > > python/target/python3/env/lib/python3.4/site-packages/pkg_
> > > resources/__init__.py",
> > > line 1136, in obtain
> > >     return installer(requirement)
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > >
> > python/target/python3/env/lib/python3.4/site-packages/
> setuptools/dist.py",
> > > line 421, in fetch_build_egg
> > >     from setuptools.command.easy_install import easy_install
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > > python/target/python3/env/lib/python3.4/site-packages/
> > > setuptools/command/easy_install.py",
> > > line 49, in <module>
> > >     from setuptools.py27compat import rmtree_safe
> > >   File
> > > "/home/smallette/git/apache/incubator-tinkerpop/gremlin-
> > > python/target/python3/env/lib/python3.4/site-packages/
> > > setuptools/py27compat.py",
> > > line 7, in <module>
> > >     import six
> > > ImportError: No module named 'six'
> > >
> > >
> > >
> > >
> > > On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette <[email protected]
> >
> > > wrote:
> > >
> > > > Something has gone bad with the build on tp32 and master for
> > > > gremlin-python. I got a clean run before I shut down last night but
> > this
> > > > morning it's strangely tanking (and i didnt' pull new changes) -
> > > something
> > > > around the python dependency "six":
> > > >
> > > > ImportError: No module named six
> > > >
> > > > Not sure if anyone has any clues, but we're dead in the water on
> builds
> > > > right now. I hope this is one of those things where I send a warning
> to
> > > the
> > > > dev list and then it magically gets fixed thirty seconds later.
> > > >
> > >
> >
>

Reply via email to