Skip to content

Commit f6d5976

Browse files
committed
Upgrade to 25.0.1 and fix link
1 parent 4791cf7 commit f6d5976

File tree

5 files changed

+33
-37
lines changed

5 files changed

+33
-37
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>25.0.0</version>
57+
<version>25.0.1</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>org.graalvm.polyglot</groupId>
6161
<artifactId>python</artifactId>
62-
<version>25.0.0</version>
62+
<version>25.0.1</version>
6363
<type>pom</type>
6464
</dependency>
6565
```
6666

6767
* Gradle
6868
```kotlin
69-
implementation("org.graalvm.polyglot:polyglot:25.0.0")
70-
implementation("org.graalvm.polyglot:python:25.0.0")
69+
implementation("org.graalvm.polyglot:polyglot:25.0.1")
70+
implementation("org.graalvm.polyglot:python:25.0.1")
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 25.0.0 using Pyenv, run the following commands:
88+
To install version 25.0.1 using Pyenv, run the following commands:
8989
```bash
90-
pyenv install graalpy-25.0.0
90+
pyenv install graalpy-25.0.1
9191
```
9292
```bash
93-
pyenv shell graalpy-25.0.0
93+
pyenv shell graalpy-25.0.1
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 25.0.0 using Pyenv, run the following commands:
105+
To install version 25.0.1 using Pyenv, run the following commands:
106106
```bash
107-
pyenv install graalpy-25.0.0
107+
pyenv install graalpy-25.0.1
108108
```
109109
```bash
110-
pyenv shell graalpy-25.0.0
110+
pyenv shell graalpy-25.0.1
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-25.0.0
123+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.1
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 25.0.0 using Pyenv-win, run the following commands:
131+
To install version 25.0.1 using Pyenv-win, run the following commands:
132132
```cmd
133-
pyenv install graalpy-25.0.0-windows-amd64
133+
pyenv install graalpy-25.0.1-windows-amd64
134134
```
135135
```cmd
136-
pyenv shell graalpy-25.0.0-windows-amd64
136+
pyenv shell graalpy-25.0.1-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-25.0.0
182+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.1
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/user/Embedding-Build-Tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ The **version** property defines which version of GraalPy to use.
208208
```groovy
209209
plugins {
210210
// other plugins ...
211-
id 'org.graalvm.python' version '25.0.0'
211+
id 'org.graalvm.python' version '25.0.1'
212212
}
213213
```
214214

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>25.0.0</version>
115+
<version>25.0.1</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 25.0.0 using Pyenv, run the following commands:
72+
To install version 25.0.1 using Pyenv, run the following commands:
7373
```bash
74-
pyenv install graalpy-25.0.0
74+
pyenv install graalpy-25.0.1
7575
```
7676
```bash
77-
pyenv shell graalpy-25.0.0
77+
pyenv shell graalpy-25.0.1
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.0 using Pyenv, run the following commands:
89+
To install version 25.0.1 using Pyenv, run the following commands:
9090
```bash
91-
pyenv install graalpy-25.0.0
91+
pyenv install graalpy-25.0.1
9292
```
9393
```bash
94-
pyenv shell graalpy-25.0.0
94+
pyenv shell graalpy-25.0.1
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.0
107+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.1
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.0
142+
graalpy -m venv ~/.virtualenvs/graalpy-25.0.1
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.0/bin/activate
151+
source ~/.virtualenvs/graalpy-25.0.1/bin/activate
152152
```
153153
154154
Multiple executables are available in the virtual environment, including: `python`, `python3`, and `graalpy`.

docs/user/README.md

Lines changed: 7 additions & 11 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.0
23+
-DarchetypeVersion=25.0.1
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.0")
90-
implementation("org.graalvm.polyglot:python:25.0.0")
89+
implementation("org.graalvm.polyglot:polyglot:25.0.1")
90+
implementation("org.graalvm.polyglot:python:25.0.1")
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.0"
121+
id "org.graalvm.python" version "25.0.1"
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.0"
185+
"${GRAALPY_HOME}/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.1"
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.0"
191+
& "$GRAALPY_HOME/libexec/graalpy-polyglot-get" -a python -o lib -v "25.0.1"
192192
```
193193
194194
These commands download all GraalPy dependencies into the _lib_ directory.
@@ -207,11 +207,7 @@ GraalPy comes with a tool to obtain the required JAR files from Maven.
207207
}
208208
```
209209
210-
## Testing Python Applications and Packages on GraalPy
211-
212-
Go [here](Python-Runtime.md) to get a CPython compatible distribution of GraalPy to test Python applications and packages.
213-
214-
#### Related Documentation
210+
### Related Documentation
215211
216212
- [Modern Python on the JVM](Python-on-JVM.md)
217213
- [Embedding Graal languages in Java](https://www.graalvm.org/latest/reference-manual/embed-languages/)

0 commit comments

Comments
 (0)