Require coverage.py 7.4.2+ for `COVERAGE_CORE: sysmon` by hugovk · Pull Request #7825 · python-pillow/Pillow

Re: #7820 (comment)

Coverage.py 7.4.0 added support for Python 3.12's sys.monitoring and COVERAGE_CORE: sysmon, but would also enable it on older versions of Python and fail.

Coverage.py 7.4.2 only uses sys.monitoring when COVERAGE_CORE: sysmon and we're on 3.12+.

So let's make sure we have at least 7.4.2 installed.

I only set it for the workflow that started failing (probably due to caching). We could add it to the others, but I think it's fine if they're passing.