summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-science/packages/machine-learning.scm48
1 files changed, 14 insertions, 34 deletions
diff --git a/guix-science/packages/machine-learning.scm b/guix-science/packages/machine-learning.scm
index 262bf11..62097ff 100644
--- a/guix-science/packages/machine-learning.scm
+++ b/guix-science/packages/machine-learning.scm
@@ -791,7 +791,7 @@ a delightful developer experience.")
791(define-public python-optuna 791(define-public python-optuna
792 (package 792 (package
793 (name "python-optuna") 793 (name "python-optuna")
794 (version "4.6.0") 794 (version "4.9.0")
795 (source 795 (source
796 (origin 796 (origin
797 (method git-fetch) 797 (method git-fetch)
@@ -800,22 +800,21 @@ a delightful developer experience.")
800 (commit (string-append "v" version)))) 800 (commit (string-append "v" version))))
801 (file-name (git-file-name name version)) 801 (file-name (git-file-name name version))
802 (sha256 802 (sha256
803 (base32 "18yh7l5gzcfcw96yqf9ba1vxyya4vg6c65hjdbq09b63jwrr5h2m")))) 803 (base32 "0hkjp853x93ckmw8mjar7l9dqi0xdrnhbgd4wiq5ycmknkj75106"))))
804 (build-system pyproject-build-system) 804 (build-system pyproject-build-system)
805 (arguments 805 (arguments
806 (list 806 (list
807 #:test-flags 807 #:test-flags
808 #~(list 808 #~(list "tests/test_callbacks.py"
809 ;; Ignore slow tests. 809 "tests/test_cli.py"
810 "-m" 810 "tests/test_convert_positional_args.py"
811 "not slow" 811 "tests/test_deprecated.py"
812 ;; Ignore grpc and redis tests: 812 "tests/test_distributions.py"
813 ;; * grpc: Yields timeout error, 813 "tests/test_experimental.py"
814 ;; * redis: Yields unknown command. 814 "tests/test_imports.py"
815 "-k" 815 "tests/test_logging.py"
816 "not (grpc or redis)" 816 "tests/test_multi_objective.py"
817 ;; Requires python-kaleido. 817 "tests/test_transform.py")
818 "--ignore=tests/visualization_tests")
819 #:phases 818 #:phases
820 #~(modify-phases %standard-phases 819 #~(modify-phases %standard-phases
821 (add-after 'unpack 'fix-pytest-configuration 820 (add-after 'unpack 'fix-pytest-configuration
@@ -825,32 +824,13 @@ a delightful developer experience.")
825 (("--color=yes") 824 (("--color=yes")
826 "--color=auto"))))))) 825 "--color=auto")))))))
827 (propagated-inputs (list python-alembic 826 (propagated-inputs (list python-alembic
828 python-boto3
829 python-cmaes
830 python-colorlog 827 python-colorlog
831 python-google-cloud-storage
832 python-greenlet
833 python-grpcio
834 python-matplotlib
835 python-numpy 828 python-numpy
836 python-packaging 829 python-packaging
837 python-pandas
838 ;; python-google-cloud-storage propagates
839 ;; default python-protobuf, use it to
840 ;; avoid collision.
841 python-protobuf
842 python-plotly
843 python-pytorch
844 python-pyyaml 830 python-pyyaml
845 python-redis 831 python-sqlalchemy
846 python-scikit-learn
847 python-scipy
848 ;; python-alembic propagates
849 ;; python-sqlalchemy-2, use it to avoid
850 ;; collision.
851 python-sqlalchemy-2
852 python-tqdm)) 832 python-tqdm))
853 (native-inputs (list python-fakeredis python-moto python-pytest 833 (native-inputs (list python-fakeredis python-pandas python-pytest
854 python-setuptools)) 834 python-setuptools))
855 (home-page "https://optuna.org/") 835 (home-page "https://optuna.org/")
856 (synopsis "Automatic hyperparameter optimization framework") 836 (synopsis "Automatic hyperparameter optimization framework")