Unverified Commit 8ea6bde8 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

treewide: prune pythonOlder 3.10/3.11

This is a post 3.10 removal cleanup.
parent 77ca0804
Loading
Loading
Loading
Loading
+20 −24
Original line number Diff line number Diff line
@@ -8,9 +8,7 @@
let
  version = "3.2.2";

  dependencies =
    with python3.pkgs;
    [
  dependencies = with python3.pkgs; [
    pyembroidery
    inkex
    wxpython
@@ -29,9 +27,7 @@ let
    scipy
    diskcache
    flask-cors
    ]
    # Inkstitch uses the builtin tomllib instead when Python >=3.11
    ++ lib.optional (pythonOlder "3.11") tomli;
  ];
  pyEnv = python3.withPackages (_: dependencies);
in
python3.pkgs.buildPythonApplication {
+0 −2
Original line number Diff line number Diff line
@@ -10,8 +10,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  version = "9.0.1";
  pyproject = true;

  disabled = python3.pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "languitar";
    repo = "autosuspend";
+6 −9
Original line number Diff line number Diff line
@@ -28,15 +28,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
    pytest7CheckHook
  ];

  dependencies =
    with python3Packages;
    [
  dependencies = with python3Packages; [
    click
    cookiecutter
    gitpython
    typer
    ]
    ++ lib.optional (pythonOlder "3.11") python3Packages.toml;
  ];

  pythonImportsCheck = "cruft";

+6 −11
Original line number Diff line number Diff line
@@ -35,17 +35,12 @@ python3Packages.buildPythonPackage (finalAttrs: {
      --replace-fail "hatch-vcs==0.4.0" "hatch-vcs>=0.4.0"
  '';

  dependencies =
    with python3Packages;
    (
      [
  dependencies = with python3Packages; [
    colorlog
    jinja2
    lxml
    pygments
      ]
      ++ lib.optionals (pythonOlder "3.11") [ tomli ]
    );
  ];

  pythonImportsCheck = [
    "gcovr"
+0 −2
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
  version = "0.1.12";
  pyproject = true;

  disabled = python3Packages.pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "ratoaq2";
    repo = "pgsrip";
Loading