python310Packages.oci: 2.75.0 -> 2.78.0

This commit is contained in:
Fabian Affolter 2022-08-13 21:40:53 +02:00
parent 4e4d7372b3
commit d0208eadad

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, certifi
, circuitbreaker
, configparser
, cryptography
, fetchFromGitHub
, pyopenssl
@ -13,7 +12,7 @@
buildPythonPackage rec {
pname = "oci";
version = "2.75.0";
version = "2.78.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -22,13 +21,12 @@ buildPythonPackage rec {
owner = "oracle";
repo = "oci-python-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-dr95RHM8h2JIqkaey7E9DzbTLfLlCCUL1ZmTIH4mBRw=";
hash = "sha256-24V9vfuNMxvC5iqluW4xz7WICXbQA89xmiAH6tIDRw0=";
};
propagatedBuildInputs = [
certifi
circuitbreaker
configparser
cryptography
pyopenssl
python-dateutil
@ -37,9 +35,9 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "configparser==4.0.2 ; python_version < '3'" "configparser" \
--replace "cryptography>=3.2.1,<=3.4.7" "cryptography" \
--replace "pyOpenSSL>=17.5.0,<=19.1.0" "pyOpenSSL"
--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