works well!
Installed:
python3-ogr-0.42.0-1.fc37.noarch
Complete!
[root@da01a889ba71 /]# python3
Python 3.11.0 (main, Oct 24 2022, 00:00:00) [GCC 12.2.1 20220819 (Red Hat 12.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ogr
>>> ogr.__version__
'0.42.0'
>>>