I found that _get_conversion_factor takes "dtype" as 3rd input parameter. This parameter is unused, so I suggest removing it.
The private function is called because unit.get_conversion_factor, which can also drop "dtype", delegates to it.
function signature:
def get_conversion_factor(self, other_units, dtype=None):
return _get_conversion_factor(self, other_units, dtype)
code state: main branch from 5th May 2025, hash: 2fd015d