Please branch and build python-networkx in epel8 and epel9. If you do not wish to maintain python-networkx in epel8 and epel9, or do not think you will be able to do this in a timely manner, the EPEL Packagers SIG would be happy to be a co-maintainer of the package; please add the epel-packagers-sig group through https://src.fedoraproject.org/rpms/python-networkx/addgroup and grant it commit access, or collaborator access on epel* branches.
python-networkx is available in RHEL 8 and RHEL 9 AppStream repositories https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/package_manifest/appstream-repository#doc-wrapper https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/package_manifest/repositories#AppStream-repository