@platforma-open/milaboratories.runenv-python-3 1.1.17 → 1.2.0
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@platforma-open/milaboratories.runenv-python-3.10.11:main","runEnv":{"type":"python","registry":"platforma-open","package":"platforma-open/milaboratories.runenv-python-3.10.11/main/1.0.0-{os}-{arch}.tgz","binDir":"bin"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"@platforma-open/milaboratories.runenv-python-3.12.10:main","runEnv":{"type":"python","registry":"platforma-open","package":"platforma-open/milaboratories.runenv-python-3.12.10/main/1.0.0-{os}-{arch}.tgz","binDir":"bin"}}
|
package/package.json
CHANGED
|
@@ -1,42 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-open/milaboratories.runenv-python-3",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Python 3 run environments for Platforma",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "node ./scripts/build.js 3.12.6",
|
|
7
|
-
"build:descriptors": "pl-pkg build descriptors",
|
|
8
|
-
"publish:packages": "node ./scripts/publish.js 3.12.6",
|
|
9
|
-
"prepublishOnly": "npm run publish:packages"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist/"
|
|
13
|
-
],
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Python 3 run environments for Platforma Backend",
|
|
14
5
|
"block-software": {
|
|
15
6
|
"entrypoints": {
|
|
16
|
-
"3.12.
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"registry": "platforma-open",
|
|
22
|
-
"version": "3.12.6-17",
|
|
23
|
-
"roots": {
|
|
24
|
-
"linux-x64": "./pydist/v3.12.6/linux-x64/",
|
|
25
|
-
"linux-aarch64": "./pydist/v3.12.6/linux-aarch64/",
|
|
26
|
-
"macosx-x64": "./pydist/v3.12.6/macosx-x64/",
|
|
27
|
-
"macosx-aarch64": "./pydist/v3.12.6/macosx-aarch64/",
|
|
28
|
-
"windows-x64": "./pydist/v3.12.6/windows-x64/"
|
|
29
|
-
},
|
|
30
|
-
"binDir": "bin"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
7
|
+
"3.12.10": {
|
|
8
|
+
"reference": "@platforma-open/milaboratories.runenv-python-3.12.10/dist/tengo/software/main.sw.json"
|
|
9
|
+
},
|
|
10
|
+
"3.10.11": {
|
|
11
|
+
"reference": "@platforma-open/milaboratories.runenv-python-3.10.11/dist/tengo/software/main.sw.json"
|
|
33
12
|
}
|
|
34
13
|
}
|
|
35
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/"
|
|
17
|
+
],
|
|
36
18
|
"license": "UNLICENSED",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@platforma-open/milaboratories.runenv-python-3.12.10": "1.0.0",
|
|
21
|
+
"@platforma-open/milaboratories.runenv-python-3.10.11": "1.0.0"
|
|
22
|
+
},
|
|
37
23
|
"devDependencies": {
|
|
38
|
-
"@platforma-sdk/package-builder": "
|
|
39
|
-
|
|
40
|
-
|
|
24
|
+
"@platforma-sdk/package-builder": "2.16.2"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./dist/",
|
|
28
|
+
"build": "pl-pkg build"
|
|
41
29
|
}
|
|
42
|
-
}
|
|
30
|
+
}
|
package/README.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Python run environment for Platforma Backend
|
|
2
|
-
|
|
3
|
-
This package is the catalogue of all supported versions of 'python' run environment.
|
|
4
|
-
|
|
5
|
-
Unlike most other software packages, it keeps entrypoints for all python versions
|
|
6
|
-
published earlier.
|
|
7
|
-
|
|
8
|
-
As we do not maintain/build our own java, the version of this package is not bound to any
|
|
9
|
-
specific version of python, but newer python version publications produce newer entrypoints
|
|
10
|
-
in this package.
|
|
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
|
-
|
|
35
|
-
## How to release new version of python run environment
|
|
36
|
-
|
|
37
|
-
1. Update `package.json`:
|
|
38
|
-
1. Add new entrypoint for fresh version of python.
|
|
39
|
-
2. Change version of python built by default in CI (`scripts` section in `package.json`).
|
|
40
|
-
2. Generate new entrypoint:
|
|
41
|
-
1. Run `npx pl-pkg build descriptors --entrypoint=<new entrypoint name here>`
|
|
42
|
-
2. Commit new entrypoint descriptor generated in `dist` directory.
|
|
43
|
-
3. Bump `<minor>` version part in `package.json`.
|
|
@@ -1 +0,0 @@
|
|
|
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"}}
|