When we had a book where only the homework problems changed in the new version we would pool together to buy one new copy and that person emailed out the homework questions.
The rest of us bought used books at the start of semester used book sale.
I think it worked best for everyone, I do wish I’d bought a few books new just for the longevity, but saving money was worth a lot more as a student.