We created our own big class which we then populate with contents from pkg_resources.Requirement. Looking at the backend implementation coming from packaging.Requirement it looks like it's very lean and hence we should be able to properly subclass our own class from that one.
We created our own big class which we then populate with contents from
pkg_resources.Requirement
. Looking at the backend implementation coming frompackaging.Requirement
it looks like it's very lean and hence we should be able to properly subclass our own class from that one.