Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ statistics = false

[project]
name = "systemdlint"
requires-python = ">= 3.9"
requires-python = ">= 3.10"
version = "1.4.0"
description = "Systemd Unitfile Linter"
readme = "README.md"
Expand All @@ -60,7 +60,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
Expand Down
6 changes: 3 additions & 3 deletions tests/test
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import os
import re
import subprocess
import sys
from multiprocessing import Pool
from multiprocessing import cpu_count
import multiprocessing

_basepath = os.path.dirname(os.path.abspath(__file__))
_bindir = os.path.abspath(os.path.join(_basepath, "..", "bin"))
Expand Down Expand Up @@ -89,7 +88,8 @@ for _file in glob.glob(_basepath + "/**/*", recursive=True):
_files.append(_file)

# Run in pool
p = Pool(processes=cpu_count() * 10)
ctx = multiprocessing.get_context('fork')
p = ctx.Pool(processes=multiprocessing.cpu_count() * 10)
_map = p.map(run_tc, _files)

if not all([x for x in _map]):
Expand Down