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

Drop Python 2.7 support and clean up support code #116

Merged
merged 3 commits into from
Aug 22, 2023
Merged

Conversation

mortenlj
Copy link
Member

@mortenlj mortenlj commented Aug 16, 2023

I don't think anything needs Python 2.7 support anymore. If there are, those things should be updated ASAP.

@mortenlj mortenlj self-assigned this Aug 16, 2023
@mortenlj mortenlj requested a review from a team as a code owner August 16, 2023 13:34
henrik242
henrik242 previously approved these changes Aug 16, 2023
@@ -70,7 +70,7 @@ Once you have created a class for your API type, some of the fields will refer t

.. note::

If the Kubernetes documentation says the type is ``object``, the python type should be ``dict``. If the Kubernetes documentation says the type is ``string``, we use ``six.text_type`` to maintain compatibility with both Python 2 and 3. Most other simple types are obvious.
If the Kubernetes documentation says the type is ``object``, the python type should be ``dict``. If the Kubernetes documentation says the type is ``string``, we use ``str`` to maintain compatibility with both Python 2 and 3. Most other simple types are obvious.
Copy link

Choose a reason for hiding this comment

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

I am guessing you can also remove the note about Python 2 vs 3 compat here?

nerhus
nerhus previously approved these changes Aug 16, 2023
@mortenlj mortenlj dismissed stale reviews from nerhus and henrik242 via e09a48b August 16, 2023 20:40
Copy link
Member

@oyvindio oyvindio left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, LGTM

@mortenlj mortenlj merged commit 6bff0c3 into master Aug 22, 2023
1 check passed
@mortenlj mortenlj deleted the drop-py27 branch August 22, 2023 08:01
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.

4 participants