This can be 'fixed' by pre-installing python-dateutil (and I think the same would happen for pytz, so I pre-emptively installed it too). So maybe this isn't really a bug, just a limitation of ...
It seems like there is an error installing the matplotlib-base package on OS X Ventura 13 (possibly because the formatting of the version type of OS X has changed ...