Exclude known-broken pyparsing versions master
authorKim Gräsman <kim.grasman@gmail.com>
Wed, 15 Dec 2021 17:24:45 +0000 (18:24 +0100)
committerKim Gräsman <kim.grasman@gmail.com>
Wed, 15 Dec 2021 17:24:45 +0000 (18:24 +0100)
We ran into the following pyparsing bug:
https://github.com/pyparsing/pyparsing/issues/345

After some bisecting it turned out it's only present in pyparsing 3.0.5-6,
and the pyparsing folks were quick to fix it for 3.0.7.

Exclude the broken versions from install_requires.

setup.py

index 23313713ed57510ca14d653a7294e7d3681356d8..fe42b0e9c6381c448e065376b78ea1b608a90eb1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ setup(
     ],
     platforms=['any'],
     install_requires=[
-        'pyparsing>=2.0.0',
+        'pyparsing >=2.0.0, !=3.0.5, !=3.0.6',
     ],
     classifiers=[
         'Development Status :: 3 - Alpha',