Skip to content

Add reactorless support - #311

Merged
AdrianAtZyte merged 2 commits into
scrapy-plugins:mainfrom
AdrianAtZyte:untwisted
Jul 24, 2026
Merged

Add reactorless support#311
AdrianAtZyte merged 2 commits into
scrapy-plugins:mainfrom
AdrianAtZyte:untwisted

Conversation

@AdrianAtZyte

Copy link
Copy Markdown
Contributor

Fixes #310.

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.96%. Comparing base (fb90978) to head (bae785b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #311      +/-   ##
==========================================
- Coverage   98.02%   97.96%   -0.06%     
==========================================
  Files          15       15              
  Lines        2375     2404      +29     
  Branches      432      439       +7     
==========================================
+ Hits         2328     2355      +27     
- Misses         20       21       +1     
- Partials       27       28       +1     
Files with missing lines Coverage Δ
scrapy_zyte_api/addon.py 95.74% <100.00%> (+0.09%) ⬆️
scrapy_zyte_api/handler.py 96.69% <100.00%> (+0.33%) ⬆️
scrapy_zyte_api/utils.py 91.45% <100.00%> (+0.46%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AdrianAtZyte
AdrianAtZyte marked this pull request as ready for review July 24, 2026 09:26
# The default Twisted-based HTTP/1.1 handler cannot be used without a
# reactor; fall back to the asyncio-based httpx handler instead.
default = (
"scrapy.core.downloader.handlers.http11.HTTP11DownloadHandler"

@AdrianAtZyte AdrianAtZyte Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wRAR: You were right, it was hard-coded.

@AdrianAtZyte
AdrianAtZyte merged commit 1701567 into scrapy-plugins:main Jul 24, 2026
82 of 86 checks passed
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.

Support TWISTED_REACTOR_ENABLED=False

2 participants