Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump kube from 0.74.0 to 0.76.0 #15783

Closed
wants to merge 3 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 30, 2022

Bumps kube from 0.74.0 to 0.76.0.

Release notes

Sourced from kube's releases.

0.76.0

Highlights

#[derive(CustomResource)] now supports schemas with untagged enums

Expanding on our existing support for storing Rust's struct enums in CRDs, Kube will now try to convert #[serde(untagged)] enums as well. Note that if the same field is present in multiple untagged variants then they must all have the same shape.

Removed deprecated try_flatten_* functions

These have been deprecated since 0.72, and are replaced by the equivalent WatchStreamExt methods.

What's Changed

Added

Removed

Fixed

New Contributors

Full Changelog: kube-rs/kube@0.75.0...0.76.0

0.75.0

Highlights

Upgrade k8s-openapi to 0.16 for Kubernetes 1.25

The update to k8s-openapi@0.16.0 makes this the first release with tentative Kubernetes 1.25 support. While the new structs and apis now exist, we recommend holding off on using 1.25 until a deserialization bug in the apiserver is resolved upstream. See #997 / #1008 for details.

To upgrade, ensure you bump both kube and k8s-openapi:

cargo upgrade kube k8s-openapi

... (truncated)

Changelog

Sourced from kube's changelog.

0.76.0 / 2022-10-28

Highlights

#[derive(CustomResource)] now supports schemas with untagged enums

Expanding on our existing support for storing Rust's struct enums in CRDs, Kube will now try to convert #[serde(untagged)] enums as well. Note that if the same field is present in multiple untagged variants then they must all have the same shape.

Removed deprecated try_flatten_* functions

These have been deprecated since 0.72, and are replaced by the equivalent WatchStreamExt methods.

What's Changed

Added

Removed

Fixed

0.75.0 / 2022-09-21

Highlights

Upgrade k8s-openapi to 0.16 for Kubernetes 1.25

The update to k8s-openapi@0.16.0 makes this the first release with tentative Kubernetes 1.25 support. While the new structs and apis now exist, we recommend holding off on using 1.25 until a deserialization bug in the apiserver is resolved upstream. See #997 / #1008 for details.

To upgrade, ensure you bump both kube and k8s-openapi:

cargo upgrade kube k8s-openapi

New/Old Config::incluster default to connect in cluster

Our previous default of connecting to the Kubernetes apiserver via kubernetes.default.svc has been reverted back to use the old environment variables after Kubernetes updated their position that the environment variables are not legacy. This does unfortunately regress on rustls support, so for those users we have included a Config::incluster_dns to work around the old rustls issue while it is open.

... (truncated)

Commits
  • cd7e00e release 0.76.0
  • da6b5e7 Merge pull request #1051 from teozkr/fix/hoist-enum-values
  • 9dd40ab Merge branch 'main' into fix/hoist-enum-values
  • 9d1a554 Remove native-tls feature (#1044)
  • 0faf86a Merge branch 'main' into fix/hoist-enum-values
  • 0b12c6a Merge pull request #1052 from teozkr/clippy/2022-10-14
  • f2f9c44 Use _else variants for constructing errors
  • 468bb81 Use immediate format interpolation where possible
  • d2f90fb s/sex/gender/g in test case
  • 4c5e5a3 Hoist enum values from subschemas
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)

@dependabot dependabot bot added the A-dependencies Area: dependency upgrades label Oct 30, 2022
Bumps [kube](https://github.com/kube-rs/kube) from 0.74.0 to 0.76.0.
- [Release notes](https://github.com/kube-rs/kube/releases)
- [Changelog](https://github.com/kube-rs/kube/blob/main/CHANGELOG.md)
- [Commits](kube-rs/kube@0.74.0...0.76.0)

---
updated-dependencies:
- dependency-name: kube
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/kube-0.76.0 branch from 38a2c63 to bc83038 Compare November 8, 2022 06:41
@benesch benesch requested a review from teskje November 10, 2022 03:18
@teskje
Copy link
Contributor

teskje commented Nov 10, 2022

cargo-deny is complaining about ahash:

error[B004]: found 2 duplicate entries for crate 'ahash'
--
  | ┌─ /var/lib/buildkite-agent/builds/buildkite-15f2293-i-0841efc46d5447db9-1/materialize/tests/Cargo.lock:5:1
  | │
  | 5 │ ╭ ahash 0.7.4 registry+https://github.com/rust-lang/crates.io-index
  | 6 │ │ ahash 0.8.1 registry+https://github.com/rust-lang/crates.io-index
  | │ ╰─────────────────────────────────────────────────────────────────^ lock entries

ahash 0.7.4 is required by arrow2 and hashbrown.

  • For arrow2, there is no version that requires ahash 0.8 instead. And it seems that bumping it provides difficult.
  • For hashbrown there is a new version that uses ahash 0.8, but unfortunately we don't depend on hashbrown directly, but instead it is a dependency for a bunch of other third-party crates. Those would all have to be updated to use the new hashbrown version.

We could probably patch hashbrown and hope that this doesn't introduce any breaking changes, but there are still the arrow2 issues. Maybe they don't affect us because we are not using wasm? In any case, we would have to fork arrow2.

The easiest thing to do would be adding an exception for ahash for cargo-deny. We seem to have a strict policy of not doing that though. So the second-easiest thing would be to not bump the kube dependency now and wait until the arrow2 issue is resolved. We can work on migrating other dependencies to the new hashbrown version meanwhile.

@benesch
Copy link
Member

benesch commented Nov 13, 2022

#14845

@benesch benesch closed this Nov 13, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/kube-0.76.0 branch November 13, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: dependency upgrades
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants