@platforma-open/milaboratories.runenv-python-3 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/tengo/software/3.12.6.sw.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,6 +9,29 @@ As we do not maintain/build our own java, the version of this package is not bou
|
|
|
9
9
|
specific version of python, but newer python version publications produce newer entrypoints
|
|
10
10
|
in this package.
|
|
11
11
|
|
|
12
|
+
## Package Management
|
|
13
|
+
|
|
14
|
+
The build system automatically handles package installation with intelligent fallback:
|
|
15
|
+
- First attempts to download binary wheels from PyPI
|
|
16
|
+
- Falls back to building from source if binary wheels are unavailable
|
|
17
|
+
- Supports platform-specific exceptions for packages with limited platform support
|
|
18
|
+
- Supports additional PyPI index URLs for custom package sources
|
|
19
|
+
|
|
20
|
+
### Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Basic build
|
|
24
|
+
npm run build
|
|
25
|
+
|
|
26
|
+
# Build with additional PyPI index URLs
|
|
27
|
+
node ./scripts/build.js 3.12.6 "https://custom.pypi.org/simple/,https://another.pypi.org/simple/"
|
|
28
|
+
|
|
29
|
+
# Build with single additional index
|
|
30
|
+
node ./scripts/build.js 3.12.6 "https://custom.pypi.org/simple/"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
See [PACKAGE_EXCEPTIONS.md](PACKAGE_EXCEPTIONS.md) for details on configuring package-specific behavior.
|
|
34
|
+
|
|
12
35
|
## How to release new version of python run environment
|
|
13
36
|
|
|
14
37
|
1. Update `package.json`:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@platforma-open/milaboratories.runenv-python-3:3.12.6","runEnv":{"type":"python","registry":"platforma-open","package":"platforma-open/milaboratories.runenv-python-3/3.12.6/3.12.6-
|
|
1
|
+
{"name":"@platforma-open/milaboratories.runenv-python-3:3.12.6","runEnv":{"type":"python","registry":"platforma-open","package":"platforma-open/milaboratories.runenv-python-3/3.12.6/3.12.6-17-{os}-{arch}.tgz","binDir":"bin"}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.runenv-python-3",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Python 3 run environments for Platforma",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node ./scripts/build.js 3.12.6",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"type": "environment",
|
|
20
20
|
"runtime": "python",
|
|
21
21
|
"registry": "platforma-open",
|
|
22
|
-
"version": "3.12.6-
|
|
22
|
+
"version": "3.12.6-17",
|
|
23
23
|
"roots": {
|
|
24
24
|
"linux-x64": "./pydist/v3.12.6/linux-x64/",
|
|
25
25
|
"linux-aarch64": "./pydist/v3.12.6/linux-aarch64/",
|