Score:2

Python deployment fails with "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."

ro flag

Issue in google app engine: previous deployment 1 week ago was ok, now i get

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

both packages are not defined in the requirements.txt file.

It looks like a new packaging version 21.2 was deployed automatically. How to solve this?

Update: being worked on:

https://github.com/pypa/packaging/pull/482

Score:2
bm flag

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.)

Jan Morawiec avatar
in flag
Thank you, manually installing pyparsing 2.4.7 fixed the issue on Google App Engine for me until packaging comes out with a new version.
PaulMcG avatar
bm flag
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.)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.