New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/21323#issuecomment-619366727 Comment: > > tries to discover the pycompile_version from the existence of usr/lib/pythonX.Y > > Note, this only works when there is exactly one `X.Y`. Right. This is also true in `common/hooks/pre-pkg/03-rewrite-python-shebang.sh`. I think this is proper behavior; trying to decide what to do when a package created two Python libdirs is prone to error. Let the template specifically list `python_version` in those ambiguous cases.