✘Python 2.7 broken

Gary E. Miller gem at rellim.com
Sun Dec 13 02:41:42 UTC 2020


Yo James!

On Sat, 12 Dec 2020 18:35:13 -0800
James Browning via devel <devel at ntpsec.org> wrote:

> The following patch clears it up on the machine I bisected on.

No, that uses the installed ntp module, not the one being tested.

>          pypath = destdir + ctx.env.PYTHONARCHDIR  # + os.sep + 'ntp'
> -        env = {'PYTHONPATH': pypath} if destdir != '/' else {}
> +        env = {'PYTHONPATH': pypath}

You do NOT want to use the module in destdir.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20201212/ff977d88/attachment.bin>


More information about the devel mailing list