From e3f4605b9cea8282a7c761c333dc81bf558b7fab Mon Sep 17 00:00:00 2001 From: Olya Gupalo Date: Fri, 5 Jun 2026 09:38:35 +0300 Subject: [PATCH] GraalPy version update in user docs --- docs/user/Embedding-Build-Tools.md | 2 +- docs/user/Embedding-Getting-Started.md | 10 +++++----- docs/user/Interoperability.md | 2 +- docs/user/Standalone-Getting-Started.md | 18 +++++++++--------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/user/Embedding-Build-Tools.md b/docs/user/Embedding-Build-Tools.md index 9e353ed027..30e6f5c01a 100644 --- a/docs/user/Embedding-Build-Tools.md +++ b/docs/user/Embedding-Build-Tools.md @@ -253,7 +253,7 @@ Add the plugin configuration to your _build.gradle_ file: ```groovy plugins { - id 'org.graalvm.python' version '25.0.2' + id 'org.graalvm.python' version '25.0.3' } graalPy { diff --git a/docs/user/Embedding-Getting-Started.md b/docs/user/Embedding-Getting-Started.md index d07f0c394e..7ce3c82c37 100644 --- a/docs/user/Embedding-Getting-Started.md +++ b/docs/user/Embedding-Getting-Started.md @@ -16,7 +16,7 @@ The fastest way to get started is with GraalPy's Maven archetype, which generate mvn archetype:generate \ -DarchetypeGroupId=org.graalvm.python \ -DarchetypeArtifactId=graalpy-archetype-polyglot-app \ - -DarchetypeVersion=25.0.2 + -DarchetypeVersion=25.0.3 ``` This generates the following project structure: @@ -87,8 +87,8 @@ If you prefer Gradle, here is how to set up a new project with GraalPy embedding - 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: ```gradle - implementation("org.graalvm.polyglot:polyglot:25.0.2") - implementation("org.graalvm.python:python-embedding:25.0.2") + implementation("org.graalvm.polyglot:polyglot:25.0.3") + implementation("org.graalvm.python:python-embedding:25.0.3") ``` 3. Replace the _App.java_ content with this simple Python embedding example: @@ -128,7 +128,7 @@ To use third-party Python packages like NumPy or Requests in your embedded appli plugins { id "java" id "application" - id "org.graalvm.python" version "25.0.2" + id "org.graalvm.python" version "25.0.3" } graalPy { @@ -171,7 +171,7 @@ GraalPy provides a tool to download the required JAR files directly. 1. Set up your project structure with a directory for dependencies: ```bash - ├── lib/ # JAR dependencies + ├── lib/ # JAR dependencies │ └── *.jar └── src/ # Your Java source files └── *.java diff --git a/docs/user/Interoperability.md b/docs/user/Interoperability.md index 2e730034be..be5d011c21 100644 --- a/docs/user/Interoperability.md +++ b/docs/user/Interoperability.md @@ -211,7 +211,7 @@ If you're using Maven with GraalPy, add the JavaScript dependency to your _pom.x org.graalvm.polyglot js - 25.0.2 + 25.0.3 ``` diff --git a/docs/user/Standalone-Getting-Started.md b/docs/user/Standalone-Getting-Started.md index 2efdefe498..20a5f320f1 100644 --- a/docs/user/Standalone-Getting-Started.md +++ b/docs/user/Standalone-Getting-Started.md @@ -50,11 +50,11 @@ The easiest way to install GraalPy on Linux is to use [Pyenv](https://github.com # Update pyenv to include latest GraalPy versions (if needed) pyenv update -# Install GraalPy 25.0.2 -pyenv install graalpy-25.0.2 +# Install GraalPy 25.0.3 +pyenv install graalpy-25.0.3 # Use GraalPy for the current shell session -pyenv shell graalpy-25.0.2 +pyenv shell graalpy-25.0.3 ``` #### Manual Installation (Linux) @@ -76,11 +76,11 @@ pyenv shell graalpy-25.0.2 Using Pyenv (recommended): ```bash -# Install GraalPy 25.0.2 -pyenv install graalpy-25.0.2 +# Install GraalPy 25.0.3 +pyenv install graalpy-25.0.3 # Use GraalPy for the current shell session -pyenv shell graalpy-25.0.2 +pyenv shell graalpy-25.0.3 ``` #### Manual Installation (macOS) @@ -92,7 +92,7 @@ pyenv shell graalpy-25.0.2 ```bash sudo xattr -r -d com.apple.quarantine /path/to/graalpy # For example: - sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.2 + sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.0.3 ``` 3. Extract and add it to your `PATH` environment variable: @@ -136,10 +136,10 @@ The recommended way to use GraalPy is with [venv](https://docs.python.org/3/libr ```bash # Create a virtual environment -graalpy -m venv ~/.virtualenvs/graalpy-25.0.2 +graalpy -m venv ~/.virtualenvs/graalpy-25.0.3 # Activate the environment -source ~/.virtualenvs/graalpy-25.0.2/bin/activate +source ~/.virtualenvs/graalpy-25.0.3/bin/activate ``` ### Installing Packages