I recently noticed this warning when running fenics in the conda environment
/home/remidm/miniconda3/envs/fenicsproject/lib/python3.11/site-packages/ffc/uflacs/language/cnodes.py:1364: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
sublist = build_initializer_lists(val, sizes[1:], level+1, formatter, padlen=padlen, precision=precision)
I don’t expect the version tags in the dependencies will change.
What would you suggest to avoid this? Reinstalling an older version of numpy?
One usually does not have upper bounds on packages, which can become an issue when software is no longer maintained. Anyone can contribute to ffc or add a patch to the conda recipe: