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

resolve issue 5932 #6178

Closed
wants to merge 1 commit into from
Closed

resolve issue 5932 #6178

wants to merge 1 commit into from

Conversation

nluginbill
Copy link

@nluginbill nluginbill commented Dec 13, 2023

Fixes #5932

Removed the lines closing the temporary file in GzipPlugin, Bz2Plugin, and LMZAPlugin in postprocessing.py.

Placed file closes in GCSFeedExporter, FTPFeedStorage, and S3FeedStorage in feedexport.py.

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Merging #6178 (329175c) into master (04024f1) will decrease coverage by 45.57%.
Report is 21 commits behind head on master.
The diff coverage is 0.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #6178       +/-   ##
===========================================
- Coverage   88.75%   43.18%   -45.57%     
===========================================
  Files         160      159        -1     
  Lines       11414    11581      +167     
  Branches     1860     1885       +25     
===========================================
- Hits        10130     5001     -5129     
- Misses        976     6188     +5212     
- Partials      308      392       +84     
Files Coverage Δ
scrapy/extensions/postprocessing.py 41.26% <ø> (-57.22%) ⬇️
scrapy/extensions/feedexport.py 67.93% <0.00%> (-24.74%) ⬇️

... and 141 files with indirect coverage changes

@Gallaecio
Copy link
Member

It seems this approach breaks some feedexport scenarios.

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.

_store_in_thread must not receive a closed file when using postprocessing plugins
2 participants