mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
python3Packages.treex: relax constraints
This commit is contained in:
parent
b642cf7a23
commit
40f390988f
@ -27,9 +27,12 @@ buildPythonPackage rec {
|
||||
sha256 = "1hl3wj71c7cp7jzkhyjy7xgs2vc8c89icq0bgfr49y4pwv69n43m";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./relax-deps.patch
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'rich = "^10.7.0"' 'rich = ">=10.7.0"' \
|
||||
--replace 'PyYAML = "^5.4.1"' 'PyYAML = ">=5.4.1"' \
|
||||
--replace 'optax = "^0.0.9"' 'optax = ">=0.0.9"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index f0ff8a0..56787ca 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -16,9 +16,9 @@ secondary = true
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7"
|
||||
flax = "^0.3.4"
|
||||
-PyYAML = "^5.4.1"
|
||||
+PyYAML = ">=5.4.1"
|
||||
rich = "^10.7.0"
|
||||
-optax = "^0.0.9"
|
||||
+optax = ">=0.0.9"
|
||||
einops = "^0.3.2"
|
||||
treeo = "^0.0.9"
|
||||
# treeo = { path = "../treeo", develop = true }
|
Loading…
Reference in New Issue
Block a user