Merge pull request #196098 from fabaff/stevedore-bump

python310Packages.stevedore: 4.0.0 -> 4.0.1
This commit is contained in:
Fabian Affolter 2022-10-29 09:34:57 +02:00 committed by GitHub
commit 6008bb86b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 13 deletions

View file

@ -1,31 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, cvxopt
, fetchPypi
, future
, numpy
, qdldl
, setuptools-scm
, scipy
# check inputs
, pytestCheckHook
, cvxopt
, pythonOlder
, qdldl
, scipy
, setuptools-scm
}:
buildPythonPackage rec {
pname = "osqp";
version = "0.6.2.post5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "b2fa17aae42a7ed498ec261b33f262bb4b3605e7e8464062159d9fae817f0d61";
hash = "sha256-svoXquQqftSY7CYbM/Jiu0s2BefoRkBiFZ2froF/DWE=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [ cmake setuptools-scm ];
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
setuptools-scm
];
propagatedBuildInputs = [
future
numpy
@ -33,10 +40,39 @@ buildPythonPackage rec {
scipy
];
pythonImportsCheck = [ "osqp" ];
checkInputs = [ pytestCheckHook cvxopt ];
checkInputs = [
cvxopt
pytestCheckHook
];
pythonImportsCheck = [
"osqp"
];
disabledTests = [
"mkl_"
# Test are failing due to scipy update (removal of scipy.random in 1.9.0)
# Is fixed upstream but requires a new release
"test_feasibility_problem"
"test_issue14"
"test_polish_random"
"test_polish_unconstrained"
"test_primal_and_dual_infeasible_problem"
"test_primal_infeasible_problem"
"test_solve"
"test_unconstrained_problem"
"test_update_A_allind"
"test_update_A"
"test_update_bounds"
"test_update_l"
"test_update_P_A_allind"
"test_update_P_A_indA"
"test_update_P_A_indP_indA"
"test_update_P_A_indP"
"test_update_P_allind"
"test_update_P"
"test_update_q"
"test_update_u"
"test_warm_start"
];
meta = with lib; {

View file

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "stevedore";
version = "4.0.0";
version = "4.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+CzJmh/1UjENGcN5gnwsZN2fhaOLzVVZ2yRwFhhnt4Y=";
sha256 = "sha256-miMRGm5hInDFkf0x/zMhxrXz1fPauxQnMXpatgj8Jho=";
};
propagatedBuildInputs = [