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

Limit tests to Twisted < 21 #5022

Merged
merged 1 commit into from Mar 3, 2021
Merged

Limit tests to Twisted < 21 #5022

merged 1 commit into from Mar 3, 2021

Conversation

Gallaecio
Copy link
Member

@Gallaecio Gallaecio commented Mar 2, 2021

@kmike @wRAR @elacuesta I figured out this package upgrade was the issue so far.

According to the Twisted 21.2.0 release notes:

trial now allows the @unittest.skipIf decorator to specify that an entire test class should be skipped. (#9829)

This confuses me greatly, as what is failing now are tests that were already using this feature that is supposed to be new in Twisted 21.2.0.

I’ll continue looking into it later.

Fixes #5020

@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #5022 (4fe26ae) into master (f95ebd8) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5022      +/-   ##
==========================================
- Coverage   88.01%   87.84%   -0.17%     
==========================================
  Files         158      158              
  Lines        9726     9726              
  Branches     1433     1433              
==========================================
- Hits         8560     8544      -16     
- Misses        911      928      +17     
+ Partials      255      254       -1     
Impacted Files Coverage Δ
scrapy/robotstxt.py 75.30% <0.00%> (-22.23%) ⬇️
scrapy/core/downloader/__init__.py 92.48% <0.00%> (+1.50%) ⬆️

@wRAR
Copy link
Member

wRAR commented Mar 2, 2021

Have you seen #5020 ?

@Gallaecio
Copy link
Member Author

🤦 I should never create PRs or tickets before checking all the existing ones.

@Gallaecio
Copy link
Member Author

Maybe we should limit the Twisted version for now, to not block pull requests, and figure out what the root issue is later.

@wRAR
Copy link
Member

wRAR commented Mar 3, 2021

Sure

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