Ran into a very odd one today. contourpy, a dependency of MatPlotLib, has been updated since the material was written and no longer supports Python 3.10. If you pip install MatPlotLib unpinned, as instructed in section 1.2, then Python 3.12+ (probably 3.11 too?) will install contourpy==1.3.3.
This means that when you freeze your local environment to your requirements file, you end up with contourpy=1.3.3 in it, which means the CI grid immediately falls over because it can't install in 3.10.
As 3.10 is out-of-support at the end of the year, the easiest fix is to just bump the range up to go from 3.11.
However... this is sort of another argument for switching to UV (#491) as we could just explicitly specify the Python version, to avoid these kinds of problems in future.
Ran into a very odd one today.
contourpy, a dependency of MatPlotLib, has been updated since the material was written and no longer supports Python 3.10. If youpip installMatPlotLib unpinned, as instructed in section 1.2, then Python 3.12+ (probably 3.11 too?) will installcontourpy==1.3.3.This means that when you freeze your local environment to your requirements file, you end up with
contourpy=1.3.3in it, which means the CI grid immediately falls over because it can't install in 3.10.As 3.10 is out-of-support at the end of the year, the easiest fix is to just bump the range up to go from 3.11.
However... this is sort of another argument for switching to UV (#491) as we could just explicitly specify the Python version, to avoid these kinds of problems in future.