Skip to content

8.0 branch has support for python 3.7 but 6.0 branch doesn't #681

Closed

Description

@eastlondoner

kubernetes/client/apis/admissionregistration_api.py line 120 uses async as a named parameter. But that's not allowed in python 3.7

This has been changed in the 8.0 branch but not in other branches.

We can't use the 8.0 branch because it's not compatible with K8s 1.10 - which is the most up to date stable K8s available on GCP.

Could the fix be ported to the 6.0 branch and a new release cut?

Activity

  1. eastlondoner commented on Nov 5, 2018

    @eastlondoner
    Author

    I think this is all that's required: #682

  2. roycaihw commented on Nov 7, 2018

    @roycaihw
    Member

    @eastlondoner Have you tried 7.0.0 release? v7 releases should also contain the fix for Python 3.7 reserved keywords.

    Also could you give some example on what API change made 8.0 branch be incompatible with k8s 1.10? 8.0 branch was generated against kubernetes 1.12 release. Since 7.0 branch was generated against kubernetes 1.11 release and the version skew is smaller, I'd expect 7.0.0 release works better with a k8s 1.10 cluster-- that being said, sometimes in Kubernetes we might have bad API change that breaks one-minor-version server-client skew guarantee.

  3. eastlondoner commented on Nov 7, 2018

    @eastlondoner
    Author

    @roycaihw We use the Custom Resource Definition API and the 8.0 branch has incompatibilities there with 1.10

  4. roycaihw commented on Nov 9, 2018

    @roycaihw
    Member

    6.1.0 client has been released with Python 3.7 support: https://github.com/kubernetes-client/python/releases/tag/v6.1.0. Closing this issue

    /close

  5. k8s-ci-robot commented on Nov 9, 2018

    @k8s-ci-robot
    Contributor

    @roycaihw: Closing this issue.

    Details

    In response to this:

    6.1.0 client has been released with Python 3.7 support: https://github.com/kubernetes-client/python/releases/tag/v6.1.0. Closing this issue

    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions