Skip to content

Restore the python-dateutil lower bound to 2.8.2 - #2789

Closed
Yohan-Senadheera wants to merge 1 commit into
kubernetes-client:masterfrom
Yohan-Senadheera:fix-dateutil-lower-bound
Closed

Yohan-Senadheera wants to merge 1 commit into
kubernetes-client:masterfrom
Yohan-Senadheera:fix-dateutil-lower-bound

Conversation

@Yohan-Senadheera

@Yohan-Senadheera Yohan-Senadheera commented Nov 17, 2026 •

Copy link
Copy Markdown

What type of PR is this?

/kind bug

What this PR does / why we need it:

#2757 raised the python-dateutil requirement to >=3.0.0. botocore needs python-dateutil<3.0.0, so the two can't be installed together anymore. The client only uses dateutil.parser.parse, which works on 2.x, so this puts the lower bound back to 2.8.2, the value in the 37.0 changelog.

Tested with python-dateutil 2.8.2: the client and config tests pass, and it installs next to botocore 1.44.4.

Which issue(s) this PR fixes:

Fixes #2788

Does this PR introduce a user-facing change?

Allow python-dateutil>=2.8.2 again so the client can be installed alongside botocore.

Copilot AI balanced review requested due to automatic review settings November 17, 2026 18:53
@kubernetes-prow kubernetes-prow Bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. kind/bug Categorizes issue or PR as related to a bug. labels Nov 17, 2026
@kubernetes-prow
kubernetes-prow Bot requested review from roycaihw and yliaog November 17, 2026 18:53
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Yohan-Senadheera
Once this PR has been reviewed and has the lgtm label, please assign roycaihw for approval. For more information see the Code Review Process.

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

Details 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

@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Yohan-Senadheera / name: Yohan Senadheera (12d1f4f)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@kubernetes-prow

Copy link
Copy Markdown
Contributor

Welcome @Yohan-Senadheera!

It looks like this is your first PR to kubernetes-client/python 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-client/python has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 17, 2026
Dependabot raised the requirement from >=2.8.2 to >=3.0.0, which makes the
client impossible to install next to botocore, since botocore pins
python-dateutil<3.0.0. The client only uses dateutil.parser.parse, which every
2.x release provides, and the 37.0 changelog documents python-dateutil>=2.8.2.

Signed-off-by: Yohan Senadheera <yohansenadheera@gmail.com>
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Nov 17, 2026
@yliaog

yliaog commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

thanks for the PR

#2790 did the same fix, we can close this PR.

@yliaog

yliaog commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

/close

@kubernetes-prow kubernetes-prow Bot closed this Nov 17, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

@yliaog: Closed this PR.

Details

In response to this:

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

@Yohan-Senadheera

Copy link
Copy Markdown
Author

No problem, glad it's fixed. For reference, this PR had the same change about 45 minutes before #2790. I'd like to keep contributing here, so if there's an issue you'd like help with, I'm happy to take it.

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

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python-dateutil conflicting dependency issue

3 participants