Yo Hal!

On Mon, 25 May 2020 15:31:42 -0700
Hal Murray via devel <devel@ntpsec.org> wrote:

> Fedora is updating from Python 3.7 to 3.8.

Gentoo has remove 2.7 and moved from 3.6 yo 3.7 to 3.8 quickly.  What a PITA.
 
> That breaks ntpq (and friends) because the installed ntp libraries
> are over in 3.7 but ntpq is looking in 3.8

Just reinstall NTPsec from git head.  It will autodetect the new python
and Do The Right Thing(tm).

> Is there a good/clean fix for this?  Should the code that chops the
> ".py? off the name also fixup the first line of the script to replace
> "python" with "python3.x"?

On gpsd, I made the python shebang a config variable.  The PEP used to
be very specific, but the distros went all random.  There is no one, or
even two good answers.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpm7PPmosZf7.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to