I would suggest that if you want to keep weewx 'wee' that you should not include modules the core does not need.
You're going to see the same issue with paho-mqtt for lots of users too, FWIW. On Wednesday, August 23, 2023 at 2:49:47 PM UTC-7 Chris Alemany wrote: > That sounds like a great solution! > > On Aug 23, 2023, at 13:05, Tom Keffer <[email protected]> wrote: > > We are trying to keep the number of modules down to a minimum. > > I suppose we could add a feature to the WeeWX extension installer that > allowed extension writers to specify which pypi modules they need for their > extension. It would look something like > > class MyInstaller(ExtensionInstaller): > def __init__(self): > super().__init__( > version="0.5", > name='my', > ... > files=[ > ... > ], > pypi = [requests,] > ) > > The installer would then run pip to install the specified modules. > > -tk > > On Wed, Aug 23, 2023 at 12:53 PM Chris Alemany <[email protected]> wrote: > >> Hello all, >> >> I’ve moved over to v5 successfully for the most part. One missing piece >> I’ve come across with two extensions now is the Requests modules. I use the >> weewx-purpleAir and a Mastodon wxtoot extension that both rely on this >> module. I’m not sure how common it is in other extensions. >> >> I’m sure you want to keep the number of modules down to a minimum but >> I’ll put my hand up to include pip requests in the weewx-venv. >> >> Cheers >> Chris >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/06890F55-849E-42BB-93BB-72CFCDB28960%40gmail.com >> . >> > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAPq0zECky50vgw8k05_T34Ptx1DgoCM%2BHmNSGKDtZwMTWCqpnw%40mail.gmail.com > > <https://groups.google.com/d/msgid/weewx-user/CAPq0zECky50vgw8k05_T34Ptx1DgoCM%2BHmNSGKDtZwMTWCqpnw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c799d415-977a-4466-987e-2d9941c8f718n%40googlegroups.com.
