You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
126
126
127
127
* Windows
128
128
129
129
The Windows support of GraalPy is still experimental, so not all features and packages may be available.
130
130
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:
132
132
```cmd
133
-
pyenv install graalpy-24.1.2-windows-amd64
133
+
pyenv install graalpy-24.2.0-windows-amd64
134
134
```
135
135
```cmd
136
-
pyenv shell graalpy-24.1.2-windows-amd64
136
+
pyenv shell graalpy-24.2.0-windows-amd64
137
137
```
138
138
> NOTE: There will be a delay between GraalPy release and its availability on Pyenv. Make sure to update Pyenv.
139
139
@@ -152,7 +152,7 @@ The _setup-python_ action supports GraalPy:
152
152
- name: Setup GraalPy
153
153
uses: actions/setup-python@v5
154
154
with:
155
-
python-version: graalpy # or graalpy24.1 to pin a version
155
+
python-version: graalpy # or graalpy24.2 to pin a version
156
156
```
157
157
158
158
</details>
@@ -179,7 +179,7 @@ To run Jython scripts, you need to use a GraalPy distribution running on the JVM
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.
185
185
4. Run your scripts with `graalpy --python.EmulateJython`.
*Note that the action will override the existing lock file.*
174
171
175
-
For more information on managing Python packages, please refer to the descriptions of
176
-
the `graalPyLockFile` and `packages` fields in the [plugin configuration](#maven-plugin-configuration), as well as the [Python Dependency Management](#python-dependency-management) section
177
-
above in this document.
172
+
For a high level description of this feature, please refer to the
173
+
[Python Dependency Management for Reproducible Builds](#pythop-dependency-management-for-reproducible-builds) section
174
+
in this document.
175
+
176
+
* The **graalPyLockFile** element can change the default path to the GraalPy lock file. Default value is `${basedir}/graalpy.lock`.
177
+
The **graalPyLockFile** element by itself will not trigger the locking. The locking must be done by explicitly executing the
@@ -202,15 +209,6 @@ The plugin can be configured in the `graalPy` block:
202
209
...
203
210
}
204
211
```
205
-
206
-
- The **graalPyLockFile** element can specify an alternative path to a GraalPy lock file.
207
-
Default value is `$rootDir/graalpy.lock`.
208
-
```bash
209
-
graalPy {
210
-
graalPyLockFile = file("$rootDir/graalpy.lock")
211
-
...
212
-
}
213
-
```
214
212
215
213
- The **resourceDirectory** element can specify the relative [Java resource path](#java-resource-path).
216
214
Remember to use `VirtualFileSystem$Builder#resourceDirectory` when configuring the `VirtualFileSystem` in Java.
@@ -241,10 +239,19 @@ gradle graalPyLockPackages
241
239
```
242
240
*Note that the action will override the existing lock file.*
243
241
244
-
For more information on managing Python packages, please refer to the descriptions of
245
-
the `graalPyLockFile` and `packages` fields in the [plugin configuration](#gradle-plugin-configuration), as well as the [Python Dependency Management](#python-dependency-management) sections
242
+
For a high level description of this feature, please refer to the
243
+
[Python Dependency Management for Reproducible Builds](#pythop-dependency-management-for-reproducible-builds) section
246
244
in this document.
247
245
246
+
* The **graalPyLockFile** element can change the default path to the GraalPy lock file. Default value is `${basedir}/graalpy.lock`.
247
+
The **graalPyLockFile** element by itself will not trigger the locking. The locking must be done by explicitly executing the
248
+
`graalPyLockPackages` task.
249
+
```
250
+
graalPy {
251
+
graalPyLockFile = file("$rootDir/graalpy.lock")
252
+
...
253
+
}
254
+
248
255
## Related Documentation
249
256
250
257
* [Embedding Graal languages in Java](https://www.graalvm.org/reference-manual/embed-languages/)
0 commit comments