Skip to content

Commit d4712af

Browse files
Merge pull request #1382 from cnheitman/update/update-ci-python
Update Python versions
2 parents cd7da95 + 8d6e4a4 commit d4712af

File tree

5 files changed

+14
-35
lines changed

5 files changed

+14
-35
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.9]
10+
python-version: [3.11]
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
10+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1111
boost-interface: ['ON', 'OFF']
1212
capstone-version: ['5.0.3']
1313
steps:

.github/workflows/osx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: macos-14
1010
strategy:
1111
matrix:
12-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
12+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4

.github/workflows/python.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,57 +29,47 @@ jobs:
2929
--volume ${{env.LLVM_PATH}}:/llvm \
3030
build-triton-linux-x86_64 bash /src/src/scripts/docker/build-wheel-linux.sh
3131
32-
- name: Upload Wheel packages (Python 3.8)
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: triton_library-${{ env.package-version }}-cp38-cp38-manylinux_2_31_x86_64.whl
36-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp38-cp38-manylinux_2_31_x86_64.whl
37-
if-no-files-found: warn
38-
3932
- name: Upload Wheel packages (Python 3.9)
4033
uses: actions/upload-artifact@v4
4134
with:
42-
name: triton_library-${{ env.package-version }}-cp39-cp39-manylinux_2_31_x86_64.whl
43-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp39-cp39-manylinux_2_31_x86_64.whl
35+
name: triton_library-${{ env.package-version }}-cp39-cp39-manylinux_2_34_x86_64.whl
36+
path: wheelhouse/manylinux_2_34_x86_64/triton_library-${{ env.package-version }}-cp39-cp39-manylinux_2_34_x86_64.whl
4437
if-no-files-found: warn
4538

4639
- name: Upload Wheel packages (Python 3.10)
4740
uses: actions/upload-artifact@v4
4841
with:
49-
name: triton_library-${{ env.package-version }}-cp310-cp310-manylinux_2_31_x86_64.whl
50-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp310-cp310-manylinux_2_31_x86_64.whl
42+
name: triton_library-${{ env.package-version }}-cp310-cp310-manylinux_2_34_x86_64.whl
43+
path: wheelhouse/manylinux_2_34_x86_64/triton_library-${{ env.package-version }}-cp310-cp310-manylinux_2_34_x86_64.whl
5144
if-no-files-found: warn
5245

5346
- name: Upload Wheel packages (Python 3.11)
5447
uses: actions/upload-artifact@v4
5548
with:
56-
name: triton_library-${{ env.package-version }}-cp311-cp311-manylinux_2_31_x86_64.whl
57-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp311-cp311-manylinux_2_31_x86_64.whl
49+
name: triton_library-${{ env.package-version }}-cp311-cp311-manylinux_2_34_x86_64.whl
50+
path: wheelhouse/manylinux_2_34_x86_64/triton_library-${{ env.package-version }}-cp311-cp311-manylinux_2_34_x86_64.whl
5851
if-no-files-found: warn
5952

6053
- name: Upload Wheel packages (Python 3.12)
6154
uses: actions/upload-artifact@v4
6255
with:
63-
name: triton_library-${{ env.package-version }}-cp312-cp312-manylinux_2_31_x86_64.whl
64-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp312-cp312-manylinux_2_31_x86_64.whl
56+
name: triton_library-${{ env.package-version }}-cp312-cp312-manylinux_2_34_x86_64.whl
57+
path: wheelhouse/manylinux_2_34_x86_64/triton_library-${{ env.package-version }}-cp312-cp312-manylinux_2_34_x86_64.whl
6558
if-no-files-found: warn
6659

6760
- name: Upload Wheel packages (Python 3.13)
6861
uses: actions/upload-artifact@v4
6962
with:
70-
name: triton_library-${{ env.package-version }}-cp313-cp313-manylinux_2_31_x86_64.whl
71-
path: wheelhouse/manylinux_2_31_x86_64/triton_library-${{ env.package-version }}-cp313-cp313-manylinux_2_31_x86_64.whl
63+
name: triton_library-${{ env.package-version }}-cp313-cp313-manylinux_2_34_x86_64.whl
64+
path: wheelhouse/manylinux_2_34_x86_64/triton_library-${{ env.package-version }}-cp313-cp313-manylinux_2_34_x86_64.whl
7265
if-no-files-found: warn
7366

7467
build-windows:
7568
runs-on: windows-latest
7669
strategy:
7770
matrix:
78-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
71+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7972
include:
80-
- python-version: 3.8
81-
pycp: cp38-cp38
82-
pylib: python38.lib
8373
- python-version: 3.9
8474
pycp: cp39-cp39
8575
pylib: python39.lib

src/scripts/docker/build-wheel-linux.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,6 @@ export BITWUZLA_LIBRARIES=$DEPENDENCIES_DIR/bitwuzla/install/lib64/libbitwuzla.s
3939
export LLVM_INTERFACE=ON
4040
export CMAKE_PREFIX_PATH=$LLVM_DIR
4141

42-
# Build Triton Python wheel package for Python 3.8.
43-
echo "[+] Build Triton wheel package for Python 3.8"
44-
cd $SOURCE_DIR
45-
rm -rf $SOURCE_DIR/build
46-
rm -rf $SOURCE_DIR/triton_library.egg-info
47-
export PYTHON_BINARY=/opt/_internal/cpython-3.8.*/bin/python
48-
export PYTHON_INCLUDE_DIRS=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])")
49-
export PYTHON_LIBRARY=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])")
50-
51-
$PYTHON_BINARY -m build --wheel --outdir $WHEEL_DIR/linux_x86_64
52-
5342
# Build Triton Python wheel package for Python 3.9.
5443
echo "[+] Build Triton wheel package for Python 3.9"
5544
cd $SOURCE_DIR

0 commit comments

Comments
 (0)