You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not the first when this happens.
The idea is to run SSL tests on each pull request, instead of the current scheme, when tests are run for each push event on main, but not in PRs.
Let's try it. Missing SSL test failures in PRs is a bigger problem than wasted resources. If the queues get too long we can always revert to what we have now.
What's the reasoning behind running the tests with warnings turned into exceptions? What is the benefit of it? It causes a lot of issue when adding any warning in asyncio. No other tests are run with -Werror, IMO it should be removed.
It causes a lot of issue when adding any warning in asyncio. No other tests are run with -Werror, IMO it should be removed.
In my case, a deprecation warning revealed that I accidentally broke a test in such a way that it gave no exception:
DeprecationWarning: It is deprecated to return a value!=None from a test case (<bound method StreamTests2.test_eof_feed_when_closing_writer of <test.test_asyncio.test_streams.StreamTests2 testMethod=test_eof_feed_when_closing_writer>>)
So we probably should do the opposite: investigate and fix all flukes then enable -Werror for all tests.
Activity
pythongh-97923: Always run Ubuntu SSL tests with others in CI
vstinner commentedon Oct 6, 2022
If I recall correctly, skipping SSL tests was decided to make the workflow faster, and to not waste CI resources.
ambv commentedon Oct 7, 2022
Let's try it. Missing SSL test failures in PRs is a bigger problem than wasted resources. If the queues get too long we can always revert to what we have now.
gh-97923: Always run Ubuntu SSL tests with others in CI (#97940)
kumaraditya303 commentedon Oct 8, 2022
What's the reasoning behind running the tests with warnings turned into exceptions? What is the benefit of it? It causes a lot of issue when adding any warning in asyncio. No other tests are run with
-Werror, IMO it should be removed.cc @gvanrossum
sobolevn commentedon Oct 8, 2022
СС @tiran
arhadthedev commentedon Oct 8, 2022
In my case, a deprecation warning revealed that I accidentally broke a test in such a way that it gave no exception:
So we probably should do the opposite: investigate and fix all flukes then enable
-Werrorfor all tests.Merge branch 'main' into typewatch
pythongh-97923: Always run Ubuntu SSL tests with others in CI (python…
kumaraditya303 commentedon Nov 29, 2022
Fixed by #97940