From c759e33bc62f941148c0c598cfde514b3369e632 Mon Sep 17 00:00:00 2001 From: Moyiz <8603313+moyiz@users.noreply.github.com> Date: Sun, 24 Oct 2021 14:22:35 +0300 Subject: [PATCH 1/2] Limit pyparsing to major version 2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From aafa9b200fda281da7d64fae54c8bb6fdf73fe8a Mon Sep 17 00:00:00 2001 From: Moyiz <8603313+moyiz@users.noreply.github.com> Date: Sun, 24 Oct 2021 15:35:48 +0300 Subject: [PATCH 2/2] Update noxfile.py to install current package --- noxfile.py | 1 + 1 file changed, 1 insertion(+) 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(