oracle / graalpython

A Python 3 implementation built on GraalVM
Other
1.17k stars 101 forks source link

JBang example/ templates do not work #390

Closed foreverigor closed 4 months ago

foreverigor commented 4 months ago

When trying out the jbang example I stumbled on following problems.

As far as I am aware there is no such package published (although it would be helpful to have a common vfs implementation): https://github.com/oracle/graalpython/blob/4f29b845c65abe22f895ae76304556a3e6ea5173/graalpython/graalpy-jbang/examples/hello.java#L46 \ The dependency versions also are incorrect, the latest version of graalpython seems to be 23.1.2 . For a working jbang example please see graalpy-jbang

timfel commented 4 months ago

Hi @foreverigor. The version in the master of this repository is tracking the version that is being developed. We run the tests against that version by deploying 24.1.0 (or whatever the upcoming version may be) to our local maven repo in the CI and running jbang. To get a stable version, you should be using jbang catalogue for the release. This is a new feature, so it will only work once the 24.0 release lands later this month.

jbang hello@oracle/graalpython/release/graal-vm/24.0 "print(1*4)"