For example, Numpy
$ brew upgrade numpy
Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Upgrading 1 outdated package:
numpy 1.19.2 -> 1.23.1_1
==> Downloading
files.pythonhosted.org/packages/13/b1/0c.../numpy-1.23.1.tar.gz
Already downloaded: /Users/heidenrod/Library/Caches/Homebrew/downloads/064aa977eae775fd55c4c6443d87577fb0890778f3bc4960f55276bc5ab04f0a--numpy-1.23.1.tar.gz
==> Upgrading numpy
1.19.2 -> 1.23.1_1
==> /usr/local/opt/python@3.9/bin/python3 setup.py build --fcompiler=/usr/local/opt/gcc/bin/gfortran --parallel=4
Last 15 lines from /Users/heidenrod/Library/Logs/Homebrew/numpy/01.python3:
INFO: building extension "numpy.linalg._umath_linalg" sources
INFO: building extension "numpy.random._mt19937" sources
INFO: building extension "numpy.random._philox" sources
INFO: building extension "numpy.random._pcg64" sources
INFO: building extension "numpy.random._sfc64" sources
INFO: building extension "numpy.random._common" sources
INFO: building extension "numpy.random.bit_generator" sources
INFO: building extension "numpy.random._generator" sources
INFO: building extension "numpy.random._bounded_integers" sources
INFO: building extension "numpy.random.mtrand" sources
INFO: building data_files sources
INFO: build_src: building npy-pkg config files
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
error: [Errno 2] No such file or directory: 'brew'
Do not report this issue to Homebrew/brew or Homebrew/core!
Error: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.