1616
1717jobs :
1818 macos :
19- runs-on : macos-13
19+ runs-on : macos-latest
2020 strategy :
2121 matrix :
22- python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 "]
22+ python-version : ["3.10 ", "3.11 ", "3.12 ", "3.13", "3.14 "]
2323 steps :
2424 - uses : actions/checkout@v4
2525 - name : Install uv
2626 uses : astral-sh/setup-uv@v3
27- - uses : actions/setup-python@v5
27+ - uses : actions/setup-python@v6
2828 with :
2929 python-version : ${{ matrix.python-version }}
3030 - uses : dtolnay/rust-toolchain@stable
@@ -34,15 +34,12 @@ jobs:
3434 uses : PyO3/maturin-action@v1
3535 with :
3636 target : x86_64
37- args : -i python --release --out dist --no-sdist
38- - name : Install build wheel - x86_64
39- run : |
40- uv pip install --force-reinstall dist/robyn*.whl
41- cd ~ && python -c 'import robyn'
37+ args : -i python --release --out dist
4238 - name : Build wheels - universal2
4339 uses : PyO3/maturin-action@v1
4440 with :
45- args : -i python --release --universal2 --out dist --no-sdist
41+ target : universal2-apple-darwin
42+ args : -i python --release --out dist
4643 - name : Install build wheel - universal2
4744 run : |
4845 uv pip install --force-reinstall dist/robyn*_universal2.whl
@@ -52,13 +49,13 @@ jobs:
5249 runs-on : windows-latest
5350 strategy :
5451 matrix :
55- python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 "]
52+ python-version : ["3.10 ", "3.11 ", "3.12 ", "3.13", "3.14 "]
5653 target : [x64, x86]
5754 steps :
5855 - uses : actions/checkout@v4
5956 - name : Install uv
6057 uses : astral-sh/setup-uv@v3
61- - uses : actions/setup-python@v5
58+ - uses : actions/setup-python@v6
6259 with :
6360 python-version : ${{ matrix.python-version }}
6461 architecture : ${{ matrix.target }}
6764 uses : PyO3/maturin-action@v1
6865 with :
6966 target : ${{ matrix.target }}
70- args : -i python --release --out dist --no-sdist
67+ args : -i python --release --out dist
7168 - name : Install build wheel
7269 shell : bash
7370 run : |
@@ -78,22 +75,22 @@ jobs:
7875 runs-on : ubuntu-latest
7976 strategy :
8077 matrix :
81- python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 "]
78+ python-version : ["3.10 ", "3.11 ", "3.12 ", "3.13", "3.14 "]
8279 target : [x86_64, i686]
8380 steps :
8481 - uses : actions/checkout@v4
8582 - uses : dtolnay/rust-toolchain@stable
8683 - name : Install uv
8784 uses : astral-sh/setup-uv@v3
88- - uses : actions/setup-python@v5
85+ - uses : actions/setup-python@v6
8986 with :
9087 python-version : ${{ matrix.python-version }}
9188 - name : Build Wheels
9289 uses : PyO3/maturin-action@v1
9390 with :
9491 target : ${{ matrix.target }}
9592 manylinux : auto
96- args : -i python${{ matrix.python-version }} --release --out dist --no-sdist
93+ args : -i python${{ matrix.python-version }} --release --out dist
9794 - name : Install build wheel
9895 if : matrix.target == 'x86_64'
9996 run : |
@@ -107,11 +104,11 @@ jobs:
107104 matrix :
108105 python :
109106 [
110- { version: "3.9", abi: "cp39-cp39" },
111107 { version: "3.10", abi: "cp310-cp310" },
112108 { version: "3.11", abi: "cp311-cp311" },
113109 { version: "3.12", abi: "cp312-cp312" },
114110 { version: "3.13", abi: "cp313-cp313" },
111+ { version: "3.14", abi: "cp314-cp314" },
115112 ]
116113 target : [aarch64, armv7]
117114 steps :
@@ -123,30 +120,26 @@ jobs:
123120 with :
124121 target : ${{ matrix.target }}
125122 manylinux : auto
126- args : -i python${{matrix.python.version}} --release --out dist --no-sdist
123+ args : -i python${{matrix.python.version}} --release --out dist
127124 - uses : uraimo/run-on-arch-action@v2
128125 name : Install build wheel
129126 with :
130127 arch : ${{ matrix.target }}
131- distro : ubuntu20 .04
128+ distro : ubuntu22 .04
132129 githubToken : ${{ github.token }}
133130 # Mount the dist directory as /artifacts in the container
134131 dockerRunArgs : |
135132 --volume "${PWD}/dist:/artifacts"
136133 install : |
137134 apt update -y
138- apt install -y gcc musl-dev python3-dev # this is needed for psutil
139- apt install -y --no-install-recommends software-properties-common
140- add-apt-repository ppa:deadsnakes/ppa
135+ apt install -y software-properties-common
136+ add-apt-repository -y ppa:deadsnakes/ppa
141137 apt update -y
142- PYTHON=python${{ matrix.python.version }}
143- apt install -y $PYTHON $PYTHON-venv
138+ apt install -y gcc musl-dev python3-dev python${{ matrix.python.version }} python${{ matrix.python.version }}-venv
144139 run : |
145140 ls -lrth /artifacts
146- PYTHON=python${{ matrix.python.version }}
147- $PYTHON --version
148- $PYTHON -m venv venv
141+ python${{ matrix.python.version }} -m venv venv
149142 source venv/bin/activate
150- pip install --upgrade pip setuptools wheel
151- pip install --force-reinstall dist /robyn*.whl
143+ python -m pip install --upgrade pip setuptools wheel
144+ python -m pip install --force-reinstall /artifacts /robyn*.whl
152145 cd ~ && python -c 'import robyn'
0 commit comments