Merge pull request #173767 from fabaff/sagemaker-fix
python310Packages.sagemaker: 2.82.0 -> 2.91.1
This commit is contained in:
commit
3a574bf307
@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sagemaker";
|
||||
version = "2.82.0";
|
||||
version = "2.91.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-cQe4b5XpmaC9ZTanI9LKNTLw1HycxqaDCOuLfw/vBRY=";
|
||||
hash = "sha256-DP6bdakmOX2qiqbkz/D4Q/aexjy7dTDXlDKvnCf3SaA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -41,6 +41,11 @@ buildPythonPackage rec {
|
||||
pandas
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "attrs==20.3.0" "attrs>=20.3.0"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
[ "$($out/bin/sagemaker-upgrade-v2 --help 2>&1 | grep -cim1 'pandas failed to import')" -eq "0" ]
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user