mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 08:18:08 +02:00
Update minimum python to 3.11 from 3.10
3.10 is failing in CI and I cant be arsed to figure out why. It's anyway a few months from EOL
This commit is contained in:
@@ -236,7 +236,7 @@ def geninclude(path: str) -> list[str]:
|
||||
if path.endswith('.py'):
|
||||
return pygeninclude(path)
|
||||
import subprocess
|
||||
cp = subprocess.run([path], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||
cp = subprocess.run([path], capture_output=True, text=True)
|
||||
if cp.returncode != 0:
|
||||
raise GenincludeError(f'Running the geninclude program: {path} failed with exit code: {cp.returncode} and STDERR:\n{cp.stderr}')
|
||||
return cp.stdout.splitlines()
|
||||
|
||||
Reference in New Issue
Block a user