Merge pull request #283167 from fabaff/dvc-bump
python311Packages.dvclive: 3.5.1 -> 3.41.1
This commit is contained in:
commit
97fd81a622
@ -15,16 +15,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvc-render";
|
||||
version = "1.0.0";
|
||||
format = "pyproject";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iterative";
|
||||
repo = pname;
|
||||
repo = "dvc-render";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-OrfepQuLBNa5m3Sy4NzFOArtFFvaNtNNVJ8DNN3yT6s=";
|
||||
hash = "sha256-7rmmhf6Y6teoHR8u1+Ce1Xq0rdtC1/MWLXb282OOEnc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvc";
|
||||
version = "3.40.1";
|
||||
version = "3.41.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -67,7 +67,7 @@ buildPythonPackage rec {
|
||||
owner = "iterative";
|
||||
repo = "dvc";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ik2WVq7cXhOc9kwBep38HELgvj0CGLtpx5EzzdJzAsc=";
|
||||
hash = "sha256-j4UkPHav97s5GAuR9yYWaI1ObfKcsyozlTDC9jeBfK4=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -1,21 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, datasets
|
||||
, dvc
|
||||
, dvc-render
|
||||
, dvc-studio-client
|
||||
, fastai
|
||||
, fetchFromGitHub
|
||||
, funcy
|
||||
, gto
|
||||
, jsonargparse
|
||||
, lightgbm
|
||||
, lightning
|
||||
, matplotlib
|
||||
, mmcv
|
||||
, numpy
|
||||
, optuna
|
||||
, pandas
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, ruamel-yaml
|
||||
, scikit-learn
|
||||
, scmrepo
|
||||
, setuptools-scm
|
||||
, tabulate
|
||||
, tensorflow
|
||||
, torch
|
||||
, transformers
|
||||
, xgboost
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvclive";
|
||||
version = "3.5.1";
|
||||
format = "pyproject";
|
||||
version = "3.41.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -23,7 +41,7 @@ buildPythonPackage rec {
|
||||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-QsA8HZ6wIWKvtQ+f3nyRKKZRNJS56eZ1sKw+KNHxfXc=";
|
||||
hash = "sha256-PbgazRK3+CoJISh1ZXGjxDfbKHY/XqSvVrkpycvPi7c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -32,12 +50,78 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dvc
|
||||
dvc-render
|
||||
dvc-studio-client
|
||||
funcy
|
||||
gto
|
||||
ruamel-yaml
|
||||
scmrepo
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all = [
|
||||
jsonargparse
|
||||
lightgbm
|
||||
lightning
|
||||
matplotlib
|
||||
mmcv
|
||||
numpy
|
||||
optuna
|
||||
pandas
|
||||
pillow
|
||||
scikit-learn
|
||||
tensorflow
|
||||
torch
|
||||
transformers
|
||||
xgboost
|
||||
] ++ jsonargparse.optional-dependencies.signatures;
|
||||
image = [
|
||||
numpy
|
||||
pillow
|
||||
];
|
||||
sklearn = [
|
||||
scikit-learn
|
||||
];
|
||||
plots = [
|
||||
pandas
|
||||
scikit-learn
|
||||
numpy
|
||||
];
|
||||
markdown = [
|
||||
matplotlib
|
||||
];
|
||||
mmcv = [
|
||||
mmcv
|
||||
];
|
||||
tf = [
|
||||
tensorflow
|
||||
];
|
||||
xgb = [
|
||||
xgboost
|
||||
];
|
||||
lgbm = [
|
||||
lightgbm
|
||||
];
|
||||
huggingface = [
|
||||
datasets
|
||||
transformers
|
||||
];
|
||||
# catalyst = [
|
||||
# catalyst
|
||||
# ];
|
||||
fastai = [
|
||||
fastai
|
||||
];
|
||||
lightning = [
|
||||
lightning
|
||||
torch
|
||||
jsonargparse
|
||||
] ++ jsonargparse.optional-dependencies.signatures;
|
||||
optuna = [
|
||||
optuna
|
||||
];
|
||||
};
|
||||
|
||||
# Circular dependency with dvc
|
||||
doCheck = false;
|
||||
|
||||
|
109
pkgs/development/python-modules/jsonargparse/default.nix
Normal file
109
pkgs/development/python-modules/jsonargparse/default.nix
Normal file
@ -0,0 +1,109 @@
|
||||
{ lib
|
||||
, argcomplete
|
||||
, attrs
|
||||
, buildPythonPackage
|
||||
, docstring-parser
|
||||
, fetchFromGitHub
|
||||
, fsspec
|
||||
, jsonnet
|
||||
, jsonschema
|
||||
, omegaconf
|
||||
, pydantic
|
||||
, pytest-subtests
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, reconplogger
|
||||
, requests
|
||||
, responses
|
||||
, ruyaml
|
||||
, setuptools
|
||||
, types-pyyaml
|
||||
, types-requests
|
||||
, typeshed-client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonargparse";
|
||||
version = "4.27.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omni-us";
|
||||
repo = "jsonargparse";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qvc0HpwgYXDayA0q0D598rCb+I3LuaPm2tmmd0E3rrk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all = [
|
||||
argcomplete
|
||||
fsspec
|
||||
jsonnet
|
||||
jsonschema
|
||||
omegaconf
|
||||
ruyaml
|
||||
docstring-parser
|
||||
typeshed-client
|
||||
requests
|
||||
];
|
||||
argcomplete = [
|
||||
argcomplete
|
||||
];
|
||||
fsspec = [
|
||||
fsspec
|
||||
];
|
||||
jsonnet = [
|
||||
jsonnet
|
||||
# jsonnet-binary
|
||||
];
|
||||
jsonschema = [
|
||||
jsonschema
|
||||
];
|
||||
omegaconf = [
|
||||
omegaconf
|
||||
];
|
||||
reconplogger = [
|
||||
reconplogger
|
||||
];
|
||||
ruyaml = [
|
||||
ruyaml
|
||||
];
|
||||
signatures = [
|
||||
docstring-parser
|
||||
typeshed-client
|
||||
];
|
||||
urls = [
|
||||
requests
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-subtests
|
||||
pytestCheckHook
|
||||
types-pyyaml
|
||||
types-requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jsonargparse"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to mplement minimal boilerplate CLIs derived from various sources";
|
||||
homepage = "https://github.com/omni-us/jsonargparse";
|
||||
changelog = "https://github.com/omni-us/jsonargparse/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
44
pkgs/development/python-modules/logmatic-python/default.nix
Normal file
44
pkgs/development/python-modules/logmatic-python/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python-json-logger
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "logmatic-python";
|
||||
version = "0.1.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "logmatic";
|
||||
repo = "logmatic-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-UYKm00KhXnPQDkKJVm7s0gOwZ3GNY07O0oKbzPhAdVE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-json-logger
|
||||
];
|
||||
|
||||
# Only functional tests, no unit tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"logmatic"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python helpers to send logs to Logmatic.io";
|
||||
homepage = "https://github.com/logmatic/logmatic-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
63
pkgs/development/python-modules/reconplogger/default.nix
Normal file
63
pkgs/development/python-modules/reconplogger/default.nix
Normal file
@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, logmatic-python
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
, setuptools
|
||||
, testfixtures
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reconplogger";
|
||||
version = "4.13.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omni-us";
|
||||
repo = "reconplogger";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eqo26u99nTO/8kgG9nqeVArWJiwP4wqkcisAju8vOPs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
logmatic-python
|
||||
pyyaml
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all = [
|
||||
flask
|
||||
requests
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
testfixtures
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"reconplogger"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"reconplogger_tests.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to ease the standardization of logging within omni:us";
|
||||
homepage = "https://github.com/omni-us/reconplogger";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
51
pkgs/development/python-modules/typeshed-client/default.nix
Normal file
51
pkgs/development/python-modules/typeshed-client/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, importlib-resources
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typeshed-client";
|
||||
version = "2.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JelleZijlstra";
|
||||
repo = "typeshed_client";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-g3FECKebKeM3JPWem6+Y9T27PcAxVxj1SiBd5siLSJ4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"typeshed_client"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests/test.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Retrieve information from typeshed and other typing stubs";
|
||||
homepage = "https://github.com/JelleZijlstra/typeshed_client";
|
||||
changelog = "https://github.com/JelleZijlstra/typeshed_client/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -5875,6 +5875,8 @@ self: super: with self; {
|
||||
|
||||
json5 = callPackage ../development/python-modules/json5 { };
|
||||
|
||||
jsonargparse = callPackage ../development/python-modules/jsonargparse { };
|
||||
|
||||
jsonconversion = callPackage ../development/python-modules/jsonconversion { };
|
||||
|
||||
jsondate = callPackage ../development/python-modules/jsondate { };
|
||||
@ -6641,6 +6643,8 @@ self: super: with self; {
|
||||
|
||||
logilab-constraint = callPackage ../development/python-modules/logilab/constraint.nix { };
|
||||
|
||||
logmatic-python = callPackage ../development/python-modules/logmatic-python { };
|
||||
|
||||
logster = callPackage ../development/python-modules/logster { };
|
||||
|
||||
loguru = callPackage ../development/python-modules/loguru { };
|
||||
@ -12464,6 +12468,8 @@ self: super: with self; {
|
||||
|
||||
recommonmark = callPackage ../development/python-modules/recommonmark { };
|
||||
|
||||
reconplogger = callPackage ../development/python-modules/reconplogger { };
|
||||
|
||||
recordlinkage = callPackage ../development/python-modules/recordlinkage { };
|
||||
|
||||
recurring-ical-events = callPackage ../development/python-modules/recurring-ical-events { };
|
||||
@ -15556,6 +15562,8 @@ self: super: with self; {
|
||||
|
||||
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||
|
||||
typeshed-client = callPackage ../development/python-modules/typeshed-client { };
|
||||
|
||||
typesystem = callPackage ../development/python-modules/typesystem { };
|
||||
|
||||
typical = callPackage ../development/python-modules/typical { };
|
||||
|
Loading…
Reference in New Issue
Block a user