Skip to content

Commit

Permalink
Upgrade all demos and guides to 24.1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Jan 28, 2025
1 parent 029d360 commit 3ac5513
Show file tree
Hide file tree
Showing 56 changed files with 124 additions and 124 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/graaljs-maven-webpack-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graaljs-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-custom-venv-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-freeze-dependencies-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-javase-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-jbang-qrcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'graalpy-jbang-qrcode' demo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-jython-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-micronaut-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-micronaut-pygal-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-native-extensions-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-openai-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-script-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-spring-boot-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-spring-boot-pygal-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalpy-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalwasm-embed-c-code-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
./emsdk activate latest
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalwasm-micronaut-photon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalwasm-spring-boot-photon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graalwasm-starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.1'
java-version: '23.0.2'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
Expand Down
4 changes: 2 additions & 2 deletions graaljs/graaljs-maven-webpack-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ Add the required dependencies for GraalJS in the `<dependencies>` section of the
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>

<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type> <!---->
</dependency>
<!-- </dependencies> -->
Expand Down
4 changes: 2 additions & 2 deletions graaljs/graaljs-maven-webpack-guide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions graaljs/graaljs-starter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repositories {
}

dependencies {
implementation("org.graalvm.polyglot:polyglot:24.1.1")
implementation("org.graalvm.polyglot:js:24.1.1")
implementation("org.graalvm.polyglot:polyglot:24.1.2")
implementation("org.graalvm.polyglot:js:24.1.2")

// Use JUnit Jupiter for testing.
testImplementation("org.junit.jupiter:junit-jupiter:5.11.0")
Expand Down
4 changes: 2 additions & 2 deletions graaljs/graaljs-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions graalpy/graalpy-custom-venv-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ Add the required dependencies for GraalPy in the `<dependencies>` section of the
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type> <!---->
</dependency>

<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions graalpy/graalpy-custom-venv-guide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type> <!---->
</dependency>

<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId> <!---->
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>
</dependencies>
</project>
10 changes: 5 additions & 5 deletions graalpy/graalpy-freeze-dependencies-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ For Maven, add dependency on GraalPy runtime, and configure the GraalPy Maven pl
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type>
</dependency>
```
Expand All @@ -80,7 +80,7 @@ For Maven, add dependency on GraalPy runtime, and configure the GraalPy Maven pl
<plugin>
<groupId>org.graalvm.python</groupId>
<artifactId>graalpy-maven-plugin</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<executions>
<execution>
<configuration>
Expand All @@ -104,7 +104,7 @@ For Gradle, add the GraalPy plugin, configure it, and add the dependency on the
```kotlin
plugins {
application
id("org.graalvm.python") version "24.1.1"
id("org.graalvm.python") version "24.1.2"
}
```

Expand All @@ -115,7 +115,7 @@ graalPy {
}

dependencies {
implementation("org.graalvm.python:python:24.1.1")
implementation("org.graalvm.python:python:24.1.2")
}
```

Expand Down Expand Up @@ -182,7 +182,7 @@ If you use Maven, paste them in the `pom.xml` section of the packages and wrap t
<plugin>
<groupId>org.graalvm.python</groupId>
<artifactId>graalpy-maven-plugin</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<executions>
<execution>
<configuration>
Expand Down
8 changes: 4 additions & 4 deletions graalpy/graalpy-freeze-dependencies-guide/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
application
id("org.graalvm.python") version "24.1.1"
id("org.graalvm.python") version "24.1.2"
}

// To make the paths of this reference solution (without 'app' subdirectory for sources)
Expand All @@ -12,7 +12,7 @@ if ("true".equals(System.getProperty("no.transitive.dependencies"))) {
packages = setOf("vaderSentiment==3.3.2") //
}
dependencies {
implementation("org.graalvm.python:python:24.1.1")
implementation("org.graalvm.python:python:24.1.2")
}
} else {
// The default profile shows the end result: all our transitive
Expand All @@ -28,7 +28,7 @@ if ("true".equals(System.getProperty("no.transitive.dependencies"))) {
)
}
dependencies {
implementation("org.graalvm.python:python:24.1.1")
implementation("org.graalvm.python:python:24.1.2")
}
}

Expand All @@ -40,7 +40,7 @@ repositories {
}

// This dependency is necessary only for the example Java code, not for building and running pip freeze:
dependencies.add("implementation", "org.graalvm.python:python-embedding:24.1.1")
dependencies.add("implementation", "org.graalvm.python:python-embedding:24.1.2")

group = "org.example"
version = "1.0-SNAPSHOT"
Expand Down
8 changes: 4 additions & 4 deletions graalpy/graalpy-freeze-dependencies-guide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<type>pom</type>
</dependency>

<!-- This dependency is necessary only for the example Java code, not for building and running pip freeze -->
<dependency>
<groupId>org.graalvm.python</groupId>
<artifactId>python-embedding</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
</dependency>
</dependencies>

Expand All @@ -44,7 +44,7 @@
<plugin>
<groupId>org.graalvm.python</groupId>
<artifactId>graalpy-maven-plugin</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<executions>
<execution>
<configuration>
Expand Down Expand Up @@ -80,7 +80,7 @@
<plugin>
<groupId>org.graalvm.python</groupId>
<artifactId>graalpy-maven-plugin</artifactId>
<version>24.1.1</version>
<version>24.1.2</version>
<executions>
<execution>
<configuration>
Expand Down
Loading

0 comments on commit 3ac5513

Please sign in to comment.