I successfully upgraded hledger from 1.42 to 1.42.1, but something caught my eye during the process, which involved Homebrew.
Homebrew is still my tool of choice for hledger upgrades, so that’s what I used. As usual, Homebrew handles a large number of programs for me, so when I ask Homebrew to do the upgrading, it updgrades many more programs than just hledger.
One program that caught my eye, principally because the upgrading process took so long was Python. Since I don’t program in Python, and the upgrading adds so much time, why should I even have Homebrew upgrade it?
The easy solution would seem to be to tell Homebrew to remove Python. However, when I tried that, I got a warning message saying that Python was necessary for ledger and one other program that Homebrew manages for me. I definitely use ledger from time to time, so I don’t want to remove a program that would stop ledger from working.
However, I really wonder if Python is necessary for ledger. The souces that I checked say that ledger is written in C++. Is the information in Homebrew wrong, or is there something else going on?
Glad, though, that hledger was upgraded with no problems.