By changing:
{{{
warnings.simplefilter("default", RemovedInDjango19Warning)
warnings.simplefilter("default", RemovedInDjango20Warning)
}}}
to:
{{{
warnings.simplefilter("error", RemovedInDjango19Warning)
warnings.simplefilter("error", RemovedInDjango20Warning)
}}}
in `runtests.py` we can have Jenkins (which runs with -Wall) fail builds
that introduce unsilenced deprecation warnings. This will save us time
from having to track them down after the fact.
--
Ticket URL: <https://code.djangoproject.com/ticket/23923>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/23923#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/3626 PR] is ready for review.
--
Ticket URL: <https://code.djangoproject.com/ticket/23923#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"3131e9cef5f0a96f4fe667b0b1626c238153d1f1"]:
{{{
#!CommitTicketReference repository=""
revision="3131e9cef5f0a96f4fe667b0b1626c238153d1f1"
Fixed #23923 -- Promoted Django's deprecation warnings to errors in
runtests.py
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23923#comment:3>