From 1b98d4e12a4010658ff7f69c5cbe6d2c74e012c8 Mon Sep 17 00:00:00 2001 From: JavaScriptDude Date: Sun, 30 Oct 2022 20:39:51 -0400 Subject: [PATCH] Lock pyparsing to 2.4.7 Maximum I am writing a nginx/wsgi management tool called `pynx` that uses your excellent tools to parse the nginx config files. While testing on one of my production servers it failed with the error `Skip unparseable block: "server"`. I disovered that the server failing was using `pyparsing` 3.0.9. I was able to fix this by downgrading to the last stable 2.x release of 2.4.7. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index dbf6d5f..7ad0a6f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -pyparsing>=1.5.5 +pyparsing>=1.5.5,<=2.4.7 cached-property>=1.2.0 argparse>=1.4.0 six>=1.1.0 Jinja2>=2.8 -ConfigArgParse>=0.11.0 \ No newline at end of file +ConfigArgParse>=0.11.0