Skip to content

Commit 1c2b111

Browse files
committed
Update to language version
1 parent f8de01a commit 1c2b111

File tree

6 files changed

+33
-33
lines changed

6 files changed

+33
-33
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ Refer to our [embedding documentation](https://www.graalvm.org/latest/reference-
5454
<dependency>
5555
<groupId>org.graalvm.polyglot</groupId>
5656
<artifactId>polyglot</artifactId>
57-
<version>24.2.0</version>
57+
<version>25.0.0</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>org.graalvm.polyglot</groupId>
6161
<artifactId>python</artifactId>
62-
<version>24.2.0</version>
62+
<version>25.0.0</version>
6363
<type>pom</type>
6464
</dependency>
6565
```
6666

6767
* Gradle
6868
```kotlin
69-
implementation("org.graalvm.polyglot:polyglot:24.2.0")
70-
implementation("org.graalvm.polyglot:python:24.2.0")
69+
implementation("org.graalvm.polyglot:polyglot:25.0.0")
70+
implementation("org.graalvm.polyglot:python:25.0.0")
7171
```
7272

7373
</details>
@@ -85,12 +85,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
8585
* Linux
8686

8787
The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
88-
To install version 24.2.0 using Pyenv, run the following commands:
88+
To install version 25.0.0 using Pyenv, run the following commands:
8989
```bash
90-
pyenv install graalpy-24.2.0
90+
pyenv install graalpy-25.0.0
9191
```
9292
```bash
93-
pyenv shell graalpy-24.2.0
93+
pyenv shell graalpy-25.0.0
9494
```
9595
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
9696
@@ -102,12 +102,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
102102
* macOS
103103

104104
The easiest way to install GraalPy on macOS is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
105-
To install version 24.2.0 using Pyenv, run the following commands:
105+
To install version 25.0.0 using Pyenv, run the following commands:
106106
```bash
107-
pyenv install graalpy-24.2.0
107+
pyenv install graalpy-25.0.0
108108
```
109109
```bash
110-
pyenv shell graalpy-24.2.0
110+
pyenv shell graalpy-25.0.0
111111
```
112112
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
113113
@@ -120,20 +120,20 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
120120
```
121121
For example:
122122
```bash
123-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.2.0
123+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.0
124124
```
125125
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.
126126

127127
* Windows
128128

129129
The Windows support of GraalPy is still experimental, so not all features and packages may be available.
130130
The easiest way to install GraalPy on Windows is to use [Pyenv-win](https://pyenv-win.github.io/pyenv-win/) (the Python version manager for Windows).
131-
To install version 24.2.0 using Pyenv-win, run the following commands:
131+
To install version 25.0.0 using Pyenv-win, run the following commands:
132132
```cmd
133-
pyenv install graalpy-24.2.0-windows-amd64
133+
pyenv install graalpy-25.0.0-windows-amd64
134134
```
135135
```cmd
136-
pyenv shell graalpy-24.2.0-windows-amd64
136+
pyenv shell graalpy-25.0.0-windows-amd64
137137
```
138138
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
139139

@@ -179,7 +179,7 @@ To run Jython scripts, you need to use a GraalPy distribution running on the JVM
179179
```
180180
For example:
181181
```bash
182-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.2.0
182+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.0
183183
```
184184
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.
185185
4. Run your scripts with `graalpy --python.EmulateJython`.

docs/site/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
baseurl: "/python"
22
url: "https://graalvm.org"
33
github: "oracle/graalpython"
4-
language_version: 24.2.1
4+
language_version: 25.0.0
55
name: GraalPy
66

77
permalink: pretty

docs/user/Embedding-Build-Tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The **version** property defines which version of GraalPy to use.
206206
```groovy
207207
plugins {
208208
// other plugins ...
209-
id 'org.graalvm.python' version '24.2.0'
209+
id 'org.graalvm.python' version '25.0.0'
210210
}
211211
```
212212

docs/user/Interoperability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ For example, if you have already configured a Maven project with GraalPy, add th
112112
<dependency>
113113
<groupId>org.graalvm.polyglot</groupId>
114114
<artifactId>js</artifactId>
115-
<version>24.2.0</version>
115+
<version>25.0.0</version>
116116
</dependency>
117117
```
118118

docs/user/Python-Runtime.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ The four GraalPy runtimes are identified as follows, using the general pattern _
6969
### Linux
7070

7171
The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
72-
To install version 24.2.0 using Pyenv, run the following commands:
72+
To install version 25.0.0 using Pyenv, run the following commands:
7373
```bash
74-
pyenv install graalpy-24.2.0
74+
pyenv install graalpy-25.0.0
7575
```
7676
```bash
77-
pyenv shell graalpy-24.2.0
77+
pyenv shell graalpy-25.0.0
7878
```
7979
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
8080
@@ -86,12 +86,12 @@ Alternatively, you can download a compressed GraalPy installation file from [Git
8686
### macOS
8787

8888
The easiest way to install GraalPy on macOS is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
89-
To install version 24.2.0 using Pyenv, run the following commands:
89+
To install version 25.0.0 using Pyenv, run the following commands:
9090
```bash
91-
pyenv install graalpy-24.2.0
91+
pyenv install graalpy-25.0.0
9292
```
9393
```bash
94-
pyenv shell graalpy-24.2.0
94+
pyenv shell graalpy-25.0.0
9595
```
9696
> Before running `pyenv install`, you may need to update `pyenv` to include the latest GraalPy versions.
9797
@@ -104,7 +104,7 @@ Alternatively, you can download a compressed GraalPy installation file from [Git
104104
```
105105
For example:
106106
```bash
107-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.2.0
107+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.0
108108
```
109109
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.
110110

@@ -139,7 +139,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
139139
```
140140
For example:
141141
```bash
142-
graalpy -m venv ~/.virtualenvs/graalpy-24.2.0
142+
graalpy -m venv ~/.virtualenvs/graalpy-25.0.0
143143
```
144144
145145
2. Activate the environment in your shell session:
@@ -148,7 +148,7 @@ This generates wrapper scripts and makes the implementation usable from a shell
148148
```
149149
For example:
150150
```bash
151-
source ~/.virtualenvs/graalpy-24.2.0/bin/activate
151+
source ~/.virtualenvs/graalpy-25.0.0/bin/activate
152152
```
153153
154154
Multiple executables are available in the virtual environment, including: `python`, `python3`, and `graalpy`.

docs/user/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GraalPy can generate a Maven project that embeds Python packages into a Java app
1313
mvn archetype:generate \
1414
-DarchetypeGroupId=org.graalvm.python \
1515
-DarchetypeArtifactId=graalpy-archetype-polyglot-app \
16-
-DarchetypeVersion=24.2.0
16+
-DarchetypeVersion=25.0.0
1717
```
1818

1919
2. Build a native executable using the [GraalVM Native Image "tool"](https://www.graalvm.org/latest/reference-manual/native-image/) plugin that was added for you automatically:
@@ -79,8 +79,8 @@ In order to distribute the resulting application for other systems, follow these
7979
2. Open your project configuration file, _app/build.gradle_, and modify it as follows.
8080
- Include the GraalPy support and the [GraalVM Polyglot API](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/package-summary.html) in the `dependencies` section:
8181
```bash
82-
implementation("org.graalvm.polyglot:polyglot:24.2.0")
83-
implementation("org.graalvm.polyglot:python:24.2.0")
82+
implementation("org.graalvm.polyglot:polyglot:25.0.0")
83+
implementation("org.graalvm.polyglot:python:25.0.0")
8484
```
8585

8686
3. Finally, replace the code in the file named _App.java_ as follows for a small Python embedding:
@@ -111,7 +111,7 @@ In order to distribute the resulting application for other systems, follow these
111111
5.1. In _app/build.gradle_:
112112
- add the graalpy-gradle-plugin to the `plugins` section:
113113
```bash
114-
id "org.graalvm.python" version "24.2.0"
114+
id "org.graalvm.python" version "25.0.0"
115115
```
116116
117117
- configure the GraalPy Gradle plugin:
@@ -175,13 +175,13 @@ GraalPy comes with a tool to obtain the required JAR files from Maven.
175175
In a POSIX shell:
176176
```bash
177177
export GRAALPY_HOME=$(graalpy -c 'print(__graalpython__.home)')
178-
"${GRAALPY_HOME}/libexec/graalpy-polyglot-get" -a python -o lib -v "24.2.0"
178+
"${GRAALPY_HOME}/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.0"
179179
```
180180
181181
In PowerShell:
182182
```bash
183183
$GRAALPY_HOME = graalpy -c "print(__graalpython__.home)"
184-
& "$GRAALPY_HOME/libexec/graalpy-polyglot-get" -a python -o lib -v "24.2.0"
184+
& "$GRAALPY_HOME/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.0"
185185
```
186186
187187
These commands download all GraalPy dependencies into the _lib_ directory.

0 commit comments

Comments
 (0)