Skip to content
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

Add support for RETRY_EXCEPTIONS setting #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Prometheus3375
Copy link

@Prometheus3375 Prometheus3375 commented Sep 18, 2023

Resolves #41.

I tested locally with Scrapy 2.9.0, 2.10.0 and 2.11.0.
2.10 is the version with exception upon accessing EXCEPTIONS_TO_RETRY. In 2.11 this error was fixed.

On all versions middleware does not fail when process_exception is called. On 2.10+ the middleware also respects setting RETRY_EXCEPTIONS.

I am not sure how to add tests with specific scrapy version.

@Prometheus3375
Copy link
Author

@alecxe hello. Can you review this one and release a new version to PyPI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Scrapy 2.10 and RETRY_EXCEPTIONS setting
1 participant