Skip to content

[3.11] gh-116333: Relax error string text expectations in SSL-related tests (GH-116334) - #117227

Closed
WillChilds-Klein wants to merge 2 commits into
python:3.11from
WillChilds-Klein:3.11-relax-ssl-err-strs
Closed

[3.11] gh-116333: Relax error string text expectations in SSL-related tests (GH-116334)#117227
WillChilds-Klein wants to merge 2 commits into
python:3.11from
WillChilds-Klein:3.11-relax-ssl-err-strs

Conversation

@WillChilds-Klein

@WillChilds-KleinWillChilds-Klein commented Mar 25, 2024

Copy link
Copy Markdown
Contributor

This is a backport of PR #116334 to the 3.11 branch.

@WillChilds-Klein
WillChilds-Klein marked this pull request as ready for review March 25, 2024 21:11
@WillChilds-Klein
WillChilds-Klein requested review from a team, 1st1 and asvetlov as code ownersMarch 25, 2024 21:11
@gpsheadgpshead added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Mar 27, 2024
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @gpshead for commit ced2248 🤖

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

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Mar 27, 2024
…tests (pythonGH-116334)
As suggested [here][1], this change relaxes the OpenSSL error string
text expectations in a number of tests. This was specifically done in
support of more easily building CPython [AWS-LC][2], but because AWS-LC
is a fork of [BoringSSL][3], it should increase compatibility with that
library as well.
In addition to the error string relaxations, we also add some guards
around the `tls-unique` channel binding being used with TLSv1.3, as that
feature (described in [RFC 6929][4]) is [not defined][5] for TLSv1.3.
[1]: https://discuss.python.org/t/support-building-ssl-and-hashlib-modules-against-aws-lc/44505/4
[2]: https://github.com/aws/aws-lc
[3]: https://github.com/google/boringssl
[4]: https://datatracker.ietf.org/doc/html/rfc5929#section-3
[5]: https://datatracker.ietf.org/doc/html/rfc8446#appendix-C.5
@arhadthedev

arhadthedev commented Apr 6, 2024

Copy link
Copy Markdown
Member

3.11 now accepts security patches only (see https://devguide.python.org/versions/ for the timeline and https://peps.python.org/pep-0664/#bugfix-releases for the schedule).

Should we close this bugfix PR then?

@arhadthedevarhadthedev added the pending The issue will be closed if no feedback is provided label Apr 10, 2024
@WillChilds-Klein

Copy link
Copy Markdown
ContributorAuthor

Hi @arhadthedev, thank you for the links and head's up. I'll close the PR.

@AA-TurnerAA-Turner removed the pending The issue will be closed if no feedback is provided label Apr 6, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviewtestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@WillChilds-Klein@bedevere-bot@arhadthedev@gpshead@AA-Turner