15 , google-cloud-storage
44 buildPythonPackage rec {
49 disabled = pythonOlder "3.7";
51 src = fetchFromGitHub {
54 rev = "refs/tags/v${version}";
55 hash = "sha256-+ZqMRIza4K5VWTUm7tC87S08SI+C8GKd2Uh3rGoHwd0=";
63 propagatedBuildInputs = [
73 passthru.optional-dependencies = {
108 export PATH=$out/bin:$PATH
111 nativeCheckInputs = [
117 ] ++ fakeredis.optional-dependencies.lua
118 ++ passthru.optional-dependencies.optional;
121 "-m 'not integration'"
124 disabledTestPaths = [
125 # require unpackaged kaleido and building it is a bit difficult
126 "tests/visualization_tests"
127 # ImportError: cannot import name 'mock_s3' from 'moto'
128 "tests/artifacts_tests/test_boto3.py"
131 pythonImportsCheck = [
136 description = "A hyperparameter optimization framework";
137 homepage = "https://optuna.org/";
138 changelog = "https://github.com/optuna/optuna/releases/tag/${version}";
139 license = licenses.mit;
140 maintainers = with maintainers; [ natsukium ];
141 mainProgram = "optuna";