Skip to content

Commit 0400f72

Browse files
committed
Detail resolver CI packaging fix
1 parent cbf7db2 commit 0400f72

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/resolver.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
python-version: "3.13"
4949

50+
- name: Install Python packaging tools
51+
run: python -m pip install -U pip build
52+
5053
- name: Setup uv
5154
uses: astral-sh/setup-uv@v6
5255

NEWS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
Python wrappers for libsystemd API
22

3+
CHANGES WITH 236:
4+
5+
* Meson setup was adjusted to avoid hard failing when
6+
libsystemd development files are not available. On
7+
unsupported/non-Linux environments, extension modules are
8+
skipped, which allows metadata generation, source
9+
distribution builds, and dependency lock resolution in
10+
cross-platform environments.
11+
12+
* Build logs now include a clear warning when libsystemd
13+
development files are missing and native extension modules
14+
are skipped.
15+
316
CHANGES WITH 235:
417

518
* Adapt the rename of systemd-activate to systemd-socket-activate

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ The project is also available on pypi as `systemd-python`:
4141
To build from source
4242
--------------------
4343

44+
Metadata generation and dependency resolution (for example `uv lock`,
45+
Poetry, and pip-tools) do not require native `libsystemd` development files.
46+
Those native dependencies are only required when building/installing extension
47+
modules from source.
48+
4449
On CentOS, RHEL, and Fedora:
4550

4651
dnf install git python3-pip gcc python3-devel systemd-devel

0 commit comments

Comments
 (0)