Google cloud platform app deploy failure due to pyparsing

Viewed 699

I've successfully deployed many updates over the past weeks on google cloud platform, but I went to perform a standard deployment today and received this error:

found incompatible dependencies: "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."

I tried installing different versions of pyparsing to resolve the issue but none worked with all other dependencies. Are recent updates to pyparsing causing an issue?

1 Answers

Pyparsing versions compatible with packing 21.2 are versions <3 and > 2.0.2. you can install 2.4.7 which is the immediate version before version 3.

You can install 2.4.7 by using command pip install pyparsing=2.4.7

Related