W dniu czwartek, 7 grudnia 2017 08:12:52 UTC+1 użytkownik Aymeric Augustin 
napisał:
>
> The duration of the deprecation period doesn't make a big difference 
> because few people update their code until they have no other choice. 
> Keeping deprecated code around longer means it's harder to track down the 
> release where the corresponding changes were introduced and figure out what 
> changes are needed. This effect already occurs in Django 2.0 where some 
> removals are related to 1.9 and others to 1.10.
>

We've adopted the policy of only supporting two versions of Django in our 
open-source stack: the latest LTS and the most recent version. The 
rationale is that making the window longer does not really benefit anyone 
in the long run.

We as authors of code have to maintain a ton of separate code paths guarded 
by conditional checks based on versions. Each class method needs to be 
annotated with when it's safe to remove it. Reasoning about the code is 
harder and adding new features is tricky when you discover that there is no 
way to support them cleanly on Django 1.8. None of our projects use 1.8 so 
by supporting it we'd be effectively doing extra work for no benefit.

Library users don't benefit in the long term as giving them a longer window 
gives them more time at the exchange of making the eventual upgrade a 
nightmare. They either have to upgrade from 1.8 straight to 2.1 (I can't 
honestly recommend this to anyone as a responsible way to maintain 
software) or upgrade to 1.11 and effectively reduce their situation to the 
current one (having to upgrade every time a new LTS is released instead of 
every two LTS cycles).

Just my two cents.

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/4670df99-e7f8-4b09-a24f-909b089f9798%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to