Skip to content

kubernetes 3.1.0 is failing with python 3.12 #2260

Open

Description

@swaruparameshpajju

build-kubernetes-30.1.0-2024-08-07-10-19-11-348-65896464.txt
What happened (please include outputs or screenshots):

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (kubectl version):
  • OS (e.g., MacOS 10.13.6):
  • Python version (python --version)
  • Python client version (pip list | grep kubernetes)

Activity

  1. changed the title [-]kubernetes is failing with python 3.12[/-] [+]kubernetes 3.1.0 is failing with python 3.12[/+] on Aug 7, 2024
  2. roycaihw commented on Aug 14, 2024

    @roycaihw
    Member

    Python 3.12 is not tested

    python/tox.ini

    Lines 2 to 4 in 90d4fef

    envlist =
    py3{6,7,8,9}
    py3{6,7,8,9}-functional

    Some investigation would be needed if we want to support 3.12

  3. added
    kind/featureCategorizes issue or PR as related to a new feature.
    and removed
    kind/bugCategorizes issue or PR as related to a bug.
    on Aug 14, 2024
  4. heysarthak commented on Aug 23, 2024

    @heysarthak

    Hi Team,
    any updates on this?

  5. roycaihw commented on Aug 26, 2024

    @roycaihw
    Member

    /help

  6. k8s-ci-robot commented on Aug 26, 2024

    @k8s-ci-robot
    Contributor

    @roycaihw:
    This request has been marked as needing help from a contributor.

    Guidelines

    Please ensure that the issue body includes answers to the following questions:

    • Why are we solving this issue?
    • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
    • Does this issue have zero to low barrier of entry?
    • How can the assignee reach out to you for help?

    For more details on the requirements of such an issue, please see here and ensure that they are met.

    If this request no longer meets these requirements, the label can be removed
    by commenting with the /remove-help command.

    Details

    In response to this:

    /help

    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-sigs/prow repository.

  7. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Aug 26, 2024
  8. Bhargav-manepalli commented on Sep 2, 2024

    @Bhargav-manepalli

    Hi @swaruparameshpajju,

    I'd like to work on this issue. Could you please provide more details? Specifically, it would be helpful to know which script you executed to test this functionality.

    For context, I used Python 3.12.4 along with the Python Kubernetes client version 30.1.0. I also tried the example provided in examples/deployment_create.py, and it worked successfully for me.

  9. dmyersturnbull commented on Dec 10, 2024

    @dmyersturnbull

    @roycaihw Could this line be changed?

    https://github.com/kubernetes-client/python/blob/master/setup.py#L70

    From

    python_requires='>=3.6',

    To

    python_requires='>=3.6,<3.12',

    (I would submit a PR, but getting a corporate CLA just for that seems like a waste of time :).)

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

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions