Save in structured deprecated warnings the "version" and the "package" containing the warning
This will be used to automatically update the __pkginfo__.py
when submitting a merge request.
The code is quite optimized to have a unnoticeable performance impact.