Please branch and build python-pygments in epel9. If you do not wish to maintain python-pygments in epel9, or do not think you will be able to do this in a timely manner, I would be happy to be a co-maintainer of the package (FAS rcallicotte); please add me through https://src.fedoraproject.org/rpms/python-pygments/adduser
This package is in RHEL 9.