From 20cd09e00917adbc4afeaa753be831a6bc2740f7 Mon Sep 17 00:00:00 2001 From: Moyiz <8603313+moyiz@users.noreply.github.com> Date: Wed, 27 Oct 2021 10:17:39 +0300 Subject: [PATCH] Limit pyparsing to major version 2 (#471) --- noxfile.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index d5389b50..956201a6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -28,6 +28,7 @@ def coverage(*args): # Once coverage 5 is used then `.coverage` can move into `pyproject.toml`. session.install("coverage<5.0.0", "pretend", "pytest>=6.2.0", "pip>=9.0.2") + session.install(".") if "pypy" not in session.python: coverage( diff --git a/setup.py b/setup.py index 419aa284..c6a1caec 100644 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ author=about["__author__"], author_email=about["__email__"], python_requires=">=3.6", - install_requires=["pyparsing>=2.0.2"], # Needed to avoid issue #91 + install_requires=["pyparsing>=2.0.2,<3"], # Needed to avoid issue #91 classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers",