Skip to content

Commit 2b139d3

Browse files
committed
Update GraalPy version to 24.2.0 in README.md and docs
1 parent 67f940e commit 2b139d3

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

README.md

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

6767
* Gradle
6868
```kotlin
69-
implementation("org.graalvm.polyglot:polyglot:24.1.2")
70-
implementation("org.graalvm.polyglot:python:24.1.2")
69+
implementation("org.graalvm.polyglot:polyglot:24.2.0")
70+
implementation("org.graalvm.polyglot:python:24.2.0")
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 24.1.2 using Pyenv, run the following commands:
88+
To install version 24.2.0 using Pyenv, run the following commands:
8989
```bash
90-
pyenv install graalpy-24.1.2
90+
pyenv install graalpy-24.2.0
9191
```
9292
```bash
93-
pyenv shell graalpy-24.1.2
93+
pyenv shell graalpy-24.2.0
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 24.1.2 using Pyenv, run the following commands:
105+
To install version 24.2.0 using Pyenv, run the following commands:
106106
```bash
107-
pyenv install graalpy-24.1.2
107+
pyenv install graalpy-24.2.0
108108
```
109109
```bash
110-
pyenv shell graalpy-24.1.2
110+
pyenv shell graalpy-24.2.0
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-24.1.2
123+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.2.0
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 24.1.2 using Pyenv-win, run the following commands:
131+
To install version 24.2.0 using Pyenv-win, run the following commands:
132132
```cmd
133-
pyenv install graalpy-24.1.2-windows-amd64
133+
pyenv install graalpy-24.2.0-windows-amd64
134134
```
135135
```cmd
136-
pyenv shell graalpy-24.1.2-windows-amd64
136+
pyenv shell graalpy-24.2.0-windows-amd64
137137
```
138138
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
139139

@@ -152,7 +152,7 @@ The _setup-python_ action supports GraalPy:
152152
- name: Setup GraalPy
153153
uses: actions/setup-python@v5
154154
with:
155-
python-version: graalpy # or graalpy24.1 to pin a version
155+
python-version: graalpy # or graalpy24.2 to pin a version
156156
```
157157

158158
</details>
@@ -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-24.1.2
182+
sudo xattr -r -d com.apple.quarantine ~/.pyenv/versions/graalpy-24.2.0
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

+1-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ To manage third-party Python packages, a [Python virtual environment](https://do
9090
Whether deployed in a virtual filesystem or an external directory, its contents are managed by the plugin based on the Python packages
9191
specified in the plugin configuration.
9292

93-
## Python Dependency Management
94-
95-
for Reproducible Builds
93+
## Python Dependency Management for Reproducible Builds
9694

9795
In Python ecosystem, it is common that packages specify their dependencies as ranges rather than a fixed version.
9896
For example, package A depends on package B of any version higher or equal to 2.0.0 (denoted as `B>=2.0.0`).

0 commit comments

Comments
 (0)