Subject of the issue
My poetry version was on 1.6 and it didn't recognize package-mode in pyproject.toml

I updated poetry to latest version (1.8.3) and now it works.
Your environment
algokit doctor didn't complain about poetry version being outdated

Steps to reproduce
- downgrade poetry to version 1.6 and run
algokit project bootstrap all