Skip to content

Commit f7fecf6

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 f7fecf6

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.github/workflows/build-macos.yml

Lines changed: 14 additions & 5 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,24 +26,27 @@ 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
2735
- name: Set up Python
2836
uses: actions/setup-python@v4
2937
with:
3038
python-version: ${{ matrix.python-version }}
31-
# architecture: x64
3239
- name: Build wheel
3340
env:
3441
LZO_DIR: ./lzo-2.10
3542
run: |
3643
python -m pip install -U pip wheel build
3744
python -m build
45+
ls -l dist
3846
- name: Upload artifact
3947
uses: actions/upload-artifact@v4
4048
with:
4149
name: wheels
4250
path: dist
51+
overwrite: true
4352
if-no-files-found: error

.github/workflows/build-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: |
4545
python -m pip install -U pip wheel build
4646
python -m build
47+
ls -l dist
4748
- name: Upload artifact
4849
uses: actions/upload-artifact@v4
4950
with:

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 = "[email protected]"},
1616
]

0 commit comments

Comments
 (0)