• [$] Portable Python scripts with dependencies

    From LWN.net@86:200/23 to All on Thu Nov 5 06:40:10 2026
    A basic Python script is portable: it can be copied between machines with little concern about compatibility.
    A script that depends on third-party packages requires quite a bit more
    care and consideration, however.
    In 2023, PEP
    723 ("Inline script metadata") introduced a standard for declaring a Python script's
    dependencies inside the script itself.
    Several third-party tools can now automatically install and manage those dependencies, but there is still little official support for this standard within Python itself.

    https://lwn.net/Articles/1104646/
    --- SBBSecho 3.38-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)