The Generics have made typing too complicated to maintain and caused other issues for me. Let's consider just using PackageCompat
and PackageQueryCompat
for return values in the base classes in fedrq.backends.base
instead of using TypeVars.
Well, the issue that spawned this happened because I was using mypy from the wrong venv 🤦, but let's still keep this in mind.