# 1.26 is the oldest version that was tested; below 3: numpy 3 has not been tested.
numpy>=1.26,<3

# Note: Also need BLAS and gfortran to install scipy
# sudo apt-get install libopenblas-dev
# sudo apt install gfortran
# 1.11 is the oldest version that was tested; below 2: scipy 2 has not been tested.
scipy>=1.11,<2

# For Mesh support.
# At least 4.4: older versions call ndarray.ptp, which numpy 2 removed, so loading an .stl file and the groove plate
# exporter fail with numpy 2. Below 6: not tested with trimesh 6. Verified with the full test suite and the regression
# harness (tests/regression): 4.4.0 and 5.2.0 give identical results, with numpy 1.26 and with numpy 2.
trimesh>=4.4,<6

# For target field calculations
sympy==1.*

# For visualisation of matrices.
# Pillow older than 10 has no packages for Python 3.13. Tested with 9.5.0 and 13.0.0.
pillow>=9.5,<14
matplotlib==3.*

# Optional: compiled kernels for the largest calculations, which make designs 2 to 5 times faster (and the Biot-Savart
# sums 10 to 30 times). Without it, numpy is used and the results are the same. Install with: pip install numba
# or, from a clone of the repository: pip install -e .[fast]
# numba>=0.60
