Skip to content

Commit 272ea1f

Browse files
committed
Python version building
1 parent b2af23a commit 272ea1f

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/publish-to-testpypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest]
16+
pyversion: : [ '9', '10', '11', 12 ]
1617
steps:
1718
- name: Checkout (with submodules)
1819
uses: actions/checkout@v4
@@ -43,16 +44,16 @@ jobs:
4344
- name: Set up Python
4445
uses: actions/setup-python@v5
4546
with:
46-
python-version: '3.11'
4747

48+
python-version: '3.${{ matrix.pyversion }}'
4849
- name: Install cibuildwheel
4950
run: |
5051
python -m pip install --upgrade pip
5152
python -m pip install cibuildwheel==2.21.3
5253
5354
- name: Build wheels
5455
env:
55-
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
56+
CIBW_BUILD: "cp3${{ matrix.pyversion }}-*"
5657
CIBW_SKIP: "*-musllinux* pp*"
5758
CIBW_ARCHS_LINUX: "x86_64"
5859
CIBW_ARCHS_MACOS: "arm64"

.github/workflows/pyalp-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.11'
22+
python-version: '3.12'
2323

2424
- name: Install system build deps
2525
run: |

pyalp/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ set(PYTHON_VERSION ${PYTHON_VERSION_STRING})
231231
set(pybind11_VERSION ${pybind11_VERSION})
232232

233233
# This is a simplified list. A more robust solution would inspect the build targets.
234-
set(pyalp_ALGORITHMS "conjugate_gradient simulated_annealing_replica_exchange")
234+
set(pyalp_ALGORITHMS "conjugate_gradient, SARE_Ising, SARE_QUBO")
235235
set(pyalp_BACKENDS "reference, reference_omp")
236236

237237
# Configure the metadata file from the template

0 commit comments

Comments
 (0)