-
Notifications
You must be signed in to change notification settings - Fork 160
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
plugin: Use pytest 5.4.0 new Function API #142
Conversation
This change means this project can only work with Pytest 5.4.0 and up. Either
|
@mjpieters Thank you for your review. |
@romainletendart: The reason this PR fails has been fixed in #148, just waiting for review (maybe @mjpieters has the time to check?) and merge. |
@simonfagerholm wouldn't it be better to follow @mjpieters advice and instead of constraining users from using newer versions of |
@dmitrypolo maybe you meant to message @romainletendart? |
@simonfagerholm @romainletendart my comment applies to both of you technically. This PR confines users from using |
@dmitrypolo Before this PR is merged pytest 5.4.0 and above is not supported. To be able to use pytest >= 5.4.0 this PR is needed. My PR correctly reflects that only pytest < 5.4.0 is supported |
@simonfagerholm correct, I guess the point I am trying to get across is we should probably try to allow for both users of |
@dmitrypolo Yes but in my case its for good reason: It isn't compatible... I can understand that you would like it to be backwards compatible, but that is only with this PR and not mine. |
I'm not sure supporting multiple API versions inside the code itself is a good idea. @simonfagerholm, I will definitely rebase on the upstream master once your merged your PR just to be sure everything is green before being able to merge my own PR. |
@romainletendart I totally agree. |
Maybe we could ask @Tinche as he seems to be both the initiator and the main contributor of pytest-asyncio? |
@romainletendart Fix the merge conflict please and let's get this in! |
@romainletendart Like @Tinche said: my PR is in, pull it and lets get this in! :) |
@Tinche @simonfagerholm Merge conflict fixed, thank you! :) |
@Tinche Seems good to go! :) |
Thank you kindly! |
This fixes #141.