Update poetry.py