technomancy / leiningen

Moved to Codeberg; this is a convenience mirror
https://codeberg.org/leiningen/leiningen
Other
7.29k stars 1.61k forks source link

`WARNING: cat already refers to: #'clojure.core/cat in namespace: net.cgrand.parsley.fold` on `lein trampoline repl` #2820

Closed metametadata closed 3 months ago

metametadata commented 3 months ago

To Reproduce

  1. lein new app foo, cd foo.
  2. lein trampoline repl.

Actual behavior

Unexpected WARNING log:

ᐅ lein trampoline repl
REPL-y 0.5.1, nREPL 1.0.0
Clojure 1.11.1
OpenJDK 64-Bit Server VM 17.0.8+7-jvmci-23.0-b15
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

foo.core=> WARNING: cat already refers to: #'clojure.core/cat in namespace: net.cgrand.parsley.fold, being replaced by: #'net.cgrand.parsley.fold/cat

Expected behavior

No warnings.

Environment

technomancy commented 3 months ago

Good catch; it looks like for Leiningen's own process we pull in a patched version of parsley but for the repl task we just depend on reply which pulls in an older version indirectly.

technomancy commented 3 months ago

Fixed in 7a35250.

metametadata commented 3 months ago

Thank you!