-
Notifications
You must be signed in to change notification settings - Fork 48
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
Open
rabinadk1
wants to merge
10
commits into
scrapy-plugins:master
Choose a base branch
from
rabinadk1:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
81d91ac
Use Item instead of BaseItem
rabinadk1 2ae01f9
Replace BaseItem to Item
rabinadk1 eb59882
Merge remote-tracking branch 'origin/patch-1' into master
rabinadk1 6989b64
Bump scrapy version
rabinadk1 c3ccaed
Blacked the code and dropped support for python<3.6
rabinadk1 cbb4c03
Bump python version in travis and tox
rabinadk1 66c0ca0
Bump python version of travis to 3.8
rabinadk1 af719a9
Add proper python version for travis
rabinadk1 62554b3
Make build pass
rabinadk1 0945860
Added info and additional arguments in setup.py
rabinadk1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
scrapy>=1.1.0 | ||
scrapy>=2.3.0 | ||
bsddb3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from .middleware import DeltaFetch | ||
|
||
from .middleware import DeltaFetch # noqa | ||
|
||
__version__ = "1.2.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
from setuptools import setup | ||
from setuptools import find_packages, setup | ||
|
||
with open( | ||
"README.rst", | ||
) as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name='scrapy-deltafetch', | ||
version='1.2.1', | ||
license='BSD', | ||
description='Scrapy middleware to ignore previously crawled pages', | ||
author='Scrapinghub', | ||
author_email='[email protected]', | ||
url='http://github.com/scrapy-plugins/scrapy-deltafetch', | ||
packages=['scrapy_deltafetch'], | ||
platforms=['Any'], | ||
name="scrapy-deltafetch", | ||
version="1.2.1", | ||
description="Scrapy middleware to ignore previously crawled pages", | ||
long_description=long_description, | ||
long_description_content_type="text/x-rst", | ||
author="Scrapinghub", | ||
author_email="[email protected]", | ||
maintainer="Rabin Adhikari", | ||
maintainer_email="[email protected]", | ||
url="http://github.com/scrapy-plugins/scrapy-deltafetch", | ||
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), | ||
license="BSD", | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
], | ||
install_requires=['Scrapy>=1.1.0', 'bsddb3'] | ||
install_requires=["Scrapy>=2.3.0", "bsddb3"], | ||
python_requires=">=3.6", | ||
zip_safe=True, | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 saywhen it is not installed on the device