Unverified Commit 38f95dac authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.python-utils: 3.8.2 -> 3.9.0 (#344351)

parents af572513 1351ea87
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  loguru,
  pytest-asyncio,
  pytestCheckHook,
@@ -11,8 +12,8 @@

buildPythonPackage rec {
  pname = "python-utils";
  version = "3.8.2";
  format = "setuptools";
  version = "3.9.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -20,7 +21,7 @@ buildPythonPackage rec {
    owner = "WoLpH";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-2scWyj0Fz39Thu0T0+UirT+he6tPYKGsvmYzzpD+/ls=";
    hash = "sha256-ZmCT41VMz8BkIqF8Od5PqteyXToA4xASs0qCPD0cNc8=";
  };

  postPatch = ''
@@ -29,16 +30,18 @@ buildPythonPackage rec {
      -e '/--mypy/d'
  '';

  propagatedBuildInputs = [ typing-extensions ];
  build-system = [ setuptools ];

  passthru.optional-dependencies = {
  dependencies = [ typing-extensions ];

  optional-dependencies = {
    loguru = [ loguru ];
  };

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ] ++ passthru.optional-dependencies.loguru;
  ] ++ optional-dependencies.loguru;

  pythonImportsCheck = [ "python_utils" ];