-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obsolete REDIRECT_MAX_METAREFRESH_DELAY, LOG_UNSERIALIZABLE_REQUESTS #4385
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4385 +/- ##
=======================================
Coverage 84.16% 84.16%
=======================================
Files 166 166
Lines 9970 9970
Branches 1483 1483
=======================================
Hits 8391 8391
Misses 1324 1324
Partials 255 255
|
Could you please also remove the corresponding entries from |
I was thinking of entirely removing all the entries there ;) But then I had the thought they they may also be meant to remind people, who still have them in legacy projects, where the setting doesn't do anything anymore (without people realising that, possibly). Do you think we should clean them up, instead? I wouldn't mind that either. |
As far as I known, the deprecation messages are only meant to last as much as the code that supports the deprecated functionality:
So, at least for those two deprecated variables you are removing, I think we should remove them from that file as well. As for the other ones, it really depends on how long those warnings have been there for. Based on #4356 I would say there is an agreement that deprecations 3+ years old are OK to remove (along with code to support old behavior when there is such code). But it can be done in separate PRs. |
Ok, added. Err, removed. (In that event, I'll have another PR which kills the rest of 'em, since they're even older. ;) |
Squashed |
Obsolete REDIRECT_MAX_METAREFRESH_DELAY which has been deprecated since Scrapy 0.18 Obsolete LOG_UNSERIALIZABLE_REQUESTS which has been deprecated since Scrapy 1.2.0 and is replaced by SCHEDULER_DEBUG
Thanks @nyov! |
Obsolete
REDIRECT_MAX_METAREFRESH_DELAY
which has been deprecated since Scrapy 0.18defc4f8
and
LOG_UNSERIALIZABLE_REQUESTS
which has been deprecated since Scrapy 1.2.0472a8a4