Python deployment fails with "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."
Solution 1:
Manually installing pyparsing 2.4.7 has been reported to work.
I released pyparsing 3.0.6 today, in which I try to accommodate the issues in the packaging code that uses pyparsing. 3.0.6 fails 1 unit test of packaging 21.2 that tests for a specific string in an exception message, but otherwise all tests pass.
Please try installing pyparsing 3.0.6, which should be compatible with packaging 21.2 and later.
[UPDATE] Packaging 21.3 just dropped, so you should be able to upgrade both libraries. It looks like packaging is working on a new parser to replace their pyparsing one, so this will reduce their external dependencies. (I think this has been in their roadmap for a long time, so they are finally getting around to it.)