Visitar URL original
bpo-38291: Reset DeprecationWarning filters in test_typing io and re by Fidget-Spinner · Pull Request #26811 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20220203014614/https://github.com/python/cpython/pull/26811
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

bpo-38291: Reset DeprecationWarning filters in test_typing io and re #26811

Merged
merged 1 commit into from Jun 21, 2021

Conversation

@Fidget-Spinner
Copy link
Contributor

@Fidget-Spinner Fidget-Spinner commented Jun 20, 2021 •

https://bugs.python.org/issue38291

@Fidget-Spinner Fidget-Spinner marked this pull request as draft Jun 20, 2021
@Fidget-Spinner Fidget-Spinner changed the title Reset DeprecationWarning filters in test_typing io and re bpo-38291: Reset DeprecationWarning filters in test_typing io and re Jun 20, 2021
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 20, 2021

🤖 New build scheduled with the buildbot fleet by @Fidget-Spinner for commit 5190297 🤖

If you want to schedule another build, you need to add the "🔨 test-with-buildbots" label again.

Copy link
Member

@gvanrossum gvanrossum left a comment

I suppose we went too quick here? I’m not sure what this does (it’s been a long time since I played with warnings) but if this is blocking other PRs I am happy to merge it.

@Fidget-Spinner Fidget-Spinner marked this pull request as ready for review Jun 21, 2021
@Fidget-Spinner
Copy link
Contributor Author

@Fidget-Spinner Fidget-Spinner commented Jun 21, 2021 •

I suppose we went too quick here? I’m not sure what this does (it’s been a long time since I played with warnings) but if this is blocking other PRs I am happy to merge it.

Luckily this isn't blocking other PRs, buildbot failures only block releases AFAIK. As Sebastian mentioned on the bpo issue, it's an Azure pipelines problem. The specific pipeline is only run after a commit is made. Even with the test-with-buildbots label, I'm unable to recreate the conditions for the failure on a PR. At best, this fix is a hunch which I have no way of verifying or reproducing locally.

This fix wasn't clear to me too, until I read this part of the warnings docs:
https://docs.python.org/3/library/warnings.html#testing-warnings

@gvanrossum gvanrossum merged commit c5d700f into python:main Jun 21, 2021
76 checks passed
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 21, 2021

@gvanrossum: Please replace # with GH- in the commit message next time. Thanks!

@Fidget-Spinner Fidget-Spinner deleted the fix-azure-appx branch Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants