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

kubernetes-client is incompatible with Snakeyaml 2.x #4933

Closed
mswintermeyer opened this issue Mar 1, 2023 · 5 comments
Closed

kubernetes-client is incompatible with Snakeyaml 2.x #4933

mswintermeyer opened this issue Mar 1, 2023 · 5 comments
Labels
Waiting on feedback Issues that require feedback from User/Other community members
Milestone

Comments

@mswintermeyer
Copy link

kubernetes-client's latest release is incompatible with Snakeyaml 2.x, because that release removes some default constructors and methods that don't set LoaderOptions or LoadSettings. This may have already been fixed on master with #4836, but there has not yet been a release since then so it's hard to verify if that's the case.

java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found
	at io.fabric8.kubernetes.client.utils.Serialization.unmarshalYaml(Serialization.java:379)
	at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:202)
	at io.fabric8.kubernetes.client.utils.Serialization.unmarshal(Serialization.java:167)
@manusa manusa added this to the 6.5.0 milestone Mar 6, 2023
@manusa
Copy link
Member

manusa commented Mar 6, 2023

Fixed by #4836 / #4753 / #4754

You can use our nightly build snapshots to verify (6.5-SNAPSHOT)

      <repositories>
        <repository>
          <id>sonatype-snapshots</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
          <releases><enabled>false</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>
      </repositories>

@manusa manusa added the Waiting on feedback Issues that require feedback from User/Other community members label Mar 6, 2023
@fvaleri
Copy link

fvaleri commented Mar 7, 2023

@manusa thanks for the update.

Do you have any ETA for 6.5.0 release?

@manusa
Copy link
Member

manusa commented Mar 7, 2023

We want to deliver by the end of this week, not sure if it will be possible though. Anyway, as soon as possible.

@manusa
Copy link
Member

manusa commented Mar 11, 2023

v6.5.0 was just released, could you please confirm if this is working now so we can close the issue

@manusa manusa closed this as completed Mar 15, 2023
@fvaleri
Copy link

fvaleri commented Mar 15, 2023

@manusa no major issue, thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting on feedback Issues that require feedback from User/Other community members
Projects
None yet
Development

No branches or pull requests

3 participants