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

SG-30084 Custom revert of 3e72b44a to fix the SSLEOFError #347

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julien-lang
Copy link
Contributor

@julien-lang julien-lang commented Jun 5, 2024

Could not "git revert" because the files have changed too much

All this code in 3e72b44 was created to support Python versions 2.5 and below (the Python SSL module was added in Python 2.6: https://docs.python.org/2.7/library/ssl.html)

Since we don't support these versions of Python anymore and this creates a problem with SSLEOFError, let's just revert it all.

@julien-lang julien-lang force-pushed the ticket/SG-34910-fixup-by-reverting-3e72b44a branch from acb688c to 5c44bcd Compare June 5, 2024 20:52
@julien-lang julien-lang changed the base branch from master to ticket/SG-34910-fixup-ssl-eol-exception June 5, 2024 20:52
@@ -112,6 +112,8 @@ def _is_mimetypes_broken():
have a self-signed internal certificate that isn't included in our certificate bundle, you may
not require the added security provided by enforcing this.
"""
if os.environ.get("SHOTGUN_DISABLE_SSL_VALIDATION", False):
NO_SSL_VALIDATION = True
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to bring this variable back?

@julien-lang julien-lang force-pushed the ticket/SG-34910-fixup-by-reverting-3e72b44a branch from 5c44bcd to b477fbb Compare June 5, 2024 23:07
@julien-lang julien-lang force-pushed the ticket/SG-34910-fixup-ssl-eol-exception branch from e626ed4 to f9f50d3 Compare June 5, 2024 23:07
@julien-lang julien-lang changed the title SG-34910 Custom revert of 3e72b44a to fix the SSLEOFError SG-30084 Custom revert of 3e72b44a to fix the SSLEOFError Jun 6, 2024
Base automatically changed from ticket/SG-34910-fixup-ssl-eol-exception to master June 7, 2024 19:52
Could not "git revert" because the files have changed too much
@julien-lang julien-lang force-pushed the ticket/SG-34910-fixup-by-reverting-3e72b44a branch from b477fbb to 5ca2da7 Compare June 19, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant