Skip to content

Commit 54799c7

Browse files
committed
Up pyproject python required version to 3.8
Add a debug line to the macos static lib build.
1 parent 6a4d78d commit 54799c7

2 files changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ on:
55

66
jobs:
77
build-macos:
8-
runs-on: macos-14
8+
runs-on: macos-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
11+
python-version:
12+
- "3.8"
13+
# - "3.9"
14+
# - "3.10"
15+
# - "3.11"
16+
# - "3.12"
17+
- "3.13"
1218
name: ${{ matrix.python-version }}
1319
steps:
1420
- name: Checkout repo
@@ -20,10 +26,14 @@ jobs:
2026
run: |
2127
mkdir build
2228
cd build
23-
cmake ..
29+
cmake -DCMAKE_INSTALL_PREFIX=.. ..
2430
- name: Build lzo static lib
2531
working-directory: ./lzo-2.10/build
26-
run: make
32+
run: |
33+
make
34+
make install
35+
pwd
36+
find ../ -name "*lzo2*"
2737
- name: Set up Python
2838
uses: actions/setup-python@v4
2939
with:
@@ -35,9 +45,12 @@ jobs:
3545
run: |
3646
python -m pip install -U pip wheel build
3747
python -m build
48+
ls -l dist
49+
ls -l wheels
3850
- name: Upload artifact
3951
uses: actions/upload-artifact@v4
4052
with:
4153
name: wheels
4254
path: dist
55+
overwrite: true
4356
if-no-files-found: error

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "python-lzo"
1010
version = "1.16"
1111
description = "Python bindings for the LZO data compression library"
1212
readme = "README.md"
13-
requires-python = ">=2.6"
13+
requires-python = ">=3.8"
1414
authors = [
1515
{name = "Markus F.X.J. Oberhumer", email = "markus@oberhumer.com"},
1616
]

0 commit comments

Comments
 (0)