[sdist/Python] Force numpy < 2.0 for units extra for compatibility with Pint

Update dependencies for Cython/Sdist packages
This commit is contained in:
Bryan Weber 2024-06-18 17:24:22 -04:00 committed by Ray Speth
parent 909f00d31b
commit 25d688bc16
2 changed files with 9 additions and 6 deletions

View File

@ -40,9 +40,8 @@ project_urls =
[options]
zip_safe = False
install_requires =
numpy >= 1.12.0
numpy >= 1.12.0,<3
ruamel.yaml >= 0.15.34
packaging
python_requires @py_requires_ver_str@
packages =
cantera
@ -64,7 +63,9 @@ cantera.examples = *.txt
[options.extras_require]
pandas = pandas
units = pint
units =
pint
numpy<2.0; python_version <= '3.9'
graphviz = graphviz
[options.entry_points]

View File

@ -41,9 +41,8 @@ project_urls =
zip_safe = False
include_package_data = True
install_requires =
numpy >= 1.12.0
numpy >= 1.12.0,<3
ruamel.yaml >= 0.15.34
packaging
python_requires @py_requires_ver_str@
packages =
cantera
@ -69,7 +68,10 @@ cantera = *.cpp, *.h, *.pyx
[options.extras_require]
pandas = pandas
units = pint
units =
pint
numpy<2.0; python_version <= '3.9'
graphviz = graphviz
[options.entry_points]