Skip to content

Commit a8eada3

Browse files
committed
[GR-72788] Update to 25.0.2
PullRequest: graalpython/4216
2 parents 1448314 + d4874ef commit a8eada3

5 files changed

Lines changed: 32 additions & 32 deletions

File tree

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ Refer to our [embedding documentation](https://www.graalvm.org/latest/reference-
5656
<dependency>
5757
<groupId>org.graalvm.polyglot</groupId>
5858
<artifactId>polyglot</artifactId>
59-
<version>25.0.1</version>
59+
<version>25.0.2</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>org.graalvm.polyglot</groupId>
6363
<artifactId>python</artifactId>
64-
<version>25.0.1</version>
64+
<version>25.0.2</version>
6565
<type>pom</type>
6666
</dependency>
6767
```
6868

6969
* Gradle
7070
```kotlin
71-
implementation("org.graalvm.polyglot:polyglot:25.0.1")
72-
implementation("org.graalvm.polyglot:python:25.0.1")
71+
implementation("org.graalvm.polyglot:polyglot:25.0.2")
72+
implementation("org.graalvm.polyglot:python:25.0.2")
7373
```
7474

7575
</details>
@@ -87,12 +87,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
8787
* Linux
8888

8989
The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
90-
To install version 25.0.1 using Pyenv, run the following commands:
90+
To install version 25.0.2 using Pyenv, run the following commands:
9191
```bash
92-
pyenv install graalpy-25.0.1
92+
pyenv install graalpy-25.0.2
9393
```
9494
```bash
95-
pyenv shell graalpy-25.0.1
95+
pyenv shell graalpy-25.0.2
9696
```
9797
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
9898
@@ -104,12 +104,12 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
104104
* macOS
105105

106106
The easiest way to install GraalPy on macOS is to use [Pyenv](https://github.com/pyenv/pyenv) (the Python version manager).
107-
To install version 25.0.1 using Pyenv, run the following commands:
107+
To install version 25.0.2 using Pyenv, run the following commands:
108108
```bash
109-
pyenv install graalpy-25.0.1
109+
pyenv install graalpy-25.0.2
110110
```
111111
```bash
112-
pyenv shell graalpy-25.0.1
112+
pyenv shell graalpy-25.0.2
113113
```
114114
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
115115
@@ -122,20 +122,20 @@ Thanks to our integration with GraalVM Native Image, we can deploy Python applic
122122
```
123123
For example:
124124
```bash
125-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.1
125+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.2
126126
```
127127
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.
128128

129129
* Windows
130130

131131
The Windows support of GraalPy is still experimental, so not all features and packages may be available.
132132
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).
133-
To install version 25.0.1 using Pyenv-win, run the following commands:
133+
To install version 25.0.2 using Pyenv-win, run the following commands:
134134
```cmd
135-
pyenv install graalpy-25.0.1-windows-amd64
135+
pyenv install graalpy-25.0.2-windows-amd64
136136
```
137137
```cmd
138-
pyenv shell graalpy-25.0.1-windows-amd64
138+
pyenv shell graalpy-25.0.2-windows-amd64
139139
```
140140
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
141141

@@ -181,7 +181,7 @@ To run Jython scripts, you need to use a GraalPy distribution running on the JVM
181181
```
182182
For example:
183183
```bash
184-
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.1
184+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.2
185185
```
186186
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.
187187
4. Run your scripts with `graalpy --python.EmulateJython`.

docs/user/Embedding-Build-Tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Add the plugin configuration to your _build.gradle_ file:
239239

240240
```groovy
241241
plugins {
242-
id 'org.graalvm.python' version '25.0.1'
242+
id 'org.graalvm.python' version '25.0.2'
243243
}
244244
245245
graalPy {

docs/user/Interoperability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ If you're using Maven with GraalPy, add the JavaScript dependency to your _pom.x
153153
<dependency>
154154
<groupId>org.graalvm.polyglot</groupId>
155155
<artifactId>js</artifactId>
156-
<version>25.0.1</version>
156+
<version>25.0.2</version>
157157
</dependency>
158158
```
159159

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 25.0.1 using Pyenv, run the following commands:
72+
To install version 25.0.2 using Pyenv, run the following commands:
7373
```bash
74-
pyenv install graalpy-25.0.1
74+
pyenv install graalpy-25.0.2
7575
```
7676
```bash
77-
pyenv shell graalpy-25.0.1
77+
pyenv shell graalpy-25.0.2
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 25.0.1 using Pyenv, run the following commands:
89+
To install version 25.0.2 using Pyenv, run the following commands:
9090
```bash
91-
pyenv install graalpy-25.0.1
91+
pyenv install graalpy-25.0.2
9292
```
9393
```bash
94-
pyenv shell graalpy-25.0.1
94+
pyenv shell graalpy-25.0.2
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-25.0.1
107+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.2
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-25.0.1
142+
graalpy -m venv ~/.virtualenvs/graalpy-25.0.2
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-25.0.1/bin/activate
151+
source ~/.virtualenvs/graalpy-25.0.2/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
@@ -20,7 +20,7 @@ GraalPy can generate a Maven project that embeds Python packages into a Java app
2020
mvn archetype:generate \
2121
-DarchetypeGroupId=org.graalvm.python \
2222
-DarchetypeArtifactId=graalpy-archetype-polyglot-app \
23-
-DarchetypeVersion=25.0.1
23+
-DarchetypeVersion=25.0.2
2424
```
2525

2626
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:
@@ -86,8 +86,8 @@ In order to distribute the resulting application for other systems, follow these
8686
2. Open your project configuration file, _app/build.gradle_, and modify it as follows.
8787
- 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:
8888
```bash
89-
implementation("org.graalvm.polyglot:polyglot:25.0.1")
90-
implementation("org.graalvm.polyglot:python:25.0.1")
89+
implementation("org.graalvm.polyglot:polyglot:25.0.2")
90+
implementation("org.graalvm.polyglot:python:25.0.2")
9191
```
9292

9393
3. Finally, replace the code in the file named _App.java_ as follows for a small Python embedding:
@@ -118,7 +118,7 @@ In order to distribute the resulting application for other systems, follow these
118118
5.1. In _app/build.gradle_:
119119
- add the graalpy-gradle-plugin to the `plugins` section:
120120
```bash
121-
id "org.graalvm.python" version "25.0.1"
121+
id "org.graalvm.python" version "25.0.2"
122122
```
123123
124124
- configure the GraalPy Gradle plugin:
@@ -182,13 +182,13 @@ GraalPy comes with a tool to obtain the required JAR files from Maven.
182182
In a POSIX shell:
183183
```bash
184184
export GRAALPY_HOME=$(graalpy -c 'print(__graalpython__.home)')
185-
"${GRAALPY_HOME}/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.1"
185+
"${GRAALPY_HOME}/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.2"
186186
```
187187
188188
In PowerShell:
189189
```bash
190190
$GRAALPY_HOME = graalpy -c "print(__graalpython__.home)"
191-
& "$GRAALPY_HOME/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.1"
191+
& "$GRAALPY_HOME/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.2"
192192
```
193193
194194
These commands download all GraalPy dependencies into the _lib_ directory.

0 commit comments

Comments
 (0)