fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
123 stars 39 forks source link

Python2 test failed because of wrong pyparsing #234

Open ghost opened 4 years ago

ghost commented 4 years ago

@blackPantherOS Is there something wrong with the Mageia template for your use? The only difference is whether Python 2 is enabled by default or not...

The python2 test used wrong pyparsing. We had to add the pyparsing to the deps in the tox.ini file.

File "/tmp/easy_install-bV_Ldn/pyparsing-3.0.0a1/pyparsing/core.py", line 166 nonlocal found_arity, limit ^ SyntaxError: invalid syntax ERROR: InvocationError for command '/home/travis/build/fedora-python/pyp2rpm/.tox/py27/bin/python setup.py test --addopts -vv' (exited with code 1)

Originally posted by @hmikihth in https://github.com/fedora-python/pyp2rpm/pull/215#issuecomment-616073774

ghost commented 4 years ago

We have solved this issue in the "added blackPanther OS support" pull request. Merge that pull request or add the pyparsing to the deps in the tox.ini file.