Skip to content

Commit

Permalink
perf: update kubernetes requirement from >=27.2.0,<30 to >=27.2.0,<31 (
Browse files Browse the repository at this point in the history
…#20)

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 v30.1.0 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-v30.1.0.zip
cd client-python-v30.1.0
python setup.py install
</code></pre>
<p>Then follow examples in <a
href="https://github.com/kubernetes-client/python/tree/release-30.0/examples">https://github.com/kubernetes-client/python/tree/release-30.0/examples</a></p>
<p>Changelog: <a
href="https://github.com/kubernetes-client/python/blob/release-30.0/CHANGELOG.md">https://github.com/kubernetes-client/python/blob/release-30.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>v30.1.0b1</h1>
<p>Kubernetes API Version: v1.30.1</p>
<h1>v30.1.0a1</h1>
<p>Kubernetes API Version: v1.30.1</p>
<h3>API Change</h3>
<ul>
<li>
<p>Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets
and hostAliases fields to mark the fields used as keys in those lists as
either defaulted or required. (<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/124553">kubernetes/kubernetes#124553</a>,
<a href="https://github.com/pmalek"><code>@​pmalek</code></a>) [SIG API
Machinery]</p>
</li>
<li>
<p>Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets
and hostAliases fields to mark the fields used as keys in those lists as
either defaulted or required. (<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/124694">kubernetes/kubernetes#124694</a>,
<a href="https://github.com/pmalek"><code>@​pmalek</code></a>) [SIG API
Machinery]</p>
</li>
<li>
<p>Added (alpha) support for the <code>managedBy</code> field on Jobs.
Jobs with a custom value of this field - any value other than
<code>kubernetes.io/job-controller</code> - were skipped by the job
controller, and their reconciliation was delegated to an external
controller, indicated by the value of the field. Jobs that didn't have
this field at all, or where the field value was the reserved string
<code>kubernetes.io/job-controller</code>, were reconciled by the
built-in job controller.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123273">kubernetes/kubernetes#123273</a>,
<a href="https://github.com/mimowo"><code>@​mimowo</code></a>)</p>
</li>
<li>
<p>Added alpha-level support for the SuccessPolicy in Jobs.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123412">kubernetes/kubernetes#123412</a>,
<a href="https://github.com/tenzen-y"><code>@​tenzen-y</code></a>)</p>
</li>
<li>
<p>Added the <code>CEL</code> library for IP Addresses and CIDRs. This
was made available for use starting from version <code>1.31</code>.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/121912">kubernetes/kubernetes#121912</a>,
<a href="https://github.com/JoelSpeed"><code>@​JoelSpeed</code></a>)</p>
</li>
<li>
<p>Allowed container runtimes to fix an image garbage collection bug by
adding an <code>image_id</code> field to the CRI Container message.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123508">kubernetes/kubernetes#123508</a>,
<a
href="https://github.com/saschagrunert"><code>@​saschagrunert</code></a>)</p>
</li>
<li>
<p>Dynamic Resource Allocation: DRA drivers can now use &quot;structured
parameters&quot; to let the scheduler handle claim allocation.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123516">kubernetes/kubernetes#123516</a>,
<a href="https://github.com/pohly"><code>@​pohly</code></a>)</p>
</li>
<li>
<p>Fixed accidental enablement of the new alpha
<code>optionalOldSelf</code> API field in
<code>CustomResourceDefinition</code> validation rules, which should
only have been allowed to be set when the
<code>CRDValidationRatcheting</code> feature gate is enabled.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/122329">kubernetes/kubernetes#122329</a>,
<a href="https://github.com/jpbetz"><code>@​jpbetz</code></a>)</p>
</li>
<li>
<p>Implemented the <code>prescore</code> extension point for the
<code>volumeBinding</code> plugin. It now returns skip if it doesn't do
anything in Score.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/115768">kubernetes/kubernetes#115768</a>,
<a href="https://github.com/AxeZhan"><code>@​AxeZhan</code></a>)</p>
</li>
<li>
<p>Kubelet would fail if NodeSwap was used with LimitedSwap and cgroupv1
node.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123738">kubernetes/kubernetes#123738</a>,
<a href="https://github.com/kannon92"><code>@​kannon92</code></a>)</p>
</li>
<li>
<p>Promoted <code>AdmissionWebhookMatchConditions</code> to GA. The
feature is now stable, and the feature gate is now locked to default.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123560">kubernetes/kubernetes#123560</a>,
<a
href="https://github.com/ivelichkovich"><code>@​ivelichkovich</code></a>)</p>
</li>
<li>
<p>Structured Authentication Configuration now supports
<code>DiscoveryURL</code>. If specified, <code>discoveryURL</code>
overrides the URL used to fetch discovery information. This is for
scenarios where the well-known and jwks endpoints are hosted at a
different location than the issuer (such as locally in the cluster).
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123527">kubernetes/kubernetes#123527</a>,
<a href="https://github.com/aramase"><code>@​aramase</code></a>)</p>
</li>
<li>
<p>The <code>StorageVersionMigration</code> API, previously available as
a Custom Resource Definition (CRD), is now a built-in API in Kubernetes.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123344">kubernetes/kubernetes#123344</a>,
<a href="https://github.com/nilekhc"><code>@​nilekhc</code></a>)</p>
</li>
<li>
<p>When configuring a JWT authenticator:</p>
<p>If <code>username.expression</code> used 'claims.email', then
'claims.email_verified' must have been used in
<code>username.expression</code> or
<code>extra[*].valueExpression</code> or
<code>claimValidationRules[*].expression</code>. An example claim
validation rule expression that matches the validation automatically
applied when <code>username.claim</code> is set to 'email' is
'claims.?email_verified.orValue(true)'.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123737">kubernetes/kubernetes#123737</a>,
<a href="https://github.com/enj"><code>@​enj</code></a>)</p>
</li>
<li>
<p><code>readOnly</code> volumes now support recursive read-only mounts
for kernel versions &gt;= 5.12.&quot;
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123180">kubernetes/kubernetes#123180</a>,
<a
href="https://github.com/AkihiroSuda"><code>@​AkihiroSuda</code></a>)</p>
</li>
<li>
<p>cri-api: Implemented KEP-3857: Recursive Read-only (RRO) mounts.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123272">kubernetes/kubernetes#123272</a>,
<a
href="https://github.com/AkihiroSuda"><code>@​AkihiroSuda</code></a>)</p>
</li>
<li>
<p>kube-apiserver: the AuthenticationConfiguration type accepted in
<code>--authentication-config</code> files has been promoted to
<code>apiserver.config.k8s.io/v1beta1</code>.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/123696">kubernetes/kubernetes#123696</a>,
<a href="https://github.com/aramase"><code>@​aramase</code></a>)</p>
</li>
<li>
<p>kubelet allowed specifying a custom root directory for pod logs
(instead of the default /var/log/pods) using the <code>podLogsDir</code>
key in kubelet configuration.
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/112957">kubernetes/kubernetes#112957</a>,
<a href="https://github.com/mxpv"><code>@​mxpv</code></a>)</p>
</li>
<li>
<p>resource.k8s.io/ResourceClaim (alpha API): The strategic merge patch
strategy for the <code>status.reservedFor</code> array was changed so
that a strategic-merge-patch can now add individual entries. This change
may break clients using strategic merge patch to update status, which
rely on the previous behavior (replacing the entire array).
(<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/122276">kubernetes/kubernetes#122276</a>,
<a href="https://github.com/pohly"><code>@​pohly</code></a>)</p>
</li>
<li>
<p>Added a CBOR implementation of <code>runtime.Serializer</code>. Until
CBOR graduates to Alpha, API servers will refuse to start if configured
with CBOR support. (<a
href="https://redirect.github.com/kubernetes/kubernetes/pull/122881">kubernetes/kubernetes#122881</a>,
<a href="https://github.com/benluddy"><code>@​benluddy</code></a>)</p>
</li>
<li>
<p>Added a alpha feature, behind the
<code>RelaxedEnvironmentVariableValidation</code> feature gate.</p>
</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/6b6201dc5f20b9f52b41e985af9b67b638ac6ab1"><code>6b6201d</code></a>
Merge pull request <a
href="https://redirect.github.com/kubernetes-client/python/issues/2244">#2244</a>
from yliaog/automated-release-of-30.1.0-upstream-rel...</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/58e29d0d3a3d5fc82aef8e89886e3b6cb200ec6c"><code>58e29d0</code></a>
updated compatibility matrix and maintenance status</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/9ca7bbe9bea49a0f856444d1fa3c4521d7ddc5fe"><code>9ca7bbe</code></a>
generated client change</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/2fb261c61fdeebfba37d9e93d96086d1fed7f3c0"><code>2fb261c</code></a>
update changelog</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/bf4e9319e218165c3dbb39612dfc6bf0c6b42ffa"><code>bf4e931</code></a>
update version constants for 30.1.0 release</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/bc977b4bb7b1ecce6f550e898289c1cbc0ce6ba3"><code>bc977b4</code></a>
Merge pull request <a
href="https://redirect.github.com/kubernetes-client/python/issues/2241">#2241</a>
from yliaog/automated-release-of-30.1.0b1-upstream-r...</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/f1322afa65bd9dee3c45ed7f7153459605cfc328"><code>f1322af</code></a>
updated compatibility matrix in README</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/5c5d7007feba44bc1d8d6f0e952e5c590d10ab0c"><code>5c5d700</code></a>
generated client change</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/9dabf6887e8786aa7fa3f80255781d28678664e5"><code>9dabf68</code></a>
update changelog</li>
<li><a
href="https://github.com/kubernetes-client/python/commit/8870b6a8d31468f261a84a10ff41dff84e9fa8af"><code>8870b6a</code></a>
update version constants for 30.1.0b1 release</li>
<li>Additional commits viewable in <a
href="https://github.com/kubernetes-client/python/compare/v27.2.0...v30.1.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 7, 2024
1 parent 33774a5 commit 046d06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords = ["snakemake", "plugin", "executor", "cloud", "kubernetes"]
python = "^3.11"
snakemake-interface-common = "^1.17.3"
snakemake-interface-executor-plugins = ">=9.0.0,<10.0.0"
kubernetes = ">=27.2.0,<30"
kubernetes = ">=27.2.0,<31"

[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
Expand Down

0 comments on commit 046d06f

Please sign in to comment.