Skip to content

Drop python 3.5 #1480

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

Merged
merged 4 commits into from
Jun 6, 2021
Merged

Conversation

palnabarun
Copy link
Member

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Python 3.5 was EOL'ed on 13 Sep 2020. We shouldn't support Python versions that don't get security updates anymore. (Ref 1, Ref 2)

While going through updating PyYAML due to a CVE fix (#1306), I realized that our dependencies may have dropped support for out-of-support Python minor versions. PyYAML doesn't support Python 3.5 anymore with their latest release.

If we are to fix the CVE, we need to drop Python 3.5. I think we can drop as part of releasing client version v18.y.0b1 as Python doesn't break backward compatibility within minor versions.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

None

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels May 28, 2021
@k8s-ci-robot k8s-ci-robot requested review from roycaihw and yliaog May 28, 2021 01:48
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 28, 2021
@palnabarun
Copy link
Member Author

/assign @roycaihw @yliaog

@yliaog
Copy link
Contributor

yliaog commented May 28, 2021

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 28, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: palnabarun, yliaog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 28, 2021
@roycaihw
Copy link
Member

roycaihw commented Jun 2, 2021

The test is constantly failing due to #1485

@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 6, 2021
@k8s-ci-robot k8s-ci-robot merged commit 9fb8f35 into kubernetes-client:master Jun 6, 2021
@palnabarun
Copy link
Member Author

Ummmm, this is weird. Force pushing to a branch where the PR is lgtm'ed and approved merged the PR.

I think this isn't expected. Is it?

@palnabarun
Copy link
Member Author

(Although the changes proposed in the PR are not very significant)

@yliaog
Copy link
Contributor

yliaog commented Jun 7, 2021

no, it is not expected, lgtm label was removed, how could it get merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants