okay possibly not a bug and just a REALLY surprising behavior but I filed an issue with PyPA about it anyway, I feel like the wording of the standard's warning could be more clear at least…
Support for PEP 723 (inline script metadata) has landed on pip's main branch thanks to some helpful guidance from the maintainers.
https://github.com/pypa/pip/commit/36987b0c31b97ffb9fb7949ded628e9a6b10c016
Here's hoping it'll smooth out some distribution wrinkles for people who have been getting along with just-pip and single-file scripts paired with requirements files 🤞
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/SnoopJ/statuses/115631420410366899 on your instance and quote it. (Note that quoting is not supported in Mastodon.)