Commit a5d727ed authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by Anderson Torres
Browse files

retool: use pythonRelaxDepsHook

parent 54bc9b45
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -19,17 +19,18 @@ python3.pkgs.buildPythonApplication {
    hash = "sha256-6y/7RR7O2xYKXdxaFtkRfnSlwygp/LRDUozUJo6ue7s=";
  };

  patches = [
    # pythonRelaxDepsHook will not work in this package until
    # https://github.com/NixOS/nixpkgs/pull/248516 hits master
    ./relax_deps.patch
  ];

  nativeBuildInputs = with python3.pkgs; [
    poetry-core
    pythonRelaxDepsHook
    qt6.wrapQtAppsHook
  ];

  pythonRelaxDeps = true;

  # ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none)
  # ERROR: No matching distribution found for PySide6
  pythonRemoveDeps = [ "PySide6" ];

  buildInputs = [
    qt6.qtbase
  ] ++
+0 −25
Original line number Diff line number Diff line
diff --git a/pyproject.toml b/pyproject.toml
index 6e62347..34600a0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -13,12 +13,14 @@ packages = [
 
 [tool.poetry.dependencies]
 python = ">=3.10,<3.12"
-strictyaml = "^1.6.2"
-lxml = "^4.9.2"
-PySide6 = "^6.4.2"
-validators = "^0.20.0"
-alive-progress = "^3.0.1"
-psutil = "^5.9.4"
+strictyaml = "*"
+lxml = "*"
+# ERROR: Could not find a version that satisfies the requirement PySide6 (from retool) (from versions: none)
+# ERROR: No matching distribution found for PySide6
+# PySide6 = "*"
+validators = "*"
+alive-progress = "*"
+psutil = "*"
 
 [tool.poetry.scripts]
 retool = "retool:main"