diff --git a/setup.py b/setup.py index f61f27221555..136ea6eeba94 100644 --- a/setup.py +++ b/setup.py @@ -326,7 +326,7 @@ def make_release_tree(self, base_dir, files): "numpy>=1.17", "packaging>=20.0", "pillow>=6.2.0", - "pyparsing>=2.2.1", + "pyparsing>=2.2.1,<3", "python-dateutil>=2.7", ] + ( # Installing from a git checkout.