Skip to content

Commit c5fc418

Browse files
authored
Merge pull request #52 from LeanderCS/47
47 | Added musllinux_aarch64 to wheels
2 parents f0b7265 + 009d8b7 commit c5fc418

File tree

4 files changed

+44
-8
lines changed

4 files changed

+44
-8
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
name: pkg-${{ matrix.os }}-${{ strategy.job-index }}
4040
path: ./dist/*.whl
4141

42-
build-whl-linux-aarch64:
42+
build-whl-manylinux-aarch64:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- uses: actions/checkout@v4
@@ -55,17 +55,46 @@ jobs:
5555
- name: Install build tools
5656
run: python -m pip install cibuildwheel
5757

58-
- name: Build wheel (linux-aarch64)
58+
- name: Build wheel (manylinux-aarch64)
5959
env:
6060
CIBW_BUILD: "cp37-manylinux_aarch64 cp38-manylinux_aarch64 cp39-manylinux_aarch64 cp310-manylinux_aarch64 cp311-manylinux_aarch64 cp312-manylinux_aarch64 cp313-manylinux_aarch64 cp314-manylinux_aarch64"
6161
CIBW_ARCHS: "aarch64"
6262
CIBW_PRERELEASE_PYTHONS: "1"
6363
run: python -m cibuildwheel --output-dir dist
6464

65-
- name: Upload wheels (linux-aarch64)
65+
- name: Upload wheels (manylinux-aarch64)
6666
uses: actions/upload-artifact@v4
6767
with:
68-
name: pkg-linux-aarch64
68+
name: pkg-manylinux-aarch64
69+
path: ./dist/*.whl
70+
71+
build-whl-musllinux-aarch64:
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v4
75+
76+
- uses: docker/setup-qemu-action@v3
77+
with:
78+
platforms: all
79+
80+
- uses: actions/setup-python@v5
81+
with:
82+
python-version: 3.11
83+
84+
- name: Install build tools
85+
run: python -m pip install cibuildwheel
86+
87+
- name: Build wheel (musllinux-aarch64)
88+
env:
89+
CIBW_BUILD: "cp37-musllinux_aarch64 cp38-musllinux_aarch64 cp39-musllinux_aarch64 cp310-musllinux_aarch64 cp311-musllinux_aarch64 cp312-musllinux_aarch64 cp313-musllinux_aarch64 cp314-musllinux_aarch64"
90+
CIBW_ARCHS: "aarch64"
91+
CIBW_PRERELEASE_PYTHONS: "1"
92+
run: python -m cibuildwheel --output-dir dist
93+
94+
- name: Upload wheels (musllinux-aarch64)
95+
uses: actions/upload-artifact@v4
96+
with:
97+
name: pkg-musllinux-aarch64
6998
path: ./dist/*.whl
7099

71100
build-sdist:
@@ -91,7 +120,7 @@ jobs:
91120
path: ./dist/*.tar.gz
92121

93122
publish:
94-
needs: [build-whl, build-whl-linux-aarch64, build-sdist]
123+
needs: [build-whl, build-whl-manylinux-aarch64, build-whl-musllinux-aarch64, build-sdist]
95124
runs-on: ubuntu-latest
96125

97126
environment:

docs/source/changelog.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
All notable changes to this project will be documented in this file.
55

6+
[0.5.1] - 2025-04-26
7+
--------------------
8+
9+
Added
10+
^^^^^
11+
- Added .whl for musllinux_aarch64 to the release process.
12+
13+
614
[0.5.0] - 2025-04-26
715
--------------------
816

@@ -28,7 +36,6 @@ Changed
2836
``from flask_inputfilter.filters.base64_image_resize_filter import Base64ImageResizeFilter``.
2937

3038

31-
3239
[0.4.3a1] - 2025-04-26
3340
----------------------
3441

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project = "flask-inputfilter"
22
copyright = "2025, Leander Cain Slotosch"
33
author = "Leander Cain Slotosch"
4-
release = "0.5.0"
4+
release = "0.5.1"
55

66
extensions = ["sphinx_rtd_theme", "sphinx_design"]
77

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "flask_inputfilter"
7-
version = "0.5.0"
7+
version = "0.5.1"
88
description = "A library to easily filter and validate input data in Flask applications"
99
readme = "README.rst"
1010
requires-python = ">=3.7"

0 commit comments

Comments
 (0)