The setup.py file is gone in newer versions. See also - https://github.com/nix-community/poetry2nix/issues/1476 - 04f3147a8e
04f3147a8e