-
Notifications
You must be signed in to change notification settings - Fork 102
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
Cap pytest to below 3.0 #4826
Cap pytest to below 3.0 #4826
Conversation
Maybe also need a card to help us remember to undo this once 3.0.3 is out. |
Agreed. There might be a race condition between open-source project roadmaps and we should definitely watch the |
If the tests pass tomorrow then I assume the breaking tag will need to be removed to protect other builds? |
See: https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-breaking-integration-Python27/27/ Relevant tests now passing. |
To avoid coming back to this in the future we need to change the clause so that only bugged versions are excluded. The PR that fixes the bug has already been merged and is scheduled for inclusion in the 3.0.3 release. I've checked 3.0.{0,1,2} and they're all bugged, while 2.9.2 is OK. So if we change the clause to:
we should be OK now and in the (near) future. AFAIK, PEP440 does not allow to specify the above clause in a more compact way. Note that this PR (with the above change) must not be reverted. Even though they're going to fix the bug, those three releases will stay bugged forever. |
Unless there is some work in |
Let's move it out of breaking. It does not hurt to keep this PR opened until the new version of |
Removed |
@sbesson the problem with |
Could we have another version of this on breaking so that build goes green again? |
@sbesson Is there a way for snoopy to merge it into both breaking and develop? |
@ximenesuk @mtbc: It's all part of the semantics of the The alternative would be to implement @simleo's #4826 (comment) and merge this PR. Leaving the OMERO 5.3 team to decide on the most convenient way |
Let's leave the merge system as it is! I'll modify the PR inline with @simleo's suggestion and if the tests are okay on Monday the PR can be merged. |
Commit added to exclude broken versions of |
https://ci.openmicroscopy.org/job/OMERO-DEV-merge-integration-python/370/ |
--rebased-to #4858 |
I am afraid they haven;t fixed that in 3.0.3 as mentioned in #4826 (comment).
I will open a new PR with
|
What this PR does
This PR caps the
pytest
version to below3.0.0
due to the bug at: pytest-dev/pytest#1905Testing this PR
The test previously failing at https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-breaking-integration-Python27/26/testReport/OmeroPy.test.integration.clitest/test_download/TestDownload/ should pass.
When the issue above if resolved the commit in this PR should be reverted or otherwise amended.
See: https://trello.com/c/FjmLqCum/709-uncap-pytest
--rebased-to #4848