I somehow got it to work. Probably because python3-importlib-metadata-1.5.0-3.3.5.noarch was installed later. It should be added as a dependency?