Discussion:
[Pyparsing] Problems when installing version 2.0.0 using pip
Álvaro Justen [Turicas]
2013-02-27 08:33:15 UTC
Permalink
Hello,

I'm developing a project[https://github.com/NAMD/pypelinin] that uses
python-graph-dot[https://pypi.python.org/pypi/python-graph-dot], which
depends on pyparsing.
I figured out that you released version 2.0.0 some hours ago because I
tried to package my library to test some stuff and the installation
process failed by a SyntaxError when pip was trying to install
pyparsing.

I'm using Python 2.7.3 and all the log can be found at:
https://gist.github.com/turicas/5046284

Basically, the SyntaxError exception is raised on file "pyparsing.py",
line 629 ("nonlocal limit,foundArity").
To reproduce this problem you just need to install it in a new virtualenv:

cd /tmp
virtualenv pyparsing-test
source pyparsing-test/bin/activate
pip install python-graph-dot
deactivate
rm -rf pyparsing-test

Is there any plans on fixing this problem? I'm considering removing
python-graph-dot dependency in my library for now because I simply
can't install it because of this bug.

Thanks,
[]s
--
Álvaro Justen "Turicas"
http://blog.justen.eng.br http://twitter.com/turicas
http://CursoDeArduino.com.br http://github.com/turicas
+55 21 9898-0141
Paul McGuire
2013-02-27 09:01:26 UTC
Permalink
Álvaro Justen [Turicas]
2013-02-27 13:29:38 UTC
Permalink
pip install pyparsing==1.5.7
Yes, I know I can do it, but sincerely I don't want to since my library
does not depends directly on pyparsing.
Hopefully this will explicitly load the Python2-compatible version of
pyparsing, and then pydot won't need to try to autoresolve it.

*Seriously* that you will break everything that needs pyparsing and uses
Python 2?
-- Paul
-----Original Message-----
Sent: Wednesday, February 27, 2013 2:33 AM
Subject: [Pyparsing] Problems when installing version 2.0.0 using pip
Hello,
I'm developing a project[https://github.com/NAMD/pypelinin] that uses
python-graph-dot[https://pypi.python.org/pypi/python-graph-dot], which
depends on pyparsing.
I figured out that you released version 2.0.0 some hours ago because I
tried to package my library to test some stuff and the installation process
failed by a SyntaxError when pip was trying to install pyparsing.
https://gist.github.com/turicas/5046284
Basically, the SyntaxError exception is raised on file "pyparsing.py",
line 629 ("nonlocal limit,foundArity").
cd /tmp
virtualenv pyparsing-test
source pyparsing-test/bin/activate
pip install python-graph-dot
deactivate
rm -rf pyparsing-test
Is there any plans on fixing this problem? I'm considering removing
python-graph-dot dependency in my library for now because I simply can't
install it because of this bug.
Thanks,
[]s
--
Álvaro Justen "Turicas"
http://blog.justen.eng.br http://twitter.com/turicas
http://CursoDeArduino.com.br http://github.com/turicas
+55 21 9898-0141
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Pyparsing-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyparsing-users
=C3=81lvaro Justen [Turicas] [mailto:]=20
1970-01-01 00:00:00 UTC
Permalink
Can you precede your install of pydot with:

pip install pyparsing=3D=3D1.5.7

Hopefully this will explicitly load the Python2-compatible version of =
pyparsing, and then pydot won't need to try to autoresolve it.

-- Paul


-----Original Message-----
From: =C3=81lvaro Justen [Turicas] [mailto:***@gmail.com]=20
Sent: Wednesday, February 27, 2013 2:33 AM
To: pyparsing-***@lists.sourceforge.net
Subject: [Pyparsing] Problems when installing version 2.0.0 using pip

Hello,

I'm developing a project[https://github.com/NAMD/pypelinin] that uses =
python-graph-dot[https://pypi.python.org/pypi/python-graph-dot], which =
depends on pyparsing.
I figured out that you released version 2.0.0 some hours ago because I =
tried to package my library to test some stuff and the installation =
process failed by a SyntaxError when pip was trying to install =
pyparsing.

I'm using Python 2.7.3 and all the log can be found at:
https://gist.github.com/turicas/5046284

Basically, the SyntaxError exception is raised on file "pyparsing.py", =
line 629 ("nonlocal limit,foundArity").
To reproduce this problem you just need to install it in a new =
virtualenv:

cd /tmp
virtualenv pyparsing-test
source pyparsing-test/bin/activate
pip install python-graph-dot
deactivate
rm -rf pyparsing-test

Is there any plans on fixing this problem? I'm considering removing =
python-graph-dot dependency in my library for now because I simply can't =
install it because of this bug.

Thanks,
[]s
--
=C3=81lvaro Justen "Turicas"
http://blog.justen.eng.br http://twitter.com/turicas
http://CursoDeArduino.com.br http://github.com/turicas
+55 21 9898-0141

-------------------------------------------------------------------------=
-----
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for =
free today:
http://p.sf.net/sfu/appdyn_d2d_feb
unknown
1970-01-01 00:00:00 UTC
Permalink
Alvaro -

Unfortunately this is the best I can offer. We are in the awkward in-betwee=
n Python2-or-Python3 compatibility period, which is likely to last a few mo=
re years at least. My previous approach to handling the version dichotomy w=
as error-prone, and I finally decided to just move forward to Python 3 as m=
y main supported Python version. Starting with 2.0.1, I will start converti=
ng over the supporting code and examples to be more Python3 idiomatic - thi=
s of course will not affect the 1.5.x branch of pyparsing. Fortunately both=
pip and easy_install offer a command syntax to explicitly request a partic=
ular version of pyparsing, so Python 2 users do have a not-too-terrible wor=
karound for the default behavior of installing the latest version of a pack=
age.

-- Paul
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
pip install pyparsing=3D=3D1.5.7
Yes, I know I can do it, but sincerely I don't want to since my library
does not depends directly on pyparsing.
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
Hopefully this will explicitly load the Python2-compatible version of
pyparsing, and then pydot won't need to try to autoresolve it.

*Seriously* that you will break everything that needs pyparsing and uses
Python 2?
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
-- Paul
-----Original Message-----
Sent: Wednesday, February 27, 2013 2:33 AM
Subject: [Pyparsing] Problems when installing version 2.0.0 using pip
Hello,
I'm developing a project[https://github.com/NAMD/pypelinin] that uses
python-graph-dot[https://pypi.python.org/pypi/python-graph-dot], which
depends on pyparsing.
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
I figured out that you released version 2.0.0 some hours ago because I
tried to package my library to test some stuff and the installation process
failed by a SyntaxError when pip was trying to install pyparsing.
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
https://gist.github.com/turicas/5046284
Basically, the SyntaxError exception is raised on file "pyparsing.py",
line 629 ("nonlocal limit,foundArity").
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
To reproduce this problem you just need to install it in a new virtualenv=
cd /tmp
virtualenv pyparsing-test
source pyparsing-test/bin/activate
pip install python-graph-dot
deactivate
rm -rf pyparsing-test
Is there any plans on fixing this problem? I'm considering removing
python-graph-dot dependency in my library for now because I simply can't
install it because of this bug.
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
Thanks,
[]s
--
=C3=81lvaro Justen "Turicas"
http://blog.justen.eng.br http://twitter.com/turicas
http://CursoDeArduino.com.br http://github.com/turicas
+55 21 9898-0141
---------------------------------------------------------------------------=
---
Post by =C3=81lvaro Justen [Turicas] [mailto:]=20
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Pyparsing-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyparsing-users
---------------------------------------------------------------------------=
---
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Continue reading on narkive:
Loading...