Skip to content

Commit 2cf7395

Browse files
committed
add python 3.8, 3.9
1 parent dc4083d commit 2cf7395

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,16 @@ jobs:
7575
- uses: actions/setup-python@v5
7676
## Software installed by default in GitHub Action Runner VMs:
7777
## https://github.com/actions/runner-images
78+
- if: ${{ matrix.os.family == 'macos' && matrix.os.archs == 'arm64' }}
79+
name: "[macOS/arm64] Install Python 3.8 (see: https://cibuildwheel.pypa.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64)"
80+
uses: actions/setup-python@v5
81+
with:
82+
python-version: 3.8
7883
- name: Build wheels
7984
uses: pypa/cibuildwheel@v2.21.1
8085
env:
8186
# * APIs not supported by PyPy
82-
# * Musllinux disabled because it increases build time from 48m to ~3h
87+
# * Musllinux disabled to save build time
8388
CIBW_SKIP: >
8489
pp*
8590
*musllinux*

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">🧪 Fault</h1>
22

33
<p align="center">
4-
<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Swift-5.8-orange?logo=swift" alt="Swift 5.8 or higher"/></a>
4+
<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Swift-5.6-orange?logo=swift" alt="Swift 5.6 or higher"/></a>
55
<a href="https://fault.readthedocs.io/en/latest/"><img src="https://readthedocs.org/projects/fault/badge" alt="Read the Docs"/></a>
66
<a href="https://nixos.org/"><img src="https://img.shields.io/static/v1?logo=nixos&logoColor=white&label=&message=Built%20with%20Nix&color=41439a"  
77
alt="Built with Nix"/></a>

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def custom_build(self, bext: build_ext):
6464
os.unlink(target)
6565
except FileNotFoundError:
6666
pass
67-
print(os.listdir(".build/release"))
6867
shutil.copy(os.path.join(".build", "release", "fault"), target)
6968

7069
class custom_build_ext(build_ext):
@@ -90,7 +89,7 @@ def build_extension(self, ext) -> None:
9089
"Operating System :: POSIX :: Linux",
9190
"Operating System :: MacOS :: MacOS X",
9291
],
93-
python_requires=">=3.10",
92+
python_requires=">=3.8",
9493
ext_modules=[fault_exe()],
9594
cmdclass={
9695
"build_ext": custom_build_ext,

0 commit comments

Comments
 (0)