Re:Why does a = a[0] = [0] create a self-referential list in...
by dharmab on Friday November 19, 2021 @04:02PM
(#29282458)
Poetry still uses setuptools! It makes it a lot easier for mortals. This is the blog post that convinced me to switch away from my old build system: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated...
[ Parent
| on HN ]
Re:Why does a = a[0] = [0] create a self-referential list in...
by wheelerof4te on Friday November 19, 2021 @05:54PM
(#29283672)
The blog post recommends build, not Poetry. But I guess the Python devs finally started taking this seriously.
Since build is semi-official Python project, I will use it instead of Poetry. We can no longer rely on setup.py, it seems.
Thanks.
Re:Why does a = a[0] = [0] create a self-referential list in...
by wheelerof4te on Saturday November 20, 2021 @07:35AM
(#29287544)
I just tried Poetry on Windows.
Installation is a mess, and official recommendation of "copying a powershell line" was already a red flag. Now I can't remove it.
Poetry is a convoluted, insecure mess. Please avoid it and use official PyPi recommendations.