https://bugzilla.redhat.com/show_bug.cgi?id=2312851
--- Comment #4 from Ondrej Mosnáček omosnacek@gmail.com --- Ah, you mean on EPEL9... I only tried it on Rawhide. I don't think it's worth trying to work around the dependency chain there, so I guess turning the tests off [by default] only on EPEL9 for now would be best. Then they could be enabled later when/if all the deps are bootstrapped in EPEL9. If the package ends up being EPEL9-only, then the conditionals can probably be simplified away, but that's not clear yet.
Anyway, it would be nice to run %pyproject_check_import in the !%{with check} case so that at least trivial errors are caught (this is recommended in https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_running_t...).