diff --git a/.github/workflows/platforms-tests.yml b/.github/workflows/platforms-tests.yml index 5fe34e80a9..f0fea75886 100644 --- a/.github/workflows/platforms-tests.yml +++ b/.github/workflows/platforms-tests.yml @@ -36,7 +36,7 @@ jobs: echo "Using $JAVA_HOME" $JAVA_HOME/bin/java -version mkdir $(pwd)/user_resource_cache - mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=25.1.3 -Dcom.oracle.graal.python.test.polyglot_repo=file:///$(pwd)/m2repo --batch-mode -U -Dtruffle.UseFallbackRuntime=true -Dpolyglot.engine.allowUnsupportedPlatform=true -Dpolyglot.engine.userResourceCache=/$(pwd)/user_resource_cache -Dpolyglot.python.UnsupportedPlatformEmulates=linux -Dorg.graalvm.python.resources.exclude=native.files test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest + mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=25.2.4 -Dcom.oracle.graal.python.test.polyglot_repo=file:///$(pwd)/m2repo --batch-mode -U -Dtruffle.UseFallbackRuntime=true -Dpolyglot.engine.allowUnsupportedPlatform=true -Dpolyglot.engine.userResourceCache=/$(pwd)/user_resource_cache -Dpolyglot.python.UnsupportedPlatformEmulates=linux -Dorg.graalvm.python.resources.exclude=native.files test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest rm -rf $(pwd)/user_resource_cache - uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 @@ -56,6 +56,6 @@ jobs: echo 'Using \$JAVA_HOME' \$JAVA_HOME/bin/java -version mkdir \$(pwd)/user_resource_cache - mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=25.1.3 -Dcom.oracle.graal.python.test.polyglot_repo=file:///\$(pwd)/m2repo --batch-mode -U -Dtruffle.UseFallbackRuntime=true -Dpolyglot.engine.allowUnsupportedPlatform=true -Dpolyglot.engine.userResourceCache=/\$(pwd)/user_resource_cache -Dpolyglot.python.UnsupportedPlatformEmulates=linux -Dorg.graalvm.python.resources.exclude=native.files test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest + mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=25.2.4 -Dcom.oracle.graal.python.test.polyglot_repo=file:///\$(pwd)/m2repo --batch-mode -U -Dtruffle.UseFallbackRuntime=true -Dpolyglot.engine.allowUnsupportedPlatform=true -Dpolyglot.engine.userResourceCache=/\$(pwd)/user_resource_cache -Dpolyglot.python.UnsupportedPlatformEmulates=linux -Dorg.graalvm.python.resources.exclude=native.files test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest rm -rf \$(pwd)/user_resource_cache " diff --git a/docs/user/Embedding-Build-Tools.md b/docs/user/Embedding-Build-Tools.md index 158b17554c..e0b12f1dad 100644 --- a/docs/user/Embedding-Build-Tools.md +++ b/docs/user/Embedding-Build-Tools.md @@ -252,7 +252,7 @@ Add the plugin configuration to your _build.gradle_ file: ```groovy plugins { - id 'org.graalvm.python' version '25.1.3' + id 'org.graalvm.python' version '25.2.4' } graalPy { diff --git a/docs/user/Embedding-Getting-Started.md b/docs/user/Embedding-Getting-Started.md index b200f1ea00..6175733961 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.1.3 + -DarchetypeVersion=25.2.4 ``` 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.1.3") - implementation("org.graalvm.python:python-embedding:25.1.3") + implementation("org.graalvm.polyglot:polyglot:25.2.4") + implementation("org.graalvm.python:python-embedding:25.2.4") ``` 3. Replace the _App.java_ content with this simple Python embedding example: @@ -134,7 +134,7 @@ Add the Python embedding dependency and GraalPy Maven plugin configuration to yo org.graalvm.python python-embedding - 25.1.3 + 25.2.4 @@ -143,7 +143,7 @@ Add the Python embedding dependency and GraalPy Maven plugin configuration to yo org.graalvm.python graalpy-maven-plugin - 25.1.3 + 25.2.4 @@ -169,11 +169,11 @@ Add the GraalPy Gradle plugin and configure dependencies in _app/build.gradle_: plugins { id "java" id "application" - id "org.graalvm.python" version "25.1.3" + id "org.graalvm.python" version "25.2.4" } dependencies { - implementation("org.graalvm.python:python-embedding:25.1.3") + implementation("org.graalvm.python:python-embedding:25.2.4") } graalPy { @@ -213,11 +213,11 @@ BouncyCastle is optional for GraalPy embeddings. Add the following dependency on org.graalvm.python python-bouncycastle-support - 25.1.3 + 25.2.4 ``` -For Gradle, use `implementation("org.graalvm.python:python-bouncycastle-support:25.1.3")`. +For Gradle, use `implementation("org.graalvm.python:python-bouncycastle-support:25.2.4")`. ### Configuring Individual Sources diff --git a/docs/user/Interoperability.md b/docs/user/Interoperability.md index fc7d2a13d4..302a491cf9 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.1.3 + 25.2.4 ``` diff --git a/docs/user/Standalone-Getting-Started.md b/docs/user/Standalone-Getting-Started.md index 139f297b6f..2562f1397c 100644 --- a/docs/user/Standalone-Getting-Started.md +++ b/docs/user/Standalone-Getting-Started.md @@ -50,25 +50,25 @@ 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.1.3 -pyenv install graalpy-25.1.3 +# Install GraalPy 25.2.4 +pyenv install graalpy-25.2.4 # Use GraalPy for the current shell session -pyenv shell graalpy-25.1.3 +pyenv shell graalpy-25.2.4 ``` #### Manual Installation (Linux) 1. Download the appropriate binary from [GitHub releases](https://github.com/oracle/graalpython/releases): - - AMD64: `graalpy3.12-25.1.3-linux-amd64.tar.gz` - - ARM64: `graalpy3.12-25.1.3-linux-aarch64.tar.gz` + - AMD64: `graalpy3.12-25.2.4-linux-amd64.tar.gz` + - ARM64: `graalpy3.12-25.2.4-linux-aarch64.tar.gz` 2. Extract and add it to your `PATH` environment variable: ```bash - tar -xzf graalpy3.12-25.1.3-linux-amd64.tar.gz - export PATH="$PWD/graalpy3.12-25.1.3-linux-amd64/bin:$PATH" + tar -xzf graalpy3.12-25.2.4-linux-amd64.tar.gz + export PATH="$PWD/graalpy3.12-25.2.4-linux-amd64/bin:$PATH" ``` ### macOS @@ -76,11 +76,11 @@ pyenv shell graalpy-25.1.3 Using Pyenv (recommended): ```bash -# Install GraalPy 25.1.3 -pyenv install graalpy-25.1.3 +# Install GraalPy 25.2.4 +pyenv install graalpy-25.2.4 # Use GraalPy for the current shell session -pyenv shell graalpy-25.1.3 +pyenv shell graalpy-25.2.4 ``` #### Manual Installation (macOS) @@ -92,14 +92,14 @@ pyenv shell graalpy-25.1.3 ```bash sudo xattr -r -d com.apple.quarantine /path/to/graalpy # For example: - sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.1.3 + sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-25.2.4 ``` 3. Extract and add it to your `PATH` environment variable: ```bash - tar -xzf graalpy3.12-25.1.3-macos-aarch64.tar.gz - export PATH="$PWD/graalpy3.12-25.1.3-macos-aarch64/bin:$PATH" + tar -xzf graalpy3.12-25.2.4-macos-aarch64.tar.gz + export PATH="$PWD/graalpy3.12-25.2.4-macos-aarch64/bin:$PATH" ``` ### Windows @@ -112,9 +112,9 @@ pyenv shell graalpy-25.1.3 ```powershell # Extract the file and update your PATH environment variable - # to include the graalpy3.12-25.1.3-windows-amd64/bin directory - tar -xzf graalpy3.12-25.1.3-windows-amd64.zip - $env:PATH = "$PWD\graalpy3.12-25.1.3-windows-amd64\bin;$env:PATH" + # to include the graalpy3.12-25.2.4-windows-amd64/bin directory + tar -xzf graalpy3.12-25.2.4-windows-amd64.zip + $env:PATH = "$PWD\graalpy3.12-25.2.4-windows-amd64\bin;$env:PATH" ``` #### Known Windows Limitations @@ -129,10 +129,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.1.3 +graalpy -m venv ~/.virtualenvs/graalpy-25.2.4 # Activate the environment -source ~/.virtualenvs/graalpy-25.1.3/bin/activate +source ~/.virtualenvs/graalpy-25.2.4/bin/activate ``` ### Installing Packages diff --git a/graalpython/com.oracle.graal.python.test.integration/pom.xml b/graalpython/com.oracle.graal.python.test.integration/pom.xml index 20803f3050..864b198fa9 100644 --- a/graalpython/com.oracle.graal.python.test.integration/pom.xml +++ b/graalpython/com.oracle.graal.python.test.integration/pom.xml @@ -64,7 +64,7 @@ Additionally, one can change the polyglot artifacts version with 17 17 UTF-8 - 25.2.3 + 25.2.4 diff --git a/mx.graalpython/mx_graalpython.py b/mx.graalpython/mx_graalpython.py index 02a5c69858..f3ed7480bb 100644 --- a/mx.graalpython/mx_graalpython.py +++ b/mx.graalpython/mx_graalpython.py @@ -878,8 +878,8 @@ def _dev_pythonhome(): return os.path.join(SUITE.dir, "graalpython") -DELVEEWHEEL_GRAALPY_ARTIFACT = "graal/python-native-standalone-svm-svmee-java25-windows-amd64-25.1.3.zip" -DELVEEWHEEL_GRAALPY_HOME = "graalpy3.12-25.1.3-windows-amd64" +DELVEEWHEEL_GRAALPY_ARTIFACT = "graal/python-native-standalone-svm-svmee-java25-windows-amd64-25.2.4.zip" +DELVEEWHEEL_GRAALPY_HOME = "graalpy3.12-25.2.4-windows-amd64" def _downloaded_graalpy_for_delvewheel(): diff --git a/mx.graalpython/mx_pominit.py b/mx.graalpython/mx_pominit.py index 516397da88..30dbe070b2 100644 --- a/mx.graalpython/mx_pominit.py +++ b/mx.graalpython/mx_pominit.py @@ -58,8 +58,8 @@ LOCAL_GROUP_ID = "${project.groupId}" LOCAL_VERSION = "${project.version}" GRAALVM_VERSION = "${graalvm.version}" -DEFAULT_GRAALVM_VERSION = "25.1.3" -CURRENT_GRAALVM_VERSION = "25.2.4" +DEFAULT_GRAALVM_VERSION = "25.2.4" +CURRENT_GRAALVM_VERSION = "25.3.4" XML_UPL_HEADER = """