tryolabs / norfair

Lightweight Python library for adding real-time multi-object tracking to any detector.
https://tryolabs.github.io/norfair/
BSD 3-Clause "New" or "Revised" License
2.42k stars 247 forks source link

Fix importlib-metadata dependency bug #212

Closed javiber closed 2 years ago

javiber commented 2 years ago

There was an error when installing norfair on python 3.6 and 3.7: importlib-metadata was missing because poetry misinterpreted the optional dependencies in our .toml.

Fixed the error by removing a redundant dependency on the metrics extra. In addition, added a CI check that builds our package in python 3.9 and then installs this package across all python versions to catch problems like this in the future.