mongodb-labs / mongo-arrow

MongoDB integrations for Apache Arrow. Export MongoDB documents to numpy array, parquet files, and pandas dataframes in one line of code.
https://mongo-arrow.readthedocs.io
Apache License 2.0
92 stars 14 forks source link

[ARROW-208] Replaced deprecated pkg_resource with packaging.version #188

Closed caseyclements closed 10 months ago

caseyclements commented 10 months ago

The check for a compatible lib_bson version done in bindings/python/pymongoarrow/_init_.py throws a DeprecationWarning. This is preventing PR for ARROW-200 to be merged.

I've cherry-picked the commit from that PR's branch and opened this new one.