datalad: use default Python version

This commit is contained in:
Markus S. Wamser 2022-10-26 22:16:06 +02:00 committed by Frederik Rietdijk
parent 6dc836fd40
commit 8b4b449543
2 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,9 @@ buildPythonPackage rec {
./bug-953970_python3.8-compat.patch
];
# boto is deprecated by upstream as of 2021-05-27 (https://github.com/boto/boto/commit/4980ac58764c3d401cb0b9552101f9c61c18f445)
# this patch is a bit simpler than https://github.com/boto/boto/pull/3898
# as we don't have to take care of pythonOlder "3.3".
postPatch = ''
substituteInPlace boto/dynamodb/types.py --replace 'from collections import Mapping' 'from collections.abc import Mapping'
substituteInPlace boto/mws/connection.py --replace 'import collections' 'import collections.abc as collections'

View File

@ -450,9 +450,7 @@ with pkgs;
databricks-sql-cli = python3Packages.callPackage ../applications/misc/databricks-sql-cli { };
datalad = callPackage ../applications/version-management/datalad {
python3 = python39; # `boto` currently broken with Python3.10
};
datalad = callPackage ../applications/version-management/datalad { };
dhallDirectoryToNix = callPackage ../build-support/dhall/directory-to-nix.nix { };