From 66a5c1951e1bbd0f31628790a6d3d5dafe103d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jun 2026 08:54:27 +0200 Subject: [PATCH 1/3] Makefile: update upload target This might now work because pypi changes its rules, but at least update to modern names of the commands for now. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6c88031..f107112 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,8 @@ www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/p doc-sync: rsync -rlv --delete --omit-dir-times $(BUILD_DIR)/html/ $(www_target)/ -upload: dist/systemd-python-$(VERSION).tar.gz dist/systemd-python-$(VERSION).tar.gz.asc - twine-3 upload $+ +upload: dist/systemd_python-$(VERSION).tar.gz + twine upload $+ TAGS: $(shell git ls-files systemd/*.[ch]) $(ETAGS) $+ From e9bf5e5e0ee0522d6aa7f595eb3c9328ef0b1a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jun 2026 11:23:45 +0200 Subject: [PATCH 2/3] pyproject: declare the license file This helps to get it installed. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f80df6f..9f4e5eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,8 @@ name = "systemd-python" dynamic = ["version"] description = "Python interface for libsystemd" readme = "README.md" -license = { text = "LGPL-2.1-or-later" } +license = "LGPL-2.1-or-later" +license-files = [ "LICENSE.txt" ] authors = [{ email = "david@davidstrauss.net" }] maintainers = [ { name = "systemd developers", email = "systemd-devel@lists.freedesktop.org" }, @@ -13,7 +14,6 @@ maintainers = [ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: POSIX :: Linux", "Programming Language :: C", "Programming Language :: Python :: 3", From 6c08dd474c5ecba59af90eb09e11168f0c4192ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 19 Jun 2026 11:26:15 +0200 Subject: [PATCH 3/3] pyproject: add support for Python 3.14 --- .github/workflows/build.yml | 7 ++++++- pyproject.toml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2dbc347..4a4e645 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,17 +17,22 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-22.04", "ubuntu-24.04"] + os: ["ubuntu-22.04", "ubuntu-24.04", "ubuntu-26.04"] python: [ "3.9", "3.10", "3.11", "3.12", "3.13", + "3.14", ] exclude: - os: "ubuntu-22.04" python: "3.13" + - os: "ubuntu-22.04" + python: "3.14" + - os: "ubuntu-26.04" + python: "3.9" runs-on: ${{ matrix.os }} concurrency: group: ${{ github.workflow }}-${{ matrix.python }}-${{ matrix.os }}-${{ github.ref }} diff --git a/pyproject.toml b/pyproject.toml index f80df6f..29c2a64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Logging", "Topic :: System :: Systems Administration",