Skip to content

Commit 9a2087f

Browse files
committed
Update GraalPy versions used in docs
1 parent fa0e33e commit 9a2087f

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ Refer to our [embedding documentation](https://www.graalvm.org/latest/reference-
5252
<dependency>
5353
<groupId>org.graalvm.polyglot</groupId>
5454
<artifactId>polyglot</artifactId>
55-
<version>23.1.2</version>
55+
<version>24.0.0</version>
5656
</dependency>
5757
<dependency>
5858
<groupId>org.graalvm.polyglot</groupId>
5959
<artifactId>python</artifactId>
60-
<version>23.1.2</version>
60+
<version>24.0.0</version>
6161
<type>pom</type>
6262
</dependency>
6363
```
6464

6565
* Gradle
6666
```kotlin
67-
implementation("org.graalvm.polyglot:polyglot:23.1.2")
68-
implementation("org.graalvm.polyglot:python:23.1.2")
67+
implementation("org.graalvm.polyglot:polyglot:24.0.0")
68+
implementation("org.graalvm.polyglot:python:24.0.0")
6969
```
7070

7171
</details>
@@ -83,12 +83,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
8383
* Linux
8484

8585
The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
86-
To install version 23.1.2 using Pyenv, run the following commands:
86+
To install version 24.0.0 using Pyenv, run the following commands:
8787
```bash
88-
pyenv install graalpy-23.1.2
88+
pyenv install graalpy-24.0.0
8989
```
9090
```bash
91-
pyenv shell graalpy-23.1.2
91+
pyenv shell graalpy-24.0.0
9292
```
9393

9494
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
@@ -99,12 +99,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
9999
* macOS
100100

101101
The easiest way to install GraalPy on macOS is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
102-
To install version 23.1.2 using Pyenv, run the following commands:
102+
To install version 24.0.0 using Pyenv, run the following commands:
103103
```bash
104-
pyenv install graalpy-23.1.2
104+
pyenv install graalpy-24.0.0
105105
```
106106
```bash
107-
pyenv shell graalpy-23.1.2
107+
pyenv shell graalpy-24.0.0
108108
```
109109
Alternatively, you can download a compressed GraalPy installation file from [GitHub releases](https://github.com/oracle/graalpython/releases).
110110

@@ -115,7 +115,7 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
115115
```
116116
For example:
117117
```bash
118-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-23.1.2
118+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.0.0
119119
```
120120
3. Uncompress the file and update your `PATH` environment variable to include to the _graalpy-XX.Y.Z-macos-amd64/bin_ (or _graalpy-XX.Y.Z-macos-aarch64/bin_) directory.
121121

@@ -136,7 +136,7 @@ The _setup-python_ action supports GraalPy:
136136
- name: Setup GraalPy
137137
uses: actions/setup-python@v5
138138
with:
139-
python-version: graalpy # or graalpy23.1 to pin a version
139+
python-version: graalpy # or graalpy24.0 to pin a version
140140
```
141141

142142
</details>
@@ -163,7 +163,7 @@ To run Jython scripts, you need to use a GraalPy distribution running on the JVM
163163
```
164164
For example:
165165
```bash
166-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-23.1.2
166+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.0.0
167167
```
168168
3. Uncompress the file and update your `PATH` environment variable to include to the _graalpy-jvm-XX.Y.Z-macos-amd64/bin_ (or _graalpy-jvm-XX.Y.Z-macos-aarch64/bin_) directory.
169169
4. Run your scripts with `graalpy --python.EmulateJython`.

docs/user/Interoperability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For example, if you have already configured a Maven project with GraalPy, add th
7676
<dependency>
7777
<groupId>org.graalvm.polyglot</groupId>
7878
<artifactId>js</artifactId>
79-
<version>23.1.2</version>
79+
<version>24.0.0</version>
8080
</dependency>
8181
```
8282

docs/user/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ In order to distribute the resulting application for other systems, follow these
9393
- Include the GraalPy support and the [GraalVM SDK Polyglot API](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/package-summary.html) in the `dependencies` section:
9494

9595
```
96-
implementation("org.graalvm.polyglot:polyglot:23.1.2")
97-
implementation("org.graalvm.polyglot:python:23.1.2")
96+
implementation("org.graalvm.polyglot:polyglot:24.0.0")
97+
implementation("org.graalvm.polyglot:python:24.0.0")
9898
```
9999

100100
- We recommend you use the Java modules build. Add the appropriate plugin to the `plugins` section:

scripts/wheelbuilder/wheelbuilder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def create_jobs(
334334
"uses": "actions/setup-python@main",
335335
"if": "inputs.graalpy == ''",
336336
"with": {
337-
"python-version": "graalpy23.1",
337+
"python-version": "graalpy24.0",
338338
},
339339
}
340340
)

0 commit comments

Comments
 (0)