Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/package-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
ls -la packages

- name: Upload package as artifact
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3.2.1
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: packages
path: packages/*.pkg.tar.gz
Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

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

Expand Down
21 changes: 21 additions & 0 deletions packages/python/3.14.2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

PREFIX=$(realpath $(dirname $0))

mkdir -p build

cd build

curl "https://www.python.org/ftp/python/3.14.2/Python-3.14.2.tgz" -o python.tar.gz
tar xzf python.tar.gz --strip-components=1
rm python.tar.gz

./configure --prefix "$PREFIX" --with-ensurepip=install
make -j$(nproc)
make install -j$(nproc)

cd ..

rm -rf build

bin/pip3 install numpy scipy pandas pycryptodome whoosh bcrypt passlib sympy xxhash base58 cryptography PyNaCl
1 change: 1 addition & 0 deletions packages/python/3.14.2/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH
5 changes: 5 additions & 0 deletions packages/python/3.14.2/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"language": "python",
"version": "3.14.2",
"aliases": ["py", "py3", "python3", "python3.14"]
}
3 changes: 3 additions & 0 deletions packages/python/3.14.2/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

python3.14 "$@"
7 changes: 7 additions & 0 deletions packages/python/3.14.2/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
working = True

match working:
case True:
print("OK")
case False:
print()
Loading