I'm with you, Till, but I still need a volunteer! 😀 On Tue, May 12, 2020 at 11:28 AM Till Maas <[email protected]> wrote:
> Hi, > > On Sun, May 10, 2020 at 01:27:01PM -0700, Vince Skahan wrote: > > > Option-2 is how big apps like splunk and puppet do it. They bundle the > > interpreter+libs they need under their tree. If you think about it, > it's > > also how RHEL chose to work the python issue for RHEL-8. They don't use > > the /usr/bin/python3 stuff. They have their own internally-used-only > path > > with the things 'they' need. > > Platform Python in RHEL still uses the system Python libraries. The > problem it addresses is that the operating system has a different > lifetime than Python 3.6 and the platform Python does not provide any > guarantees to users but allows to be flexible for the system tools that > use Python. > > > Option-3 is how you'd do it in a CI/CD/autotest world. The Remi repos > are > > a great example of this. It's certainly technically possible to build > an > > infinite number of os+version package variants via Docker and Github > hooks > > if we wanted to go that path. > > If weewx becomes a standard Python package (pip-installable), then it > is rather easy to package it for different distributions. Using services > such as https://copr.fedorainfracloud.org/ or > https://en.opensuse.org/openSUSE:Build_Service_supported_build_targets > helps with building for different distributions. > > And as a fallback, there is still the pip installation method or there > could be some generic rpm/dpkg packages if necessary for some specific > distributions. > > > The downside of option-2 is what would we do if a security vulnerability > > Another downside, which is what led me to start the discussion, is that > this makes weewx different from other Python projects which makes my > generic Python/Linux experience less useful because everything is > different. So somehow it seems that this discussion drifted to solve a > different problem, not sure what it is exaclty. > > Thanks > Till > > -- > You received this message because you are subscribed to the Google Groups > "weewx-development" 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-development/20200512182837.GE25070%40genius.invalid > . > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/CAPq0zECx2CM-wAiRRRpTXmhYaToMiaZ-aO-U5aEJgNKN5HMVcQ%40mail.gmail.com.
