kontena / k8s-client

Ruby Kubernetes API client
Apache License 2.0
76 stars 26 forks source link

HashDiff dependency causing trouble with webmock 3.6 #137

Closed mikz closed 5 years ago

mikz commented 5 years ago
Bundler could not find compatible versions for gem "hashdiff":
  In Gemfile:
    k8s-client (>= 0.10) was resolved to 0.10.1, which depends on
      hashdiff (~> 0.3.7)

    webmock (~> 3.6) was resolved to 3.6.0, which depends on
      hashdiff (< 2.0.0, >= 0.4.0)

Hashdiff recently released a new version that changes the constant name due to some name clash with other gem (https://github.com/liufengyun/hashdiff/pull/65)

kke commented 5 years ago

Updating now would require hashdiff 1.0 beta, otherwise you get a warning every time hashdiff is loaded. Waiting for 1.0.

mikz commented 5 years ago

Why you can't use the correct constant like webmock does with 0.4.0 ?

kke commented 5 years ago

It seems to warn on require, not when used.

On Fri, Jun 28, 2019, 15:43 Michal Cichra notifications@github.com wrote:

Why you can't use the correct constant like webmock does with 0.4.0 ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kontena/k8s-client/issues/137?email_source=notifications&email_token=AABW5S52NACZ7ZUWXQ5GDKDP4YBQRA5CNFSM4HXHNH6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZ7ASA#issuecomment-506720328, or mute the thread https://github.com/notifications/unsubscribe-auth/AABW5S34CAQYLAYNXTZGJJ3P4YBQRANCNFSM4HXHNH6A .