Commit e9515089 authored by Ben Darwin's avatar Ben Darwin
Browse files

python310Packages.pycm: 3.7 -> 3.8; unbreak

parent c817b586
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

buildPythonPackage rec {
  pname = "pycm";
  version = "3.7";
  version = "3.8";
  format = "setuptools";

  disabled = pythonOlder "3.5";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
    owner = "sepandhaghighi";
    repo = pname;
    rev = "refs/tags/v${version}";
    sha256 = "sha256-Yow5MVbaBgKA7U6RNpS/Yh1mG3XSLKPSDsUeBRSln1U=";
    hash = "sha256-L0WPZomOU/I/x8QrdAerG0S2wnHyP661XTaDzzWeruk=";
  };

  propagatedBuildInputs = [
@@ -41,11 +41,8 @@ buildPythonPackage rec {
      --replace '=get_requires()' '=[]'
  '';

  disabledTests = [
    # Output formatting error
    "pycm.pycm_compare.Compare"
    "plot_test"
  ];
  # https://github.com/sepandhaghighi/pycm/issues/488
  pytestFlagsArray = [ "Test" ];

  pythonImportsCheck = [
    "pycm"
@@ -53,7 +50,7 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Multiclass confusion matrix library";
    homepage = "https://pycm.ir";
    homepage = "https://pycm.io";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };