-
Notifications
You must be signed in to change notification settings - Fork 49
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
Make code upto date with latest version of scrapy #36
base: master
Are you sure you want to change the base?
Conversation
BaseItem as deprecated in the favor of Item
BaseItem is deprecated in the favor of Item
Codecov Report
@@ Coverage Diff @@
## master #36 +/- ##
=========================================
Coverage ? 94.20%
=========================================
Files ? 2
Lines ? 69
Branches ? 9
=========================================
Hits ? 65
Misses ? 1
Partials ? 3 Continue to review full report at Codecov.
|
except ImportError: | ||
raise NotConfigured('bsddb3 is required') | ||
self.dbmodule = dbmodule | ||
def __init__(self, dir: str, reset: bool = False, stats: StatsCollector = None): | ||
self.dir = dir |
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.
bsddb3 is not available on some platforms, so it will crash for some people without bsddb3 and they will not know exactly why. I created ticket for moving away from bsddb3 to other library #37
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.
Sorry for the late reply. But bsddb3
is imported on the top which will clearly say
import bsddb3
ModuleNotFoundError: No module named 'bsddb3'
when it is not installed on the device
Item
instead ofBaseItem
since it's deprecated in favor of the priorf-strings
Black
ed the code to make it look good