Skip to content

Commit 8d590fc

Browse files
koki-developclaude
andauthored
Add Python 3.14.2 language package (#6)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 004d025 commit 8d590fc

File tree

6 files changed

+39
-2
lines changed

6 files changed

+39
-2
lines changed

.github/workflows/package-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
ls -la packages
6161
6262
- name: Upload package as artifact
63-
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3.2.1
63+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
6464
with:
6565
name: packages
6666
path: packages/*.pkg.tar.gz
@@ -72,7 +72,7 @@ jobs:
7272
steps:
7373
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
7474

75-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
75+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
7676
with:
7777
name: packages
7878

packages/python/3.14.2/build.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
PREFIX=$(realpath $(dirname $0))
4+
5+
mkdir -p build
6+
7+
cd build
8+
9+
curl "https://www.python.org/ftp/python/3.14.2/Python-3.14.2.tgz" -o python.tar.gz
10+
tar xzf python.tar.gz --strip-components=1
11+
rm python.tar.gz
12+
13+
./configure --prefix "$PREFIX" --with-ensurepip=install
14+
make -j$(nproc)
15+
make install -j$(nproc)
16+
17+
cd ..
18+
19+
rm -rf build
20+
21+
bin/pip3 install numpy scipy pandas pycryptodome whoosh bcrypt passlib sympy xxhash base58 cryptography PyNaCl

packages/python/3.14.2/environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export PATH=$PWD/bin:$PATH
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"language": "python",
3+
"version": "3.14.2",
4+
"aliases": ["py", "py3", "python3", "python3.14"]
5+
}

packages/python/3.14.2/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
python3.14 "$@"

packages/python/3.14.2/test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
working = True
2+
3+
match working:
4+
case True:
5+
print("OK")
6+
case False:
7+
print()

0 commit comments

Comments
 (0)