I can't recall the last Django project I worked on that didn't require pytz. It makes sense to me to require it.
Regards, Michael Manfre On Tue, May 17, 2016 at 6:07 AM Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > The reasoning was based on: > > - our reluctance to add dependencies back then (Django 1.4) > - sqlite3 not being strictly needed in all circumstances (and probably > being needed in fewer circumstances originally) > > I’ll try to find time to make a more detailed answer later. > > -- > Aymeric. > > On 17 May 2016, at 12:01, Marc Tamlyn <marc.tam...@gmail.com> wrote: > > It would seem reasonable to me to require it. I wonder whether the > reasoning is based on distro packaging or similar? > > On 17 May 2016 at 01:21, Josh Smeaton <josh.smea...@gmail.com> wrote: > >> While writing timezone tests for >> https://github.com/django/django/pull/6243 I ran into some issues where >> pytz seemed to be required for just about every database and platform >> combination except postgres on linux. The docs for timezone support ( >> https://docs.djangoproject.com/en/dev/topics/i18n/timezones/) say: >> >> Installing pytz <http://pytz.sourceforge.net/> is highly recommended, >>> but may not be mandatory depending on your particular database backend, >>> operating system and time zone. If you encounter an exception querying >>> dates or times, please try installing it before filing a bug. >> >> >> I tried to find some documentation on the broader internet that would >> more accurately describe when and for what platforms pytz is actually >> required for timezone support, but was unable to find anything. I've opened >> a new ticket https://code.djangoproject.com/ticket/26622 to clarify more >> explicitly when pytz is required. >> >> However, I'm wondering if we should just go all-in on pytz and require it >> for timezone support. I've not run a Django site with timezone support >> without pytz, so I'm not sure what exact limitations exist or why you'd >> want to use timezone support without pytz. I'd be interested in hearing use >> cases for not requiring pytz if there are any. Explicitly requiring pytz >> will make test writing a lot easier, and will remove any doubt about >> whether or not pytz is required for users. >> >> Josh >> >> -- >> 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/cb513e96-e75f-462f-a8ca-b5d916ad8eef%40googlegroups.com >> <https://groups.google.com/d/msgid/django-developers/cb513e96-e75f-462f-a8ca-b5d916ad8eef%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > 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/CAMwjO1H_n%3DGzAFZ%2BR07Qf2qnbmY8_dpy5FhdaBEXrQRB0gJ9sQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAMwjO1H_n%3DGzAFZ%2BR07Qf2qnbmY8_dpy5FhdaBEXrQRB0gJ9sQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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/E0E058F8-7842-4F57-B7C2-A5BA2C2FD4D4%40polytechnique.org > <https://groups.google.com/d/msgid/django-developers/E0E058F8-7842-4F57-B7C2-A5BA2C2FD4D4%40polytechnique.org?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGdCwBt5srKjYweKio3xn45%2BSA09n%3DPsfOcKdSeEiMUhFJ7y9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.