Merge pull request #199656 from r-ryantm/auto-update/python3.10-PuLP

python310Packages.pulp: 2.6.0 -> 2.7.0
This commit is contained in:
Fabian Affolter 2022-11-06 11:46:00 +01:00 committed by GitHub
commit 4d9308435f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,29 +1,49 @@
{ lib
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "PuLP";
version = "2.6.0";
pname = "pulp";
version = "2.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "4b4f7e1e954453e1b233720be23aea2f10ff068a835ac10c090a93d8e2eb2e8d";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "coin-or";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-j0f6OiscJyTqPNyLp0qWRjCGLWuT3HdU1S/sxpnsiMo=";
};
propagatedBuildInputs = [ pyparsing amply ];
propagatedBuildInputs = [
amply
pyparsing
];
# only one test that requires an extra
doCheck = false;
pythonImportsCheck = [ "pulp" ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pulp"
];
disabledTests = [
# The solver is not available
"PULP_CBC_CMDTest"
"test_examples"
];
meta = with lib; {
description = "Module to generate generate MPS or LP files";
homepage = "https://github.com/coin-or/pulp";
description = "PuLP is an LP modeler written in python";
maintainers = with maintainers; [ teto ];
license = licenses.mit;
maintainers = with maintainers; [ teto ];
};
}