Loading pkgs/development/python-modules/oci/default.nix +13 −10 Original line number Diff line number Diff line Loading @@ -7,23 +7,33 @@ , pyopenssl , python-dateutil , pythonOlder , pythonRelaxDepsHook , pytz }: buildPythonPackage rec { pname = "oci"; version = "2.92.0"; version = "2.93.0"; format = "setuptools"; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "oracle"; repo = "oci-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-evxY/1MhSCZOTjhH/2tI5amnZpd+fCdSdFBD4W9uZ+c="; hash = "sha256-yH9SCrTASP+O9VLVs6tliteCOWi+Pc7nDOgiboHQE4s="; }; pythonRelaxDeps = [ "cryptography" "pyOpenSSL" ]; nativeBuildInputs = [ pythonRelaxDepsHook ]; propagatedBuildInputs = [ certifi circuitbreaker Loading @@ -33,13 +43,6 @@ buildPythonPackage rec { pytz ]; postPatch = '' substituteInPlace setup.py \ --replace "configparser==4.0.2 ; python_version < '3'" "" \ --replace "cryptography>=3.2.1,<=37.0.2" "cryptography" \ --replace "pyOpenSSL>=17.5.0,<=22.0.0" "pyOpenSSL" ''; # Tests fail: https://github.com/oracle/oci-python-sdk/issues/164 doCheck = false; Loading Loading
pkgs/development/python-modules/oci/default.nix +13 −10 Original line number Diff line number Diff line Loading @@ -7,23 +7,33 @@ , pyopenssl , python-dateutil , pythonOlder , pythonRelaxDepsHook , pytz }: buildPythonPackage rec { pname = "oci"; version = "2.92.0"; version = "2.93.0"; format = "setuptools"; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "oracle"; repo = "oci-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-evxY/1MhSCZOTjhH/2tI5amnZpd+fCdSdFBD4W9uZ+c="; hash = "sha256-yH9SCrTASP+O9VLVs6tliteCOWi+Pc7nDOgiboHQE4s="; }; pythonRelaxDeps = [ "cryptography" "pyOpenSSL" ]; nativeBuildInputs = [ pythonRelaxDepsHook ]; propagatedBuildInputs = [ certifi circuitbreaker Loading @@ -33,13 +43,6 @@ buildPythonPackage rec { pytz ]; postPatch = '' substituteInPlace setup.py \ --replace "configparser==4.0.2 ; python_version < '3'" "" \ --replace "cryptography>=3.2.1,<=37.0.2" "cryptography" \ --replace "pyOpenSSL>=17.5.0,<=22.0.0" "pyOpenSSL" ''; # Tests fail: https://github.com/oracle/oci-python-sdk/issues/164 doCheck = false; Loading