> On Jun 13, 2015, at 20:43, Tim Graham <[email protected]> wrote:
>
> I don't have a strong opinion either way on semver, but I think it's a bit
> late to rebrand 1.9 as 2.0 considering we've release code and docs with
> reference to "RemovedInDjango19Warning". Do you have any thoughts on that? We
> could plan the change for after the next LTS (2.1 -> 3.0) to correspond with
> the cutover to Python 3.
Currently we have:
1.8:
RemovedInDjango19Warning(DeprecationWarning) - Deprecations from 1.7
RemovedInDjango20Warning(PendingDeprecationWarning) - Deprecations from 1.8
master:
RemovedInDjango20Warning(DeprecationWarning) - Deprecations from 1.8
RemovedInDjango21Warning(PendingDeprecationWarning) - Deprecations from
master
In any case, implementing the new policy will require updating warnings from
master: RemovedInDjango21Warning needs to become either
RemovedInDjango22Warning or RemovedInDjango31Warning with the switch to SemVer.
The question is whether it's too invasive to update warnings in a 1.8 patch
release. If we ensure that RemovedInDjango19Warning remains importable by
aliasing it to RemovedInDjango20Warning(DeprecationWarning), I think it's
compatible enough not to delay implementing the scheme by another two years,
especially considering how warnings are normally used. But if we want to be
super cautious we could just leave the code as it is and document the problem
in the 1.8 release notes, after all we are extending the lifespan of the shims
(at least in appearance) which isn't as problematic as if we were shortening it.
--
Loïc
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/3B8CE3F8-F39C-49AF-A5B5-7A252E9F7CAD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.