Skip to content

Commit

Permalink
python.pkgs.scikit-optimize: 0.6 -> 0.8.1
Browse files Browse the repository at this point in the history
This fixes the build of scikit-optimize.
  • Loading branch information
knedlsepp authored and Jon committed Sep 20, 2020
1 parent c324418 commit b8f130e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions pkgs/development/python-modules/scikit-optimize/default.nix
@@ -1,40 +1,39 @@
{ lib
, isPy27
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, scipy
, scikitlearn
, pyaml
, pytest
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "scikit-optimize";
version = "0.6";
version = "0.8.1";
disabled = isPy27;

src = fetchFromGitHub {
owner = "scikit-optimize";
repo = "scikit-optimize";
rev = "v${version}";
sha256 = "1srbb20k8ddhpcfxwdflapfh6xfyrd3dnclcg3bsfq1byrcmv0d4";
sha256 = "1bz8gxccx8n99abw49j8h5zf3i568g5hcf8nz1yinma8jqhxjkjh";
};

propagatedBuildInputs = [
matplotlib
numpy
scipy
scikitlearn
pyaml
];

checkInputs = [
pytest
pytestCheckHook
];

# remove --ignore at next release > 0.6
checkPhase = ''
pytest skopt --ignore skopt/tests/test_searchcv.py
'';

meta = with lib; {
description = "Sequential model-based optimization toolbox";
homepage = "https://scikit-optimize.github.io/";
Expand Down

0 comments on commit b8f130e

Please sign in to comment.