python3Packages.bce-python-sdk: 0.9.63 -> 0.9.76 (#546645)
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
pycryptodome,
|
||||
six,
|
||||
crc32c,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.9.63";
|
||||
version = "0.9.76";
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "bce-python-sdk";
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage {
|
||||
src = fetchPypi {
|
||||
pname = "bce_python_sdk";
|
||||
inherit version;
|
||||
hash = "sha256-DIC8OsEooKFEuuO43/Hzl/QsMLNvdnfjo52N+Od7EIg=";
|
||||
hash = "sha256-AcYwzo3L+L4FY9ZfGLUgHqrGvZVLPcd2BArsJo+Btv8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -38,6 +38,7 @@ buildPythonPackage {
|
||||
dependencies = [
|
||||
pycryptodome
|
||||
six
|
||||
crc32c
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "baidubce" ];
|
||||
|
||||
@@ -59,10 +59,12 @@ diff --git a/baidubce/bce_response.py b/baidubce/bce_response.py
|
||||
index d55447b..1db49dd 100644
|
||||
--- a/baidubce/bce_response.py
|
||||
+++ b/baidubce/bce_response.py
|
||||
@@ -13,9 +13,6 @@
|
||||
@@ -13,11 +13,8 @@
|
||||
"""
|
||||
This module provides a general response class for BCE services.
|
||||
"""
|
||||
import json
|
||||
|
||||
-from future.utils import iteritems
|
||||
-from builtins import str
|
||||
-from builtins import bytes
|
||||
@@ -343,6 +345,7 @@ index 54ca7b6..281de62 100644
|
||||
version=SDK_VERSION,
|
||||
install_requires=['pycryptodome>=3.8.0',
|
||||
- 'future>=0.6.0',
|
||||
'six>=1.4.0'],
|
||||
'six>=1.4.0',
|
||||
'crc32c>=2.2.post0'],
|
||||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
|
||||
packages=['baidubce',
|
||||
|
||||
Reference in New Issue
Block a user