[Python-modules-team] Bug#970158: Have PyParsing 3.0.7 does not support Pypy

Matt Grant matt at mattgrant.net.nz
Tue Feb 8 05:18:41 GMT 2022


Hi!

Have updated PyParsing to 3.0.7 as per bug.  Problem is, pypy is not
supported any more ;-(
Had to delete pypy-pyparsing package from debian/control to get everything
to build....

Ummm, shall I push this...  Don't have time to patch sources to remove the
CPython type hints that Pypy doesn't like.  Get:

running clean
removing
'/usr/src/debian/grantma/dpmt/pyparsing/pyparsing/.pybuild/cpython3_3.10_pyparsing/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
I: pybuild base:237: python3.9 setup.py clean
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage
of dash-separated 'build-lib' will not be supported in future versions.
Please use the underscore name 'build_lib' instead
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage
of dash-separated 'install-layout' will not be supported in future
versions. Please use the underscore name 'install_layout' instead
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage
of dash-separated 'install-scripts' will not be supported in future
versions. Please use the underscore name 'install_scripts' instead
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage
of dash-separated 'install-lib' will not be supported in future versions.
Please use the underscore name 'install_lib' instead
  warnings.warn(
running clean
'/home/grantma/src/dpt/pyparsing/.pybuild/cpython3_3.9_pyparsing/build'
does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
I: pybuild base:237: pypy setup.py clean
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    from pyparsing import __version__ as pyparsing_version
  File
"/usr/src/debian/grantma/dpmt/pyparsing/pyparsing/pyparsing/__init__.py",
line 100
    major: int
         ^
SyntaxError: invalid syntax
E: pybuild pybuild:367: clean: plugin distutils failed with: exit code=1:
pypy setup.py clean
dh_auto_clean: error: pybuild --clean -i pypy -p 7.3 returned exit code 13


Regrds,

Matt Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20220208/3aa195d1/attachment.htm>


More information about the Python-modules-team mailing list