Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/platforms-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
"
2 changes: 1 addition & 1 deletion docs/user/Embedding-Build-Tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
18 changes: 9 additions & 9 deletions docs/user/Embedding-Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -134,7 +134,7 @@ Add the Python embedding dependency and GraalPy Maven plugin configuration to yo
<dependency>
<groupId>org.graalvm.python</groupId>
<artifactId>python-embedding</artifactId>
<version>25.1.3</version>
<version>25.2.4</version>
</dependency>
</dependencies>

Expand All @@ -143,7 +143,7 @@ Add the Python embedding dependency and GraalPy Maven plugin configuration to yo
<plugin>
<groupId>org.graalvm.python</groupId>
<artifactId>graalpy-maven-plugin</artifactId>
<version>25.1.3</version>
<version>25.2.4</version>
<executions>
<execution>
<configuration>
Expand All @@ -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 {
Expand Down Expand Up @@ -213,11 +213,11 @@ BouncyCastle is optional for GraalPy embeddings. Add the following dependency on
<dependency>
<groupId>org.graalvm.python</groupId>
<artifactId>python-bouncycastle-support</artifactId>
<version>25.1.3</version>
<version>25.2.4</version>
</dependency>
```

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

Expand Down
2 changes: 1 addition & 1 deletion docs/user/Interoperability.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ If you're using Maven with GraalPy, add the JavaScript dependency to your _pom.x
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>25.1.3</version>
<version>25.2.4</version>
</dependency>
```

Expand Down
36 changes: 18 additions & 18 deletions docs/user/Standalone-Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,37 +50,37 @@ 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

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)
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Additionally, one can change the polyglot artifacts version with
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<com.oracle.graal.python.test.polyglot.version>25.2.3</com.oracle.graal.python.test.polyglot.version>
<com.oracle.graal.python.test.polyglot.version>25.2.4</com.oracle.graal.python.test.polyglot.version>
</properties>

<build>
Expand Down
4 changes: 2 additions & 2 deletions mx.graalpython/mx_graalpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 2 additions & 2 deletions mx.graalpython/mx_pominit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """<!--
Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ SOFTWARE.
<maven.compiler-plugin.version>3.14.1</maven.compiler-plugin.version>
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
<maven.enforcer-plugin.version>3.6.1</maven.enforcer-plugin.version>
<graalvm.version>25.1.3</graalvm.version>
<graalvm.version>25.2.4</graalvm.version>
</properties>

<dependencyManagement>
Expand Down
8 changes: 4 additions & 4 deletions scripts/wheelbuilder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For Linux/amd64, I use [act](https://github.com/nektos/act/releases) on a Linux
```shell
git clone https://github.com/oracle/graalpython
cd graalpython
VERSION=25.1.3
VERSION=25.2.4
PYTHON_VERSION=3.12
BINDIR=. curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
echo "graalpy_url=https://github.com/oracle/graalpython/releases/download/graal-$VERSION/graalpy$PYTHON_VERSION-$VERSION-linux-amd64.tar.gz" > .input
Expand All @@ -54,7 +54,7 @@ For Linux/aarch64, I use act on a mac, those are usually beefy ARM machines that
```shell
git clone https://github.com/oracle/graalpython
cd graalpython
VERSION=25.1.3
VERSION=25.2.4
PYTHON_VERSION=3.12
brew install act
echo "graalpy_url=https://github.com/oracle/graalpython/releases/download/graal-$VERSION/graalpy$PYTHON_VERSION-$VERSION-linux-aarch64.tar.gz" > .input
Expand All @@ -65,7 +65,7 @@ act --env http_proxy=$http_proxy --env https_proxy=$https_proxy -W .github/workf
For macOS/aarch64, you get no isolation from act, so I just run it directly.
```shell
git clone https://github.com/oracle/graalpython
VERSION=25.1.3
VERSION=25.2.4
PYTHON_VERSION=3.12
export GITHUB_RUN_ID=doesntMatterJustTriggerBrewInstallScripts
python3 -m venv wheelbuilder-venv
Expand All @@ -76,7 +76,7 @@ python3 graalpython/scripts/wheelbuilder/build_wheels.py https://github.com/orac
For Windows/amd64, you get no isolation from act, so I just run it directly in Visual Studio powershell.
```shell
git clone https://github.com/oracle/graalpython
$VERSION="25.1.3"
$VERSION="25.2.4"
$PYTHON_VERSION="3.12"
$env:GITHUB_RUN_ID="doesntMatterJustTriggerBrewInstallScripts"
python3 -m venv wheelbuilder-venv
Expand Down
Loading