FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support by gpshead · Pull Request #109471 · python/cpython · GitHub

/ cpython Public

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support - #109471

Merged
Yhg1s merged 1 commit into
python:3.12from
gpshead:tests/silence-cgi-fork-warning
Sep 17, 2023
Merged

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support#109471
Yhg1s merged 1 commit into
python:3.12from
gpshead:tests/silence-cgi-fork-warning

Conversation

gpshead commented Sep 15, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to go away in 3.15. This just removes noise from our test suite when warnings are rightfully enabled.

If the long pre-existing fork+threading mix here ever causes anyone deadlocks as is possible, disabling the test entirely on that platform makes sense rather than attempting to fix http.server.CGIHTTPRequestHandler or refactor the test to not use a threaded server in the test.

…cationWarning on CGI support.

We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to go
away in 3.15.  This just removes noise from our test suite when warnings
are rightfully enabled.

If the long pre-existing fork+threading mix here ever causes anyone
deadlocks as is possible, disabling the test entirely on that platform
makes sense rather than attempting to fix
http.server.CGIHTTPRequestHandler or refactor to not use a threaded
server in the test.
gpshead added tests Tests in the Lib/test dir 3.12 only security fixes labels Sep 15, 2023
gpshead marked this pull request as ready for review September 15, 2023 22:56

gpshead commented Sep 15, 2023

Copy link
Copy Markdown
Member Author

This can wait for 3.12.1.

gpshead self-assigned this Sep 15, 2023
Yhg1s merged commit 52bbb22 into python:3.12 Sep 17, 2023
gpshead deleted the tests/silence-cgi-fork-warning branch September 17, 2023 23:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.12 only security fixes skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL