Re: broken builds on release branches

2017-06-01 Thread Stephen Mallette
Seems like the problems have resolved themselves. Haven't hit any issues
since I did that weird trick with pip which shouldn't have done anything.
Weird.

On Thu, Jun 1, 2017 at 8:33 AM, Stephen Mallette 
wrote:

> 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  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  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 
>> > 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/setupt
>> ools/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 
>> > > "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/setupt
>> ools/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/setupt
>> ools/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/setupt
>> ools/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 
>> > > 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 
>> > > import six
>> > > ImportError: No module named 'six'
>> > >
>> > >
>> > >
>> > >
>> > > On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette <
>> spmalle...@gmail.com>
>> > > 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 i

[jira] [Commented] (TINKERPOP-1552) C# Gremlin Language Variant

2017-06-01 Thread stephen mallette (JIRA)

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

stephen mallette commented on TINKERPOP-1552:
-

> (By the way: It would be a good idea in my opinion to list Gremlin.Net on the 
> TinkerPop page so that new users start with that driver instead of the 
> abandoned Teva Gremlin.)

[~Florian Hockmann] Didn't realize Teva was abandoned, nor did I realize that 
Gremlin.Net wasn't listed. Perhaps you could bring that up on the dev list as a 
DISCUSS thread so we can build consensus on what to do. 

> IMO it would be nice to have a single assembly per nuget package, but that's 
> a personal preference for a project this size.

[~jorgebg] are you proposing this structure:

{code}
gremlin-dotnet (maven module level)
  src
Gremlin.DotNet
  Driver
  Process
  Structure
{code}

All of that is C# then if there is a need for VB or F# specific odds and ends 
you would just do:


{code}
gremlin-dotnet (maven module level)
  src
Gremlin.DotNet
  Driver
  Process
FSharp
VB
  Structure
{code}

if so, is that typically how mixed language projects organize in the .NET 
world? 

> We could make a different nuget package for the driver implementation but 
> that's optional. 

I think we can follow gremlin-python on this for now and make it just one nuget 
package.

Nice discussion everyone - thank you

> C# Gremlin Language Variant
> ---
>
> Key: TINKERPOP-1552
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1552
> Project: TinkerPop
>  Issue Type: Improvement
>  Components: language-variant
>Affects Versions: 3.2.3
>Reporter: Jorge Bay
>Assignee: stephen mallette
>
> It would be nice to have a C# GLV that runs under .NET Framework 4.5+ and 
> .NET Core.
> The maven build could use the Exec Maven Plugin to exec .NET Core's [dotnet 
> test|https://www.microsoft.com/net/core#macos] command.
> Some requirements, from the mailing list (edited):
> {quote}
> 1. The GLV should keep in line with class/method names of the java API
> where possible to ensure consistency of feel across languages.
> 2. There needs to be adequate tests (we're still discussing the approach to
> testing GLVs and i think that needs to be tackled sooner than later as more
> GLVs start to come in). Those tests should produce xunit style output
> unless there is some good reason not to.
> 3. There needs to be adequate documentation (e.g. Reference docs)
> 4. The build/deploy process needs to be bound to maven which might be one of 
> the trickier bits to deal with.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[DISCUSS] Remaining Items for 3.3.0

2017-06-01 Thread Stephen Mallette
I was just thinking about what needs to be done for 3.3.0 to get it ready
for release. I thought I'd send this email to collect any ideas:

+ Dynamically load the MetricManager in Gremlin Server (TINKERPOP-1550)
+ Clean up IO - both GraphSON 3.0 and Gryo 3.0
+ Remove more deprecated code
+ Test framework improvements (GLVs and in the structure/process suites)

I suppose these could shift and change between now and when we think it's
ready to release. I have no idea how much time it will take to get this all
done, but let's see if anyone else has any other important things for 3.3.0.


[jira] [Created] (TINKERPOP-1684) Improper results with union() in a by()

2017-06-01 Thread stephen mallette (JIRA)
stephen mallette created TINKERPOP-1684:
---

 Summary: Improper results with union() in a by()
 Key: TINKERPOP-1684
 URL: https://issues.apache.org/jira/browse/TINKERPOP-1684
 Project: TinkerPop
  Issue Type: Bug
  Components: process
Affects Versions: 3.2.4
Reporter: stephen mallette


There are some odd results when using a {{union()}} inside a {{by()}}. These 
problems were initially found in {{tree().by()}} as follows:

{code}
gremlin> g.V(1).repeat(out()).emit().tree().next()
==>v[1]={v[2]={}, v[3]={}, v[4]={v[3]={}, v[5]={}}}
gremlin> g.V(1).repeat(out()).emit().tree().by('name').next()
==>marko={vadas={}, josh={ripple={}, lop={}}, lop={}}
gremlin> 
g.V(1).repeat(out()).emit().tree().by(union(__(),repeat(out()).emit().count()).fold()).next()
==>[0, v[1], 5]={[0, v[4], 2]={[0, v[5]]={}}}
==>[v[1], 5]={[0, v[2]]={}, [0, v[3]]={}, [0, v[4], 2]={[0, v[3]]={}}}
{code}

For some reason the final traversal returns two entries to tree where there are 
extra "0" values in the lists that we can't seem to account for. So, i suppose 
this is either a bug or we need some explanation for why the extra zeroes are 
there. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (TINKERPOP-1682) by-modulator optimization strategy

2017-06-01 Thread Daniel Kuppitz (JIRA)

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

Daniel Kuppitz commented on TINKERPOP-1682:
---

After looking through the code of {{ByModulating}} steps I came to the 
conclusion that this is not as easy as I thought. Steps do not handle 
{{modulateBy}} consistently (sometimes the modulating traversal goes into the 
{{childTraversals}} collection, other times it goes into the {{traversalRing}} 
and then there're steps that only store it in a private field) and thus a 
strategy would have to have a whole bunch of {{if (step instanceof ...) else if 
(step instanceof ...)}}.

I think I will do some refactoring and add a new interface method: 
{{ByModulating::getByModulators}}

> by-modulator optimization strategy
> --
>
> Key: TINKERPOP-1682
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1682
> Project: TinkerPop
>  Issue Type: Improvement
>  Components: process
>Affects Versions: 3.2.4
>Reporter: Daniel Kuppitz
>Assignee: Daniel Kuppitz
>
> The can be a significant difference in performance depending on whether you 
> use {{by(id)}} or {{by(id())}}:
> {noformat}
> gremlin> g.V().out().in().path().by(id()).profile()
> ==>Traversal Metrics
> Step   Count  
> Traversers   Time (ms)% Dur
> =
> TinkerGraphStep(vertex,[]) 6  
>  6  12.13758.03
> VertexStep(OUT,vertex) 6  
>  6   1.345 6.43
> VertexStep(IN,vertex) 12  
> 12   0.861 4.12
> PathStep([[IdStep, ProfileStep]]) 12  
> 12   6.57031.42
>   IdStep  36  
> 36   0.452
> >TOTAL -  
>  -  20.916-
> gremlin> g.V().out().in().path().by(id).profile()
> ==>Traversal Metrics
> Step   Count  
> Traversers   Time (ms)% Dur
> =
> TinkerGraphStep(vertex,[]) 6  
>  6   0.87611.54
> VertexStep(OUT,vertex) 6  
>  6   0.714 9.40
> VertexStep(IN,vertex) 12  
> 12   3.29943.43
> PathStep([id])12  
> 12   2.70635.63
> >TOTAL -  
>  -   7.596-
> {noformat}
> We should have a strategy that rewrites these simple patterns. This affects 
> {{id()}}, {{label()}}, {{key()}}, {{value()}}, but also 
> {{by(values("name"))}}, which can be rewritten as {{by("name")}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (TINKERPOP-1682) by-modulator optimization strategy

2017-06-01 Thread Daniel Kuppitz (JIRA)

 [ 
https://issues.apache.org/jira/browse/TINKERPOP-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kuppitz reassigned TINKERPOP-1682:
-

Assignee: Daniel Kuppitz

> by-modulator optimization strategy
> --
>
> Key: TINKERPOP-1682
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1682
> Project: TinkerPop
>  Issue Type: Improvement
>  Components: process
>Affects Versions: 3.2.4
>Reporter: Daniel Kuppitz
>Assignee: Daniel Kuppitz
>
> The can be a significant difference in performance depending on whether you 
> use {{by(id)}} or {{by(id())}}:
> {noformat}
> gremlin> g.V().out().in().path().by(id()).profile()
> ==>Traversal Metrics
> Step   Count  
> Traversers   Time (ms)% Dur
> =
> TinkerGraphStep(vertex,[]) 6  
>  6  12.13758.03
> VertexStep(OUT,vertex) 6  
>  6   1.345 6.43
> VertexStep(IN,vertex) 12  
> 12   0.861 4.12
> PathStep([[IdStep, ProfileStep]]) 12  
> 12   6.57031.42
>   IdStep  36  
> 36   0.452
> >TOTAL -  
>  -  20.916-
> gremlin> g.V().out().in().path().by(id).profile()
> ==>Traversal Metrics
> Step   Count  
> Traversers   Time (ms)% Dur
> =
> TinkerGraphStep(vertex,[]) 6  
>  6   0.87611.54
> VertexStep(OUT,vertex) 6  
>  6   0.714 9.40
> VertexStep(IN,vertex) 12  
> 12   3.29943.43
> PathStep([id])12  
> 12   2.70635.63
> >TOTAL -  
>  -   7.596-
> {noformat}
> We should have a strategy that rewrites these simple patterns. This affects 
> {{id()}}, {{label()}}, {{key()}}, {{value()}}, but also 
> {{by(values("name"))}}, which can be rewritten as {{by("name")}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: broken builds on release branches

2017-06-01 Thread Stephen Mallette
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  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  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 
> > 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 
> > > "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 
> > > 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 
> > > import six
> > > ImportError: No module named 'six'
> > >
> > >
> > >
> > >
> > > On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette  >
> > > 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 the

Re: broken builds on release branches

2017-06-01 Thread Jason Plurad
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  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 
> 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 
> > "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 
> > 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 
> > import six
> > ImportError: No module named 'six'
> >
> >
> >
> >
> > On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette 
> > 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.
> > >
> >
>


Re: broken builds on release branches

2017-06-01 Thread Robert Dale
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 
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 
> "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 
> 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 
> import six
> ImportError: No module named 'six'
>
>
>
>
> On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette 
> 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.
> >
>


Re: broken builds on release branches

2017-06-01 Thread Stephen Mallette
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 
"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 
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 
import six
ImportError: No module named 'six'




On Thu, Jun 1, 2017 at 6:52 AM, Stephen Mallette 
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.
>


broken builds on release branches

2017-06-01 Thread Stephen Mallette
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.


[jira] [Closed] (TINKERPOP-1681) Multiple hasId's are or'd into GraphStep

2017-06-01 Thread Daniel Kuppitz (JIRA)

 [ 
https://issues.apache.org/jira/browse/TINKERPOP-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kuppitz closed TINKERPOP-1681.
-
   Resolution: Fixed
Fix Version/s: 3.2.5

> Multiple hasId's are or'd into GraphStep
> 
>
> Key: TINKERPOP-1681
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1681
> Project: TinkerPop
>  Issue Type: Bug
>  Components: process
>Affects Versions: 3.2.4
>Reporter: Daniel Kuppitz
>Assignee: Daniel Kuppitz
> Fix For: 3.2.5
>
>
> From the dev mailing list:
> {noformat}
> @Test
> public void testHasId() {
> final TinkerGraph graph = TinkerGraph.open();
> Vertex a = graph.addVertex(T.label, "A");
> Vertex b = graph.addVertex(T.label, "B");
> List vertices = 
> graph.traversal().V().hasId(a.id()).hasId(b.id()).toList();
> Assert.assertTrue(vertices.isEmpty());
> }
> {noformat}
> The test fails as the both vertices are returned.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[GitHub] tinkerpop pull request #617: TINKERPOP-1681 Multiple hasId's are or'd into G...

2017-06-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/tinkerpop/pull/617


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (TINKERPOP-1681) Multiple hasId's are or'd into GraphStep

2017-06-01 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TINKERPOP-1681:
---

Github user asfgit closed the pull request at:

https://github.com/apache/tinkerpop/pull/617


> Multiple hasId's are or'd into GraphStep
> 
>
> Key: TINKERPOP-1681
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1681
> Project: TinkerPop
>  Issue Type: Bug
>  Components: process
>Affects Versions: 3.2.4
>Reporter: Daniel Kuppitz
>Assignee: Daniel Kuppitz
>
> From the dev mailing list:
> {noformat}
> @Test
> public void testHasId() {
> final TinkerGraph graph = TinkerGraph.open();
> Vertex a = graph.addVertex(T.label, "A");
> Vertex b = graph.addVertex(T.label, "B");
> List vertices = 
> graph.traversal().V().hasId(a.id()).hasId(b.id()).toList();
> Assert.assertTrue(vertices.isEmpty());
> }
> {noformat}
> The test fails as the both vertices are returned.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)