Skip to content

SG 38306 Python2 removal six and ensure_ functions, httplib2 #395

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

eduardoChaucaGallegos
Copy link
Contributor

@eduardoChaucaGallegos eduardoChaucaGallegos commented Jul 8, 2025

Description

  • Removed six and ensure_ functions.
  • Removed Python folders in httplib2.
  • Command to update this httplib2 also updated.

@eduardoChaucaGallegos eduardoChaucaGallegos requested a review from a team July 10, 2025 16:01
@eduardoChaucaGallegos eduardoChaucaGallegos changed the title SG 38306 Python2 removal six and ensure_ functions SG 38306 Python2 removal six and ensure_ functions, httplib2 Jul 10, 2025
Copy link
Contributor

@carlos-villavicencio-adsk carlos-villavicencio-adsk left a comment

Choose a reason for hiding this comment

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

Just a small proposal.

@@ -4684,7 +4635,7 @@ def connect(self):
"Connect to a host on a given (SSL) port."
super().connect(self)
# Now that the regular HTTP socket has been created, wrap it with our SSL certs.
if six.PY38:
if sys.version_info >= (3, 8):
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't support 3.7 anymore, so I think we can get rid of this condition and leave only the truth block.

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.

2 participants