Unverified Commit ce3a4902 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #198858 from fabaff/tank-utility-fix

python310Packages.tank-utility: bypass detection of urllib3[secure]
parents 91b8f8d6 6b099837
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -24,6 +24,12 @@ buildPythonPackage rec {
    hash = "sha256-2cxAaSyreIzQzCUtiolEV7JbGFKL8Mob3337J0jlMsU=";
  };

  postPatch = ''
    # urllib3[secure] is not picked-up
    substituteInPlace setup.py \
      --replace "urllib3[secure]" "urllib3"
  '';

  propagatedBuildInputs = [
    requests
    urllib3
@@ -31,12 +37,11 @@ buildPythonPackage rec {
  ] ++ urllib3.optional-dependencies.secure;

  checkInputs = [
    responses
    mock
    pytestCheckHook
    responses
  ];


  pythonImportsCheck = [
    "tank_utility"
  ];