-
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
Write the 1.7 release notes #3846
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3846 +/- ##
=======================================
Coverage 85.56% 85.56%
=======================================
Files 164 164
Lines 9565 9565
Branches 1435 1435
=======================================
Hits 8184 8184
Misses 1133 1133
Partials 248 248 |
hey @Gallaecio! I also tried to put all pull requests for new changes in thee 1.7 milestone a few days ago (https://github.com/scrapy/scrapy/milestone/22), maybe this would help you. Not 100% sure all PRs are there though, I could have missed something, or added something which shouldn't be there. |
Thanks! I’ll complete the release notes based on commits just to make sure I don’t miss anything, and then compare the result to the milestone to ensure that everything fits. |
readthedocs/sphinx_rtd_theme#705 is making some list items look rather badly, I hope they fix it soon. |
c012b4a
to
010eab9
Compare
Current coverage:
While I’m confident about the coverage (as in I don’t think any issue is missing), I’m more than grateful for any feedback regarding everything else (e.g. content organization, header naming). |
06ee14a
to
54a56a9
Compare
54a56a9
to
561956f
Compare
Added a note about Scrapy 2.0 dropping support for Python 2. |
561956f
to
8cc0664
Compare
I’ll keep the description up-to-date with the release notes coverage. |
c8a8b40
to
fa44545
Compare
Hi there @Gallaecio, @kmike, have we reached feature freeze for 1.7 or is there a chance to include #3712 and #2400? Thanks! |
fa44545
to
fa21f6c
Compare
fa21f6c
to
a5790b0
Compare
Both suggestions applied. I’ve also made some changes to the documentation from #3829 which include fixes for link syntax issues that I overlooked. |
docs/news.rst
Outdated
~~~~~~~~~~~~~ | ||
|
||
* ``scrapy.utils.gz.is_gzipped`` is now **deprecated**. Use | ||
``scrapy.utils.gz.gzip_magic_number`` instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be moved to Deprecations section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right! 🤦♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
I’ve also moved the two deprecation comments from New features to Deprecations as well.
a5790b0
to
015ea0c
Compare
5b238fd
to
cd1a74f
Compare
|
||
* The ``queuelib.PriorityQueue`` value for the | ||
:setting:`SCHEDULER_PRIORITY_QUEUE` setting is deprecated. Use | ||
:class:`scrapy.pqueues.ScrapyPriorityQueue` instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually backwards incompatible: only exact queuelib.PriorityQueue class still works, its custom subclasses don't. See
scrapy/scrapy/core/scheduler.py
Line 59 in df68c4b
if pqclass is PriorityQueue: |
The main API change is that priority queue class now needs to support Request objects, not just general Python data structures; compare
Line 93 in df68c4b
class ScrapyPriorityQueue(PriorityQueue): |
I'm not sure how detailed should be our deprecation docs on this, as this API was not documented before, if I'm not mistaken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve added a short entry to the backward incompatibility section, please have a look and share your thoughts.
76035f4
to
d17f800
Compare
Can't wait for this. Don't get me wrong, I think |
3cd41c3
to
fa9f13e
Compare
fa9f13e
to
e9f0850
Compare
Updated to fix #3872. |
e9f0850
to
47f2c8b
Compare
As part of the last updated, I’ve:
|
12654fa
to
8624c9f
Compare
8624c9f
to
8c84294
Compare
Current coverage: 44eb21a
Includes a note about dropping Python 2 support in Scrapy 2.0.
Fixes #3872.