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
On Python 3.12 and above we get the following deprecation warning when building the wheels:
/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
In Python 3.12, calling `python setup.py` to create wheels is deprecated;
instead, one should use a "standard-based tool" (whatever that means),
like the `build` package from PyPA.
Therefore, instead of calling `setup.py bdist_wheel`, we use `python -m
build`, which is the recommended replacement for it (as mentioned here:
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary).
Fixes#2696.
On Python 3.12 and above we get the following deprecation warning when building the wheels:
The calls are specifically here:
nrn/packaging/python/build_wheels.bash
Line 106 in a710366
nrn/packaging/python/build_wheels.bash
Line 178 in a710366
For more information, see here.
Possibly related: #2228 (superset of this?)
The text was updated successfully, but these errors were encountered: