Re:Do any languages specify package requirements in import /...
by atenni on Thursday January 23, 2025 @04:14PM
(#42808164)
Python’s PEP 723 (Inline script metadata) has a section summarising why they couldn’t take this approach under “Why not infer the requirements from import statements?”
https://peps.python.org/pep-0723/#why-not-infer-the-requirem...