python3Packages.elegy: 0.8.4 -> 0.8.6
This commit is contained in:
parent
ae8db40906
commit
cbe8c40565
1 changed files with 10 additions and 2 deletions
|
@ -22,16 +22,24 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "elegy";
|
pname = "elegy";
|
||||||
version = "0.8.4";
|
version = "0.8.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "poets-ai";
|
owner = "poets-ai";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "11w8lgl31b52w2qri8j8cgzd30sn8i3769g8nkkshvgkjgca9r4g";
|
hash = "sha256-FZmLriYhsX+zyQKCtCjbOy6MH+AvjzHRNUyaDSXGlLI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The cloudpickle constraint is too strict. wandb is marked as an optional
|
||||||
|
# dependency but `buildPythonPackage` doesn't seem to respect that setting.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'cloudpickle = "^1.5.0"' 'cloudpickle = "*"' \
|
||||||
|
--replace 'wandb = { version = "^0.12.10", optional = true }' ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry
|
poetry
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue