Skip to content

Commit 470ef97

Browse files
committed
Upgrade all demos and guides to 24.2.1.
1 parent 3ac5513 commit 470ef97

File tree

37 files changed

+105
-105
lines changed

37 files changed

+105
-105
lines changed

graaljs/graaljs-maven-webpack-guide/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ Add the required dependencies for GraalJS in the `<dependencies>` section of the
4343
<dependency>
4444
<groupId>org.graalvm.polyglot</groupId>
4545
<artifactId>polyglot</artifactId> <!---->
46-
<version>24.1.2</version>
46+
<version>24.2.0</version>
4747
</dependency>
4848

4949
<dependency>
5050
<groupId>org.graalvm.polyglot</groupId>
5151
<artifactId>js</artifactId> <!---->
52-
<version>24.1.2</version>
52+
<version>24.2.0</version>
5353
<type>pom</type> <!---->
5454
</dependency>
5555
<!-- </dependencies> -->

graaljs/graaljs-maven-webpack-guide/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
<dependency>
3333
<groupId>org.graalvm.polyglot</groupId>
3434
<artifactId>polyglot</artifactId>
35-
<version>24.1.2</version>
35+
<version>24.2.0</version>
3636
</dependency>
3737
<dependency>
3838
<groupId>org.graalvm.polyglot</groupId>
3939
<artifactId>js</artifactId>
40-
<version>24.1.2</version>
40+
<version>24.2.0</version>
4141
<type>pom</type>
4242
</dependency>
4343

graaljs/graaljs-starter/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ repositories {
99
}
1010

1111
dependencies {
12-
implementation("org.graalvm.polyglot:polyglot:24.1.2")
13-
implementation("org.graalvm.polyglot:js:24.1.2")
12+
implementation("org.graalvm.polyglot:polyglot:24.2.0")
13+
implementation("org.graalvm.polyglot:js:24.2.0")
1414

1515
// Use JUnit Jupiter for testing.
1616
testImplementation("org.junit.jupiter:junit-jupiter:5.11.0")

graaljs/graaljs-starter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
<dependency>
3232
<groupId>org.graalvm.polyglot</groupId>
3333
<artifactId>polyglot</artifactId>
34-
<version>24.1.2</version>
34+
<version>24.2.0</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.graalvm.polyglot</groupId>
3838
<artifactId>js</artifactId>
39-
<version>24.1.2</version>
39+
<version>24.2.0</version>
4040
<type>pom</type>
4141
</dependency>
4242

graalpy/graalpy-custom-venv-guide/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ Add the required dependencies for GraalPy in the `<dependencies>` section of the
5454
<dependency>
5555
<groupId>org.graalvm.polyglot</groupId>
5656
<artifactId>python</artifactId> <!---->
57-
<version>24.1.2</version>
57+
<version>24.2.0</version>
5858
<type>pom</type> <!---->
5959
</dependency>
6060

6161
<dependency>
6262
<groupId>org.graalvm.polyglot</groupId>
6363
<artifactId>polyglot</artifactId> <!---->
64-
<version>24.1.2</version>
64+
<version>24.2.0</version>
6565
</dependency>
6666
</dependencies>
6767
```

graalpy/graalpy-custom-venv-guide/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
<dependency>
1818
<groupId>org.graalvm.polyglot</groupId>
1919
<artifactId>python</artifactId> <!---->
20-
<version>24.1.2</version>
20+
<version>24.2.0</version>
2121
<type>pom</type> <!---->
2222
</dependency>
2323

2424
<dependency>
2525
<groupId>org.graalvm.polyglot</groupId>
2626
<artifactId>polyglot</artifactId> <!---->
27-
<version>24.1.2</version>
27+
<version>24.2.0</version>
2828
</dependency>
2929
</dependencies>
3030
</project>

graalpy/graalpy-freeze-dependencies-guide/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ For Maven, add dependency on GraalPy runtime, and configure the GraalPy Maven pl
6868
<dependency>
6969
<groupId>org.graalvm.polyglot</groupId>
7070
<artifactId>python</artifactId>
71-
<version>24.1.2</version>
71+
<version>24.2.0</version>
7272
<type>pom</type>
7373
</dependency>
7474
```
@@ -80,7 +80,7 @@ For Maven, add dependency on GraalPy runtime, and configure the GraalPy Maven pl
8080
<plugin>
8181
<groupId>org.graalvm.python</groupId>
8282
<artifactId>graalpy-maven-plugin</artifactId>
83-
<version>24.1.2</version>
83+
<version>24.2.0</version>
8484
<executions>
8585
<execution>
8686
<configuration>
@@ -104,7 +104,7 @@ For Gradle, add the GraalPy plugin, configure it, and add the dependency on the
104104
```kotlin
105105
plugins {
106106
application
107-
id("org.graalvm.python") version "24.1.2"
107+
id("org.graalvm.python") version "24.2.0"
108108
}
109109
```
110110

@@ -115,7 +115,7 @@ graalPy {
115115
}
116116

117117
dependencies {
118-
implementation("org.graalvm.python:python:24.1.2")
118+
implementation("org.graalvm.python:python:24.2.0")
119119
}
120120
```
121121

@@ -182,7 +182,7 @@ If you use Maven, paste them in the `pom.xml` section of the packages and wrap t
182182
<plugin>
183183
<groupId>org.graalvm.python</groupId>
184184
<artifactId>graalpy-maven-plugin</artifactId>
185-
<version>24.1.2</version>
185+
<version>24.2.0</version>
186186
<executions>
187187
<execution>
188188
<configuration>

graalpy/graalpy-freeze-dependencies-guide/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
application
3-
id("org.graalvm.python") version "24.1.2"
3+
id("org.graalvm.python") version "24.2.0"
44
}
55

66
// To make the paths of this reference solution (without 'app' subdirectory for sources)
@@ -12,7 +12,7 @@ if ("true".equals(System.getProperty("no.transitive.dependencies"))) {
1212
packages = setOf("vaderSentiment==3.3.2") //
1313
}
1414
dependencies {
15-
implementation("org.graalvm.python:python:24.1.2")
15+
implementation("org.graalvm.python:python:24.2.0")
1616
}
1717
} else {
1818
// The default profile shows the end result: all our transitive
@@ -28,7 +28,7 @@ if ("true".equals(System.getProperty("no.transitive.dependencies"))) {
2828
)
2929
}
3030
dependencies {
31-
implementation("org.graalvm.python:python:24.1.2")
31+
implementation("org.graalvm.python:python:24.2.0")
3232
}
3333
}
3434

@@ -40,7 +40,7 @@ repositories {
4040
}
4141

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

4545
group = "org.example"
4646
version = "1.0-SNAPSHOT"

graalpy/graalpy-freeze-dependencies-guide/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
<dependency>
2020
<groupId>org.graalvm.polyglot</groupId>
2121
<artifactId>python</artifactId>
22-
<version>24.1.2</version>
22+
<version>24.2.0</version>
2323
<type>pom</type>
2424
</dependency>
2525

2626
<!-- This dependency is necessary only for the example Java code, not for building and running pip freeze -->
2727
<dependency>
2828
<groupId>org.graalvm.python</groupId>
2929
<artifactId>python-embedding</artifactId>
30-
<version>24.1.2</version>
30+
<version>24.2.0</version>
3131
</dependency>
3232
</dependencies>
3333

@@ -44,7 +44,7 @@
4444
<plugin>
4545
<groupId>org.graalvm.python</groupId>
4646
<artifactId>graalpy-maven-plugin</artifactId>
47-
<version>24.1.2</version>
47+
<version>24.2.0</version>
4848
<executions>
4949
<execution>
5050
<configuration>
@@ -80,7 +80,7 @@
8080
<plugin>
8181
<groupId>org.graalvm.python</groupId>
8282
<artifactId>graalpy-maven-plugin</artifactId>
83-
<version>24.1.2</version>
83+
<version>24.2.0</version>
8484
<executions>
8585
<execution>
8686
<configuration>

graalpy/graalpy-javase-guide/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,23 @@ Add the required dependencies for GraalPy in the `<dependencies>` section of the
6060
<dependency>
6161
<groupId>org.graalvm.polyglot</groupId>
6262
<artifactId>python</artifactId> <!---->
63-
<version>24.1.2</version>
63+
<version>24.2.0</version>
6464
<type>pom</type> <!---->
6565
</dependency>
6666

6767
<dependency>
6868
<groupId>org.graalvm.python</groupId>
6969
<artifactId>python-embedding</artifactId> <!---->
70-
<version>24.1.2</version>
70+
<version>24.2.0</version>
7171
</dependency>
7272
</dependencies>
7373
```
7474

7575
`build.gradle.kts`
7676
```kotlin
7777
dependencies {
78-
implementation("org.graalvm.python:python:24.1.2") //
79-
implementation("org.graalvm.python:python-embedding:24.1.2") //
78+
implementation("org.graalvm.python:python:24.2.0") //
79+
implementation("org.graalvm.python:python-embedding:24.2.0") //
8080
}
8181
```
8282

@@ -99,7 +99,7 @@ You can use the GraalPy plugins for Maven or Gradle to manage Python packages fo
9999
<plugin>
100100
<groupId>org.graalvm.python</groupId>
101101
<artifactId>graalpy-maven-plugin</artifactId>
102-
<version>24.1.2</version>
102+
<version>24.2.0</version>
103103
<executions>
104104
<execution>
105105
<configuration>
@@ -131,7 +131,7 @@ You can use the GraalPy plugins for Maven or Gradle to manage Python packages fo
131131
```kotlin
132132
plugins {
133133
application
134-
id("org.graalvm.python") version "24.1.2"
134+
id("org.graalvm.python") version "24.2.0"
135135
}
136136

137137
graalPy {
@@ -154,7 +154,7 @@ We disable this by specifying that we want to exclude all standard library files
154154
Omit this section if you want to include the Python packages into the Java resources (and, for example, ship them in the Jar).
155155
[Later in the Java code](#external-or-embedded-python-code-java) we can configure the GraalPy runtime to load the package from the filesystem or from resources.
156156

157-
**Note** that due to a bug in the 24.1.2 version of the `org.graalvm.python` plugin for **Gradle** you need to include a resource.
157+
**Note** that due to a bug in the 24.2.0 version of the `org.graalvm.python` plugin for **Gradle** you need to include a resource.
158158
A simple workaround is to add a `src/main/resources/META-INF/MANIFEST.MF`:
159159
```
160160
Manifest-Version: 1.0

0 commit comments

Comments
 (0)