You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Importing solprop.backends.populations first fails with a circular import #606
`python -c "import solprop.backends.populations"` fails on a fresh interpreter:
```
ImportError: cannot import name 'axis_refusal' from partially initialized module 'solprop.backends.populations' (most likely due to a circular import)
```
`populations` imports from `numpy_ref`, and `numpy_ref` imports `axis_refusal`/`population_statistics` back from `populations`. It works whenever something else imports `numpy_ref` first, which is why nothing in the suite trips on it. Reproduced at 23c6b45 (main after #589).
Expected: the module imports on its own; move the shared pieces so the dependency runs one way.
Activity
jtravs commentedon Nov 15, 2026
Picked up by the issue-fixing session; a PR will follow.