-
Notifications
You must be signed in to change notification settings - Fork 28
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
integration for web-poet's support on additional requests and Meta #62
Conversation
Codecov Report
@@ Coverage Diff @@
## master #62 +/- ##
==========================================
+ Coverage 97.46% 97.76% +0.29%
==========================================
Files 9 10 +1
Lines 395 448 +53
==========================================
+ Hits 385 438 +53
Misses 10 10
|
5eca70e
to
8340ced
Compare
Co-authored-by: Mikhail Korobov <[email protected]>
Co-authored-by: Mikhail Korobov <[email protected]>
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.
👍 +1 to merge it after making sure it works with the latest web-poet (scrapinghub/web-poet#42 is merged).
Closing and reopening to trigger tests with the latest web-poet master. As for merging, we still need to wait for a web-poet release (0.2?), then update requirements here, re-run tests, and then merge. |
@Gallaecio could you please check scrapinghub/web-poet#51 before making scrapy-poet release with these changes? |
Fix doc examples on callback_for()
…additional-requests
3398dc7 is not as trivial as the commit message may suggest:
|
👍, +1 to merge. |
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.
Got one minor change left and I believe we're good to go. 🚀
'scrapy >= 2.6.0', | ||
'sqlitedict >= 1.5.0', | ||
'url-matcher >= 0.2.0', | ||
'web-poet >= 0.2.0', |
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.
As per scrapinghub/web-poet#51 (comment), we should probably make this into 0.3.0
, as well as updating the CHANGELOG and tox.ini.
EDIT: I just realized we're not using contextvars in scrapy-poet
so we can set it to 0.2.0
.
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.
Yes, I went through the same path. It was when I went to apply the contextvar name change to the patch when I realized we do not need 0.3.0 here.
Thanks @BurnzZ and @Gallaecio, that's a big milestone! |
Requires the following to be merged in
web-poet
:This is built on top of
Progress
web-poet
is released.HEAD
requests (reference)HttpResponse
:web-poet>=0.2.0
andscrapy>=2.6.0
in setup.py and tox.iniFixes #65.