How to rebuild custom app to new architecture with pyproject.toml

when creating a new application we see in documentation a pyproject.toml file but when creating a new application with the latest bench we still have requirements.txt

https://frappeframework.com/docs/v14/user/en/tutorial/create-an-app