From b666a8f8f11a676b633ef6023aeaa99ab6b29017 Mon Sep 17 00:00:00 2001 From: phlax Date: Fri, 11 Oct 2024 22:43:25 +0100 Subject: [PATCH] `aio.core`: Fix subproc input type (#2337) Signed-off-by: Ryan Northey --- aio.core/VERSION | 2 +- aio.core/aio/core/subprocess/handler.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aio.core/VERSION b/aio.core/VERSION index c59edb427..9028ec636 100644 --- a/aio.core/VERSION +++ b/aio.core/VERSION @@ -1 +1 @@ -0.10.5-dev +0.10.5 diff --git a/aio.core/aio/core/subprocess/handler.py b/aio.core/aio/core/subprocess/handler.py index 46d805bdf..f12879516 100644 --- a/aio.core/aio/core/subprocess/handler.py +++ b/aio.core/aio/core/subprocess/handler.py @@ -1,6 +1,7 @@ import abc import logging +import os import subprocess from functools import cached_property from typing import Any, Mapping, Sequence @@ -87,7 +88,7 @@ class ASubprocessHandler( def __init__( self, - path: str, + path: str | os.PathLike, *args: str, encoding: str = "utf-8", **kwargs) -> None: