Skip to content

Commit 59c0a85

Browse files
authored
Another attempt at fixing the mac os wheel builds (#213)
* clean up old code: remove macos14 builds, keep latest * bump changelog
1 parent 54f7661 commit 59c0a85

File tree

3 files changed

+14
-18
lines changed

3 files changed

+14
-18
lines changed
Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Build
2-
32
on:
43
push:
54
pull_request:
65
workflow_dispatch:
76
release:
87
types: [published]
9-
108
jobs:
119
build_wheels:
1210
name: Build wheels on ${{ matrix.os }}
@@ -18,18 +16,15 @@ jobs:
1816
ubuntu-latest,
1917
ubuntu-24.04-arm,
2018
windows-latest,
21-
macos-13,
22-
macos-14,
23-
macos-latest,
19+
macos-13, # intel x86_64
20+
# macos-14,
21+
macos-latest, # arm 64
2422
]
25-
2623
steps:
2724
- uses: actions/checkout@v5
28-
2925
- name: Clone robinhood
3026
run: |
3127
git clone https://github.com/martinus/robin-hood-hashing robinhood
32-
3328
- name: Build wheels
3429
uses: pypa/[email protected]
3530
env:
@@ -38,30 +33,26 @@ jobs:
3833
CIBW_TEST_REQUIRES: pytest
3934
CIBW_TEST_COMMAND: "pytest {project}/tests"
4035
CIBW_TEST_SKIP: "*win32 *musllinux* cp314t-*"
41-
4236
- uses: actions/upload-artifact@v5
4337
with:
4438
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
4539
path: ./wheelhouse/*.whl
46-
40+
4741
build_sdist:
4842
name: Build source distribution
4943
runs-on: ubuntu-latest
5044
steps:
5145
- uses: actions/checkout@v5
52-
5346
- name: Clone robinhood
5447
run: |
5548
git clone https://github.com/martinus/robin-hood-hashing robinhood
56-
5749
- name: Build sdist
5850
run: pipx run build --sdist
59-
6051
- uses: actions/upload-artifact@v5
6152
with:
6253
name: cibw-sdist
6354
path: dist/*.tar.gz
64-
55+
6556
upload_pypi:
6657
name: Upload release to PyPI
6758
needs: [build_wheels, build_sdist]
@@ -71,13 +62,12 @@ jobs:
7162
url: https://pypi.org/p/ripser
7263
permissions:
7364
id-token: write
65+
# Only run on actual releases
7466
if: github.event_name == 'release' && github.event.action == 'published'
7567
steps:
7668
- uses: actions/download-artifact@v5
7769
with:
78-
# unpacks all CIBW artifacts into dist/
7970
pattern: cibw-*
8071
path: dist
8172
merge-multiple: true
82-
83-
- uses: pypa/gh-action-pypi-publish@release/v1
73+
- uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.6.14] - 2025-12-07
9+
10+
### Fixed
11+
12+
- CI changes to include macos wheels and fixing broken wheels. No code changes.
13+
814
## [0.6.13] - 2025-11-26
915

1016
### Fixed

src/ripser/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.6.13"
1+
__version__ = "0.6.14"

0 commit comments

Comments
 (0)