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

Does not support java 22 when trying to render notebooks #56

Open
light-matters opened this issue Jun 28, 2024 · 2 comments
Open

Does not support java 22 when trying to render notebooks #56

light-matters opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@light-matters
Copy link
Contributor

Following on from a delayed pull request. It is still the case that manjaro linux fails to initialize a REPL under java22-openjdk with the following deps:

{:paths ["src" "resources"]
 :deps {org.clojure/clojure {:mvn/version "1.12.0-beta1"}

        scicloj/wolframite {:git/url "https://github.com/scicloj/wolframite"
                            :git/sha "d9638186076bdd123991a58242ac1809c9d9f2f2"}

        babashka/fs {:mvn/version "0.5.21"}
        io.jhdf/jhdf {:mvn/version "0.6.10"}
        scicloj/tablecloth {:mvn/version "7.021"}
        cnuernber/dtype-next {:mvn/version "10.000-beta-48"}
        ;; tech/core.parallel {:mvn/version "0.1.5"}
        generateme/fastmath {:mvn/version "2.4.0"}
        org.mentat/emmy {:mvn/version "0.31.0"}

        ;; visual tools
        aerial.hanami/aerial.hanami {:mvn/version "0.19.0"}

        org.scicloj/clay {:mvn/version "2-beta11"}
        org.scicloj/kindly {:mvn/version "4-beta5"}
        org.scicloj/kind-clerk {:mvn/version "RELEASE"}
        org.scicloj/kindly-default {:mvn/version "RELEASE"}}

 :aliases
 {:test
  {:extra-paths ["test"]
   :extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
                io.github.cognitect-labs/test-runner
                {:git/tag "v0.5.1" :git/sha "dfb30dd"}}}
  :build {:deps {io.github.clojure/tools.build
                 {:mvn/version "0.9.6"}
                 slipset/deps-deploy {:mvn/version "0.2.0"}}
          :ns-default build}}}

Switching to java21 solves the problem.

@light-matters light-matters added the bug Something isn't working label Jun 28, 2024
@holyjak holyjak changed the title java 22 fails java 22 fails (sometimes?) Jun 28, 2024
@holyjak

This comment was marked as outdated.

@holyjak
Copy link
Member

holyjak commented Jul 7, 2024

This is caused by nextjournal/markdown#23. While GraalVM has been fixed, Nextjournal either needs to finish its upgrade to the latest graalvm in nextjournal/markdown#24 or get rid of the graalvm polyglot dependency via nextjournal/markdown#25

Until either is finished, I suggest sticking to Java 21.

Alternatively, we could follow nextjournal/clerk#642 (comment) and use the dependency io.github.nextjournal/markdown {:git/sha "6683c48dfdb23404a23057817b6ac3acf0310bca"} until the problem gets fixed.

@holyjak holyjak changed the title java 22 fails (sometimes?) Does not support java 22 when trying to render notebooks Jul 7, 2024
holyjak added a commit that referenced this issue Jul 7, 2024
Issue: We have one clay/kindly notebook. We want to adopt Clay (and later also Quarto) to render all of our docs, to be compatible with other scicloj libs.

Fix: Update clay config, add notebooks/ as the root of the new docs.

BEWARE: Currently this requires java < 22 due to #56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants