Open punit-naik opened 6 years ago
When I do (require '[kubernetes.api.v1 :as k8s]), I get the following error:
(require '[kubernetes.api.v1 :as k8s])
`CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec: In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args :only :op :quoted-spec :spec] predicate: #{:only} In: [2 1] val: :as fails at: [:args :rename :op :quoted-spec :spec] predicate: #{:rename} In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude} In: [2] val: (quote :as) fails at: [:args :only :op :spec] predicate: #{:only} In: [2] val: (quote :as) fails at: [:args :rename :op :spec] predicate: #{:rename}
BTW, simply updating Clojure and other libraries works.
When I do
(require '[kubernetes.api.v1 :as k8s])
, I get the following error:`CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec: In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude} In: [2 1] val: :as fails at: [:args :only :op :quoted-spec :spec] predicate: #{:only} In: [2 1] val: :as fails at: [:args :rename :op :quoted-spec :spec] predicate: #{:rename} In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude} In: [2] val: (quote :as) fails at: [:args :only :op :spec] predicate: #{:only} In: [2] val: (quote :as) fails at: [:args :rename :op :spec] predicate: #{:rename}
:clojure.spec.alpha{:problems ({:path [:args :exclude :op :spec], :pred #{:exclude}, :val (quote :as), :via [], :in [2]} {:path [:args :exclude :op :quoted-spec :spec], :pred #{:exclude}, :val :as, :via [], :in [2 1]} {:path [:args :only :op :spec], :pred #{:only}, :val (quote :as), :via [], :in [2]} {:path [:args :only :op :quoted-spec :spec], :pred #{:only}, :val :as, :via [], :in [2 1]} {:path [:args :rename :op :spec], :pred #{:rename}, :val (quote :as), :via [], :in [2]} {:path [:args :rename :op :quoted-spec :spec], :pred #{:rename}, :val :as, :via [], :in [2 1]}), :spec #object[clojure.spec.alpha$regex_spec_impl$reify2436 0x29a373ec "clojure.spec.alpha$regex_spec_impl$reify2436@29a373ec"], :value ((quote :exclude) (quote [reduce into merge map take partition partition-by]) (quote :as) (quote core)), :args ((quote :exclude) (quote [reduce into merge map take partition partition-by]) (quote :as) (quote core))}, compiling:(clojure/core/async.clj:9:1)`