Skip to content

Commit f1ce3bf

Browse files
chore(deps): update kubernetes requirement from >=27.2.0,<31 to >=27.2.0,<33 (#45)
Updates the requirements on [kubernetes](https://github.com/kubernetes-client/python) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kubernetes-client/python/releases">kubernetes's releases</a>.</em></p> <blockquote> <h2>Kubernetes Python Client v32.0.1 Stable Release</h2> <p>Getting started:</p> <pre lang="bash"><code>pip install --pre --upgrade kubernetes </code></pre> <p>Or from source, download attached zip file, then</p> <pre lang="bash"><code>unzip client-python-v32.0.1.zip cd client-python-v32.0.1 python setup.py install </code></pre> <p>Then follow examples in <a href="https://github.com/kubernetes-client/python/tree/release-32.0/examples">https://github.com/kubernetes-client/python/tree/release-32.0/examples</a></p> <p>Changelog: <a href="https://github.com/kubernetes-client/python/blob/release-32.0/CHANGELOG.md">https://github.com/kubernetes-client/python/blob/release-32.0/CHANGELOG.md</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md">kubernetes's changelog</a>.</em></p> <blockquote> <h1>v32.0.1</h1> <p>Kubernetes API Version: v1.32.2</p> <h3>Uncategorized</h3> <ul> <li>Adds support for providing cluster information to the exec credential provider if requested. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2303">#2303</a>, <a href="https://github.com/brendandburns"><code>@​brendandburns</code></a>)</li> <li>Remove py from test dependencies (<a href="https://redirect.github.com/kubernetes-client/python/issues/2288">#2288</a>, <a href="https://github.com/jelly"><code>@​jelly</code></a>)</li> </ul> <h3>Bug or Regression</h3> <ul> <li>Fix dynamic client watch of named resource (<a href="https://redirect.github.com/kubernetes-client/python/issues/2076">#2076</a>, <a href="https://github.com/bobh66"><code>@​bobh66</code></a>)</li> <li>Fixed PortForward proxy to close local Python sockets when the WebSocket closes. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2316">#2316</a>, <a href="https://github.com/anvilpete"><code>@​anvilpete</code></a>)</li> <li>Fixes bug that would fail authentication when using the exec-provider with a specific cluster selected (<a href="https://redirect.github.com/kubernetes-client/python/issues/2340">#2340</a>, <a href="https://github.com/tomasaschan"><code>@​tomasaschan</code></a>)</li> </ul> <h3>Feature</h3> <ul> <li>Add utility functions kubernetes.utils.duration.parse_duration and kubernetes.utils.duration.format_duration to manage Gateway API Duration strings as specified by GEP-2257. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2261">#2261</a>, <a href="https://github.com/kflynn"><code>@​kflynn</code></a>)</li> <li>Added the ability to use the optional <code>apply</code> parameter for functions within the <code>utils.create_from_yaml</code> submodule. This allows these functions to optionally use the <code>DynamicClient.server_side_apply</code> function to apply yaml manifests. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2252">#2252</a>, <a href="https://github.com/dcmcand"><code>@​dcmcand</code></a>)</li> <li>Adding <code>utils.format_quantity</code> to convert decimal numbers into a canonical Kubernetes quantity. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2216">#2216</a>, <a href="https://github.com/rkschamer"><code>@​rkschamer</code></a>)</li> </ul> <h1>v32.0.0</h1> <p>Kubernetes API Version: v1.32.1</p> <h3>Bug or Regression</h3> <ul> <li>Fixed PortForward proxy to close local Python sockets when the WebSocket closes. (<a href="https://redirect.github.com/kubernetes-client/python/issues/2316">#2316</a>, <a href="https://github.com/anvilpete"><code>@​anvilpete</code></a>)</li> </ul> <h1>v32.0.0b1</h1> <p>Kubernetes API Version: v1.32.1</p> <h3>API Change</h3> <ul> <li>DRA API: the maximum number of pods which can use the same ResourceClaim is now 256 instead of 32. Beware that downgrading a cluster where this relaxed limit is in use to Kubernetes 1.32.0 is not supported because 1.32.0 would refuse to update ResourceClaims with more than 32 entries in the status.reservedFor field. (<a href="https://redirect.github.com/kubernetes/kubernetes/pull/129544">kubernetes/kubernetes#129544</a>, <a href="https://github.com/pohly"><code>@​pohly</code></a>) [SIG API Machinery, Node and Testing]</li> <li>NONE (<a href="https://redirect.github.com/kubernetes/kubernetes/pull/129598">kubernetes/kubernetes#129598</a>, <a href="https://github.com/aravindhp"><code>@​aravindhp</code></a>) [SIG API Machinery and Node]</li> </ul> <h1>v32.0.0a1</h1> <p>Kubernetes API Version: v1.32.0</p> <h3>API Change</h3> <ul> <li><strong>ACTION REQUIRED</strong> for custom scheduler plugin developers: <code>PodEligibleToPreemptOthers</code> in the <code>preemption</code> interface now includes <code>ctx</code> in the parameters. Please update your plugins' implementation accordingly. (<a href="https://redirect.github.com/kubernetes/kubernetes/pull/126465">kubernetes/kubernetes#126465</a>, <a href="https://github.com/googs1025"><code>@​googs1025</code></a>) [SIG Scheduling]</li> <li>Changed NodeToStatusMap from a map to a struct and exposed methods to access the entries. Added absentNodesStatus, which informs the status of nodes that are absent in the map. For developers of out-of-tree PostFilter plugins, ensure to update the usage of NodeToStatusMap. Additionally, NodeToStatusMap should eventually be renamed to NodeToStatusReader. (<a href="https://redirect.github.com/kubernetes/kubernetes/pull/126022">kubernetes/kubernetes#126022</a>, <a href="https://github.com/macsko"><code>@​macsko</code></a>) [SIG Node, Scheduling, and Testing]</li> <li>A new /resize subresource was added to request pod resource resizing. Update your k8s client code to utilize the /resize subresource for Pod resizing operations. (<a href="https://redirect.github.com/kubernetes/kubernetes/pull/128266">kubernetes/kubernetes#128266</a>, <a href="https://github.com/AnishShah"><code>@​AnishShah</code></a>) [SIG API Machinery, Apps, Node and Testing]</li> <li>A new feature that allows unsafe deletion of corrupt resources has been added, it is disabled by default, and it can be enabled by setting the option <code>--feature-gates=AllowUnsafeMalformedObjectDeletion=true</code>. It comes with an API change, a new delete option <code>ignoreStoreReadErrorWithClusterBreakingPotential</code> has been introduced, it is not set by default, this maintains backward compatibility. In order to perform an unsafe deletion of a corrupt resource, the user must enable the option for the delete request. A resource is considered corrupt if it can not be successfully retrieved from the storage due to</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kubernetes-client/python/commit/bc4fd671bfa702007e090ae3ae28bf28bc9c3a6e"><code>bc4fd67</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-client/python/issues/2348">#2348</a> from yliaog/automated-release-of-32.0.1-upstream-rel...</li> <li><a href="https://github.com/kubernetes-client/python/commit/79690bcfa48263b24fc7ede39f9f473e9a4a2067"><code>79690bc</code></a> Update the compatibility matrix and maintenance status</li> <li><a href="https://github.com/kubernetes-client/python/commit/893d70aa5f83f7dca61f63181165266a961916da"><code>893d70a</code></a> generated client change</li> <li><a href="https://github.com/kubernetes-client/python/commit/641f59a7e4dba95e3c83a17a044c3672dcebcf5e"><code>641f59a</code></a> generated API change</li> <li><a href="https://github.com/kubernetes-client/python/commit/7ea787c17bcece03bc9a1d4c2e33979b2363e4f7"><code>7ea787c</code></a> generated client change for custom_objects</li> <li><a href="https://github.com/kubernetes-client/python/commit/49df23708338ab319bcb5df096e33c6d6c72bed5"><code>49df237</code></a> update version constants for 32.0.1 release</li> <li><a href="https://github.com/kubernetes-client/python/commit/3c848c277bd28d962bb47bafb044c2fb6eac001c"><code>3c848c2</code></a> update changelog with release notes from master branch</li> <li><a href="https://github.com/kubernetes-client/python/commit/dcc27f964eab7d80c2a75563513c3c868cae9ef9"><code>dcc27f9</code></a> Address review feedback</li> <li><a href="https://github.com/kubernetes-client/python/commit/c665cab8e4416c7cc34dba3cd556d4add13cf92a"><code>c665cab</code></a> fix: Extract value from ConfigNode before storing it</li> <li><a href="https://github.com/kubernetes-client/python/commit/4c7757b1a728bade2683a2d869691374114b9b26"><code>4c7757b</code></a> Tweak test to fail like the production code does</li> <li>Additional commits viewable in <a href="https://github.com/kubernetes-client/python/compare/v27.2.0...v32.0.1">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Johannes Köster <[email protected]>
1 parent b5697b9 commit f1ce3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords = ["snakemake", "plugin", "executor", "cloud", "kubernetes"]
1313
python = "^3.11"
1414
snakemake-interface-common = "^1.17.3"
1515
snakemake-interface-executor-plugins = ">=9.0.0,<10.0.0"
16-
kubernetes = ">=27.2.0,<31"
16+
kubernetes = ">=27.2.0,<33"
1717

1818
[tool.poetry.group.dev.dependencies]
1919
black = "^23.7.0"

0 commit comments

Comments
 (0)