Why setuptools cause problem in so many python apps on NixOS

Some weeks ago, poetry build used to fail because sth related to setuptools, right now again poetry didn’t work due to sth similar, and mypyc from mypy package also have a similar issue

What is the deal with setuptools failing on NixOS systems, saying “setuptools not found” or sth similar in so many random seemingly unrelated packages?

Setuptools was accidentally included in all builds. This was fixed however not all expressions were fixed up yet. Hence some applications will fail at runtime.

2 Likes

wow! under which section I should report these malfunctioning packages in nixpkgs repo?

The best would be to send PRs to fix those packages.

2 Likes