Unverified Commit 14acba31 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.pyomo: 6.9.2 -> 6.9.3 (#433226)

parents 3cffec18 df9b16ee
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  cython,
  fetchFromGitHub,
  parameterized,
  ply,
  pybind11,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
  pname = "pyomo";
  version = "6.9.2";
  version = "6.9.3";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -20,24 +23,25 @@ buildPythonPackage rec {
    repo = "pyomo";
    owner = "pyomo";
    tag = version;
    hash = "sha256-LfrJmR5yHFZLONEdj6RCE2wsF6hRXUuHcrSJcJrELE8=";
    hash = "sha256-lKjxPYlVCRew1SHYvehcGWKlLz6DsCG9Bocg6G+491c=";
  };

  build-system = [ setuptools ];
  build-system = [
    cython
    pybind11
    setuptools
  ];

  dependencies = [ ply ];

  nativeCheckInputs = [
    parameterized
    pytestCheckHook
    writableTmpDirAsHomeHook
  ];

  pythonImportsCheck = [ "pyomo" ];

  preCheck = ''
    export HOME=$(mktemp -d);
  '';

  disabledTestPaths = [
    # Don't test the documentation and the examples
    "doc/"