Skip to content

Commit 524b4bf

Browse files
authored
Update action to build wheels (#33)
* update CI to build wheels * update minimum python version to 3.9 * add python 3.12 and 3.13 to wheels
1 parent adc8191 commit 524b4bf

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,10 @@ jobs:
1414
os: [ubuntu-latest, windows-latest, macos-latest]
1515

1616
steps:
17-
- uses: actions/checkout@v3
18-
- name: Set up Python
19-
uses: actions/setup-python@v5
20-
21-
- name: Install dependencies
22-
run: python -m pip install numpy==2.0.1
23-
24-
- name: Install cibuildwheel
25-
run: python -m pip install cibuildwheel==2.19.2
17+
- uses: actions/checkout@v4
2618

2719
- name: Build wheels
28-
run: python -m cibuildwheel --output-dir wheelhouse
20+
uses: pypa/cibuildwheel@v2.21.3
2921

3022
- uses: actions/upload-artifact@v3
3123
with:

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dependencies:
77
- cxx-compiler
88
- python=3.12
99
- python-devtools=0.9.0
10+
- numpy==2.0.1
1011
- pip
1112
- pip:
1213
- meson==1.5.1

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = 'gomea'
77
version = '1.0.5'
88
description = 'Library for the use of various variants of the Gene-pool Optimal Mixing Evolutionary Algorithm (GOMEA).'
99
readme = 'README.md'
10-
requires-python = '>=3.8'
10+
requires-python = '>=3.9'
1111
license = {file = 'LICENSE'}
1212
authors = [
1313
{name = 'Anton Bouter', email = 'Anton.Bouter@cwi.nl'},
@@ -16,13 +16,13 @@ url = 'https://github.com/abouter/gomea'
1616
dependencies = ['numpy>=1.23.0','tqdm>=4.65.0']
1717

1818
[tool.cibuildwheel.linux]
19-
build = ["cp38-*manylinux*", "cp39-*manylinux*", "cp310-*manylinux*", "cp311-*manylinux*"]
19+
build = ["cp39-*manylinux*", "cp310-*manylinux*", "cp311-*manylinux*", "cp312-*manylinux*", "cp313-*manylinux*"]
2020
archs = ["auto64"]
2121

2222
[tool.cibuildwheel.macos]
23-
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*"]
23+
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
2424
archs = ["auto64"]
2525

2626
[tool.cibuildwheel.windows]
27-
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*"]
27+
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
2828
archs = ["auto64"]

0 commit comments

Comments
 (0)