Pyparsing version compatability issue with snowplow-tracker

Hello Team,

New version of "pyparsing " package was released on Oct 24th. our snowplow-tracker (0.9.0) is using pyparsing package.

It seems, snowplow-tracker 0.9.0 package is not compatible with pyparsing 3.0.1.

If we use both the latest packages, we are getting the following error.

ImportError: cannot import name ‘operatorPrecedence’ from ‘pyparsing’ (/usr/local/lib/python3.9/site-packages/pyparsing/init.py)

Do we need to update snowplow-tracker package ?

The python tracker currently uses pycontract v1.8.12, that depends on pyparsing, which unfortunately hasn’t been maintained recently. To drop the pyparsing dependency we will need to remove pycontracts.

Thats something we can do in a future python tracker release, although it’s not in our short term roadmap. If you have the time to open a PR, then that would certainly speed things up: GitHub - snowplow/snowplow-python-tracker: Snowplow event tracker for Python. Add analytics to your Python and Django apps, webapps and games

1 Like

Hello @anilkumar.kanasani !
We just released Snowplow Python Tracker 0.9.1.
Upgrading the snowplow-tracker package should resolve the issue.
Thank you for raising!

3 Likes

Thanks @PaulBoocock and @Ada for the quick solution.