python313Packages.executor: disable on python 313

This commit is contained in:
wxt
2025-03-15 15:07:08 +08:00
parent bf5ace0220
commit a896fd0151
@@ -2,7 +2,9 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
isPy27,
pythonAtLeast,
coloredlogs,
humanfriendly,
property-manager,
@@ -16,17 +18,22 @@
buildPythonPackage rec {
pname = "executor";
version = "23.2";
format = "setuptools";
disabled = isPy27;
# pipes is removed in python 3.13
disabled = isPy27 || pythonAtLeast "3.13";
src = fetchFromGitHub {
owner = "xolox";
repo = "python-executor";
rev = version;
sha256 = "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs";
tag = version;
hash = "sha256-Gjv+sUtnP11cM8GMGkFzXHVx0c2XXSU56L/QwoQxINc=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
coloredlogs
humanfriendly
property-manager
@@ -51,12 +58,12 @@ buildPythonPackage rec {
"release" # meant to be ran on ubuntu to succeed
];
meta = with lib; {
meta = {
changelog = "https://github.com/xolox/python-executor/blob/${version}/CHANGELOG.rst";
description = "Programmer friendly subprocess wrapper";
mainProgram = "executor";
homepage = "https://github.com/xolox/python-executor";
license = licenses.mit;
maintainers = with maintainers; [ eyjhb ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eyjhb ];
};
}