Unverified Commit bf8ae3eb authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

python313Packages.executor: disable on python 313 (#390040)

parents 891876c1 a896fd01
Loading
Loading
Loading
Loading
+15 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
}