mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #174144 from fabaff/mlflow-fix
python310Packages.mlflow: 1.25.1 -> 1.26.0
This commit is contained in:
commit
70550b876e
1 changed files with 52 additions and 42 deletions
|
@ -1,76 +1,86 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27, fetchpatch
|
||||
{ lib
|
||||
, alembic
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cloudpickle
|
||||
, requests
|
||||
, six
|
||||
, flask
|
||||
, numpy
|
||||
, scipy
|
||||
, pandas
|
||||
, python-dateutil
|
||||
, protobuf
|
||||
, GitPython
|
||||
, pyyaml
|
||||
, querystring_parser
|
||||
, simplejson
|
||||
, docker
|
||||
, databricks-cli
|
||||
, docker
|
||||
, entrypoints
|
||||
, sqlparse
|
||||
, sqlalchemy
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, flask
|
||||
, GitPython
|
||||
, gorilla
|
||||
, gunicorn
|
||||
, prometheus-flask-exporter
|
||||
, importlib-metadata
|
||||
, numpy
|
||||
, packaging
|
||||
, pandas
|
||||
, prometheus-flask-exporter
|
||||
, protobuf
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, querystring_parser
|
||||
, requests
|
||||
, scipy
|
||||
, simplejson
|
||||
, six
|
||||
, sqlalchemy
|
||||
, sqlparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mlflow";
|
||||
version = "1.25.1";
|
||||
disabled = isPy27;
|
||||
version = "1.26.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-jDePRRbWNz+VvFe2x8LcpD8mUNSc7lq2ucNFf8RvBgA=";
|
||||
hash = "sha256-2D1glQkovCY0lN0kfxGeoLigTkkPpij13mTeou7CAw4=";
|
||||
};
|
||||
|
||||
# run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
|
||||
# also, tests use conda so can't run on NixOS without buildFHSUserEnv
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
click
|
||||
cloudpickle
|
||||
requests
|
||||
six
|
||||
flask
|
||||
numpy
|
||||
scipy
|
||||
pandas
|
||||
python-dateutil
|
||||
protobuf
|
||||
GitPython
|
||||
pyyaml
|
||||
querystring_parser
|
||||
simplejson
|
||||
docker
|
||||
databricks-cli
|
||||
docker
|
||||
entrypoints
|
||||
sqlparse
|
||||
sqlalchemy
|
||||
flask
|
||||
GitPython
|
||||
gorilla
|
||||
gunicorn
|
||||
prometheus-flask-exporter
|
||||
importlib-metadata
|
||||
numpy
|
||||
packaging
|
||||
pandas
|
||||
prometheus-flask-exporter
|
||||
protobuf
|
||||
python-dateutil
|
||||
pyyaml
|
||||
querystring_parser
|
||||
requests
|
||||
scipy
|
||||
simplejson
|
||||
six
|
||||
sqlalchemy
|
||||
sqlparse
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mlflow" ];
|
||||
pythonImportsCheck = [
|
||||
"mlflow"
|
||||
];
|
||||
|
||||
# run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
|
||||
# also, tests use conda so can't run on NixOS without buildFHSUserEnv
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mlflow/mlflow";
|
||||
description = "Open source platform for the machine learning lifecycle";
|
||||
homepage = "https://github.com/mlflow/mlflow";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ tbenst ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue