You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Camille Fournier <ca...@apache.org> on 2017/03/16 15:03:38 UTC

github merging?

I'm trying to follow the instructions on the wiki to approve changes:
https://cwiki.apache.org/confluence/display/ZOOKEEPER/Merging+Github+Pull+Requests

but it does not appear to work. Specifically, this merge script:
python zk-merge-pr.py

is erroring out with:

  File
"/Library/Python/2.7/site-packages/pbr-2.0.0-py2.7.egg/pbr/version.py",
line 25, in <module>

    import pkg_resources

  File "build/bdist.macosx-10.12-intel/egg/pkg_resources/__init__.py", line
72, in <module>

  File "build/bdist.macosx-10.12-intel/egg/packaging/requirements.py", line
59, in <module>

TypeError: __call__() takes exactly 2 arguments (1 given)


Any ideas?


C

Re: github merging?

Posted by Edward Ribeiro <ed...@gmail.com>.
Hi, it looks like an error on setuptools:
http://stackoverflow.com/questions/41827464/pythong-pycparser-setup-error
 (the lib is different but the error is the same on lines)

Eddie

On Thu, Mar 16, 2017 at 1:58 PM, Camille Fournier <sk...@gmail.com>
wrote:

> Thanks Michael I'll check and see if upgrading to 2.7.11 fixes it
>
> On Thu, Mar 16, 2017 at 12:26 PM, Michael Han <ha...@cloudera.com> wrote:
>
> > Looks like a python environment issue. What python version and
> installation
> > are you using? I am using python 2.7.11 installed via homebrew for
> > reference. Also make sure pip is installed (sudo easy_install pip).
> >
> > On Thu, Mar 16, 2017 at 8:48 AM, Camille Fournier <ca...@apache.org>
> > wrote:
> >
> > > Also, can we get this in the 3.5 branch as well?
> > >
> > > On Thu, Mar 16, 2017 at 11:03 AM, Camille Fournier <camille@apache.org
> >
> > > wrote:
> > >
> > > > I'm trying to follow the instructions on the wiki to approve changes:
> > > > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> > > > Merging+Github+Pull+Requests
> > > >
> > > > but it does not appear to work. Specifically, this merge script:
> > > > python zk-merge-pr.py
> > > >
> > > > is erroring out with:
> > > >
> > > >   File "/Library/Python/2.7/site-packages/pbr-2.0.0-py2.7.egg/
> > > pbr/version.py",
> > > > line 25, in <module>
> > > >
> > > >     import pkg_resources
> > > >
> > > >   File "build/bdist.macosx-10.12-intel/egg/pkg_resources/__
> init__.py",
> > > > line 72, in <module>
> > > >
> > > >   File "build/bdist.macosx-10.12-intel/egg/packaging/
> requirements.py",
> > > > line 59, in <module>
> > > >
> > > > TypeError: __call__() takes exactly 2 arguments (1 given)
> > > >
> > > >
> > > > Any ideas?
> > > >
> > > >
> > > > C
> > > >
> > >
> >
> >
> >
> > --
> > Cheers
> > Michael.
> >
>

Re: github merging?

Posted by Camille Fournier <sk...@gmail.com>.
Thanks Michael I'll check and see if upgrading to 2.7.11 fixes it

On Thu, Mar 16, 2017 at 12:26 PM, Michael Han <ha...@cloudera.com> wrote:

> Looks like a python environment issue. What python version and installation
> are you using? I am using python 2.7.11 installed via homebrew for
> reference. Also make sure pip is installed (sudo easy_install pip).
>
> On Thu, Mar 16, 2017 at 8:48 AM, Camille Fournier <ca...@apache.org>
> wrote:
>
> > Also, can we get this in the 3.5 branch as well?
> >
> > On Thu, Mar 16, 2017 at 11:03 AM, Camille Fournier <ca...@apache.org>
> > wrote:
> >
> > > I'm trying to follow the instructions on the wiki to approve changes:
> > > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> > > Merging+Github+Pull+Requests
> > >
> > > but it does not appear to work. Specifically, this merge script:
> > > python zk-merge-pr.py
> > >
> > > is erroring out with:
> > >
> > >   File "/Library/Python/2.7/site-packages/pbr-2.0.0-py2.7.egg/
> > pbr/version.py",
> > > line 25, in <module>
> > >
> > >     import pkg_resources
> > >
> > >   File "build/bdist.macosx-10.12-intel/egg/pkg_resources/__init__.py",
> > > line 72, in <module>
> > >
> > >   File "build/bdist.macosx-10.12-intel/egg/packaging/requirements.py",
> > > line 59, in <module>
> > >
> > > TypeError: __call__() takes exactly 2 arguments (1 given)
> > >
> > >
> > > Any ideas?
> > >
> > >
> > > C
> > >
> >
>
>
>
> --
> Cheers
> Michael.
>

Re: github merging?

Posted by Michael Han <ha...@cloudera.com>.
Looks like a python environment issue. What python version and installation
are you using? I am using python 2.7.11 installed via homebrew for
reference. Also make sure pip is installed (sudo easy_install pip).

On Thu, Mar 16, 2017 at 8:48 AM, Camille Fournier <ca...@apache.org>
wrote:

> Also, can we get this in the 3.5 branch as well?
>
> On Thu, Mar 16, 2017 at 11:03 AM, Camille Fournier <ca...@apache.org>
> wrote:
>
> > I'm trying to follow the instructions on the wiki to approve changes:
> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> > Merging+Github+Pull+Requests
> >
> > but it does not appear to work. Specifically, this merge script:
> > python zk-merge-pr.py
> >
> > is erroring out with:
> >
> >   File "/Library/Python/2.7/site-packages/pbr-2.0.0-py2.7.egg/
> pbr/version.py",
> > line 25, in <module>
> >
> >     import pkg_resources
> >
> >   File "build/bdist.macosx-10.12-intel/egg/pkg_resources/__init__.py",
> > line 72, in <module>
> >
> >   File "build/bdist.macosx-10.12-intel/egg/packaging/requirements.py",
> > line 59, in <module>
> >
> > TypeError: __call__() takes exactly 2 arguments (1 given)
> >
> >
> > Any ideas?
> >
> >
> > C
> >
>



-- 
Cheers
Michael.

Re: github merging?

Posted by Camille Fournier <ca...@apache.org>.
Also, can we get this in the 3.5 branch as well?

On Thu, Mar 16, 2017 at 11:03 AM, Camille Fournier <ca...@apache.org>
wrote:

> I'm trying to follow the instructions on the wiki to approve changes:
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> Merging+Github+Pull+Requests
>
> but it does not appear to work. Specifically, this merge script:
> python zk-merge-pr.py
>
> is erroring out with:
>
>   File "/Library/Python/2.7/site-packages/pbr-2.0.0-py2.7.egg/pbr/version.py",
> line 25, in <module>
>
>     import pkg_resources
>
>   File "build/bdist.macosx-10.12-intel/egg/pkg_resources/__init__.py",
> line 72, in <module>
>
>   File "build/bdist.macosx-10.12-intel/egg/packaging/requirements.py",
> line 59, in <module>
>
> TypeError: __call__() takes exactly 2 arguments (1 given)
>
>
> Any ideas?
>
>
> C
>