• [$] Portable Python scripts with dependencies

    From LWN.net@1337:1/100 to All on Wednesday, November 04, 2026 15:00:05
    [$] Portable Python scripts with dependencies

    Date:
    Wed, 04 Nov 2026 14:45:02 +0000

    Description:
    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.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1104646/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)