Skip to content

Fix prepare.py with NumPy 2 on Python 3.13 - #1

Open
dlv-gold wants to merge 2 commits into
guycohen:masterfrom
dlv-gold:fix/python-3.13-numpy-min
Open

Fix prepare.py with NumPy 2 on Python 3.13#1
dlv-gold wants to merge 2 commits into
guycohen:masterfrom
dlv-gold:fix/python-3.13-numpy-min

Conversation

@dlv-gold

@dlv-gold dlv-gold commented Jul 27, 2026

Copy link
Copy Markdown

Summary

  • replace the wildcard NumPy import with import numpy as np
  • prevent NumPy 2.x names from shadowing Python built-ins such as min
  • keep the existing multiprocessing pool-sizing logic unchanged

Verification

  • python3 -m py_compile prepare.py
  • end-to-end run on Wolfgang 3 with Python 3.13.5 and NumPy 2.3.1

@guycohen guycohen closed this Jul 28, 2026
@guycohen guycohen reopened this Jul 28, 2026
@guycohen

Copy link
Copy Markdown
Owner

Please change to "import numpy as np" instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants