raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

matplotlib == 3.1.1? #21

Closed Schamschula closed 2 years ago

Schamschula commented 3 years ago

matplotlib 3.1.1 is out of date. I'm getting an error

pkg_resources.DistributionNotFound: The 'matplotlib==3.1.1' distribution was not found and is required by rsudp

but I have py39-matplotlib @3.4.1_0+cairo+webagg installed under MacPorts.

I also get a similar issue with python-telegram-bot as it requires an obsolete version of APScheduler==3.6.3, whereas the current version is 3.7.0.

This also begs the question, why do both twitter and telegram need to be enabled? I only use twitter and would prefer not to install the entire infrastructure for telegram.

iannesbitt commented 2 years ago

Hi @Schamschula, apologies for the delay in responding. I'm not sure why pkg_resources would be giving you that error, as matplotlib==3.1.1 is widely available (via both pip and conda). The reason it was pinned at that particular tag is because there was functionality introduced in 3.2.x that broke rsudp's plot module. I have changed the pin to <3.2 instead, which should offer some leeway.

iannesbitt commented 2 years ago

As for twitter and telegram, they are installed but not used because they are small. We figured it was easier for end users (and maintainers) if they didn't have to do extra work to set up the features they want.

iannesbitt commented 2 years ago

Closing this issue unless further work is needed.