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

fix error when using 'scrapy shell' #94

Merged
merged 3 commits into from
Nov 23, 2022
Merged

fix error when using 'scrapy shell' #94

merged 3 commits into from
Nov 23, 2022

Conversation

BurnzZ
Copy link
Contributor

@BurnzZ BurnzZ commented Nov 21, 2022

Fixes #92

Ignore the failed tests. It's because of the new deprecated things from the recently released web-poet=0.6.0. The PR in #89 will address it. Fixed

@BurnzZ BurnzZ changed the title WIP: fix issue when using 'scrapy shell' fix error when using 'scrapy shell' Nov 21, 2022
@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Merging #94 (3d9382b) into master (c3686a9) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   97.78%   97.78%           
=======================================
  Files          10       10           
  Lines         451      451           
=======================================
  Hits          441      441           
  Misses         10       10           
Impacted Files Coverage Δ
scrapy_poet/injection.py 98.95% <100.00%> (ø)

@BurnzZ BurnzZ requested review from Gallaecio, kmike and wRAR November 21, 2022 13:09
@wRAR
Copy link
Member

wRAR commented Nov 21, 2022

I wonder if it's possible to add a test?

@BurnzZ
Copy link
Contributor Author

BurnzZ commented Nov 23, 2022

I removed the old conditional check for scrapy shell in 3d9382b. It appears we don't really need it.

The rest of the changes are already covered by the existing tests.

@kmike kmike merged commit 5babee8 into master Nov 23, 2022
@kmike
Copy link
Member

kmike commented Nov 23, 2022

Thanks @BurnzZ!

@BurnzZ BurnzZ deleted the fix-scrapy-shell branch November 25, 2022 07:32
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.

Error when running scrapy shell
4 participants