Skip to content

Commit 2653d19

Browse files
committed
Drop Python 3.7 and 3.8
1 parent 31b17c0 commit 2653d19

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ jobs:
1919
matrix:
2020
os: ["ubuntu-22.04", "ubuntu-24.04"]
2121
python: [
22-
"3.7",
23-
"3.8",
2422
"3.9",
2523
"3.10",
2624
"3.11",
@@ -30,8 +28,6 @@ jobs:
3028
exclude:
3129
- os: "ubuntu-22.04"
3230
python: "3.13"
33-
- os: "ubuntu-24.04"
34-
python: "3.7"
3531
runs-on: ${{ matrix.os }}
3632
concurrency:
3733
group: ${{ github.workflow }}-${{ matrix.python }}-${{ matrix.os }}-${{ github.ref }}
@@ -53,19 +49,12 @@ jobs:
5349
sudo apt -y install gcc libsystemd-dev
5450
python -m pip install -U --break-system-packages pip build
5551
56-
- name: Install Sphinx (old pip)
57-
if: ${{ matrix.python == '3.7' || matrix.python == '3.8' }}
58-
run: python -m pip install sphinx
59-
60-
- name: Install Sphinx (new pip)
61-
if: ${{ matrix.python != '3.7' && matrix.python != '3.8' }}
62-
run: python -m pip install --group docs
63-
6452
# Note: The `pip install --group` is available on pip v25+
6553
- name: Build (Python ${{ matrix.python }})
6654
run: |
6755
set -x
6856
python -m build -Cbuild-dir=build
57+
python -m pip install --group docs
6958
python -m pip install .
7059
cd build
7160
python -m sphinx -b html -W -v ../docs html

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ classifiers = [
1515
"Operating System :: POSIX :: Linux",
1616
"Programming Language :: C",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
19-
"Programming Language :: Python :: 3.8",
2018
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
@@ -27,7 +25,7 @@ classifiers = [
2725
"Topic :: System :: Systems Administration",
2826
]
2927
keywords = ["systemd", "journal", "logging", "daemon"]
30-
requires-python = ">=3.7"
28+
requires-python = ">=3.9"
3129
dependencies = []
3230

3331
[project.urls]
@@ -45,7 +43,7 @@ build = [
4543
]
4644

4745
[build-system]
48-
requires = ["meson-python", "ninja", "meson"]
46+
requires = ["meson-python"]
4947
build-backend = "mesonpy"
5048

5149
[tool.coverage.run]

0 commit comments

Comments
 (0)