krr: fix version name

This commit is contained in:
Azat Bahawi 2024-03-07 15:36:24 +03:00
parent 97f8759acb
commit 272b8c9bfd
No known key found for this signature in database
GPG Key ID: C8C6BDDB3847F72B

View File

@ -18,7 +18,11 @@ python3.pkgs.buildPythonPackage rec {
};
postPatch = ''
substituteInPlace robusta_krr/__init__.py \
--replace-warn '1.7.0-dev' '${version}'
substituteInPlace pyproject.toml \
--replace-warn '1.7.0-dev' '${version}' \
--replace-fail 'aiostream = "^0.4.5"' 'aiostream = "*"' \
--replace-fail 'kubernetes = "^26.1.0"' 'kubernetes = "*"' \
--replace-fail 'pydantic = "1.10.7"' 'pydantic = "*"' \