The discussion around this (and a competing proposal, https://peps.python.org/pep-0722/) was quite long and arduous. Anyone who wants to understand why changes in Python packaging seem to take so long to implement, even when they seem like pretty clearly good ideas, is encouraged to look through the related threads (disclosure: I was a significant participant):
Also relevant to that topic is the failed __pypackages__ proposal, which at one point seemed like such a no-brainer that some people seemed almost angry about the reluctance to go ahead with it - yet the more it was investigated, the less workable it seemed:
https://chriswarrick.com/blog/2023/01/15/how-to-improve-pyth... (disclaimer: I disagree with many of Chris Warrick's takes throughout that page, although I am generally on board that there are severe problems in the packaging system. It's also worth noting that, despite not seeming to like virtual environments very much, the author has IMO one of the best published guides to virtual environments out there.)
https://discuss.python.org/t/pep-722-dependency-specificatio...
https://discuss.python.org/t/addendum-for-pep-722-to-use-tom...
https://discuss.python.org/t/pep-723-embedding-pyproject-tom...
https://discuss.python.org/t/pep-723-embedding-pyproject-tom...
https://discuss.python.org/t/pep-722-723-decision/36763
https://discuss.python.org/t/how-would-you-like-to-declare-r...
Also relevant to that topic is the failed __pypackages__ proposal, which at one point seemed like such a no-brainer that some people seemed almost angry about the reluctance to go ahead with it - yet the more it was investigated, the less workable it seemed:
https://peps.python.org/pep-0582/
https://discuss.python.org/t/pep-582-python-local-packages-d...
https://chriswarrick.com/blog/2023/01/15/how-to-improve-pyth... (disclaimer: I disagree with many of Chris Warrick's takes throughout that page, although I am generally on board that there are severe problems in the packaging system. It's also worth noting that, despite not seeming to like virtual environments very much, the author has IMO one of the best published guides to virtual environments out there.)
reply