79515183

Date: 2025-03-17 16:36:54
Score: 0.5
Natty:
Report link

Solved - the issue was never directly with poetry or with pyproject.toml. Every repo I tried to install also contained a build.py file that imported numpy first. Poetry runs this before anything else, hence the error was generated. The solution was to modify build.py so that it does not import at the top level.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Darina