Browse Source

Relax wrapt dependency for tensorflow compatibility (#2001)

Masen Furer 1 year ago
parent
commit
93f6491386
2 changed files with 6 additions and 3 deletions
  1. 2 2
      poetry.lock
  2. 4 1
      pyproject.toml

+ 2 - 2
poetry.lock

@@ -959,8 +959,8 @@ files = [
 
 [package.dependencies]
 numpy = [
-    {version = ">=1.20.3", markers = "python_version < \"3.10\""},
     {version = ">=1.23.2", markers = "python_version >= \"3.11\""},
+    {version = ">=1.20.3", markers = "python_version < \"3.10\""},
     {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""},
 ]
 python-dateutil = ">=2.8.1"
@@ -2189,4 +2189,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.8"
-content-hash = "caa7f188341094c43f7f9b5239ebd75096509ae880be95648b2fd79bf0c84110"
+content-hash = "328056c691f825795d481f1c0d1b8853bd60847e1a81c815f5e2401af44c72b3"

+ 4 - 1
pyproject.toml

@@ -49,7 +49,10 @@ alembic = "^1.11.1"
 platformdirs = "^3.10.0"
 distro = {version = "^1.8.0", platform = "linux"}
 python-engineio = "!=4.6.0"
-wrapt = "^1.15.0"
+wrapt = [
+    {version = "^1.14.0", python = ">=3.11"},
+    {version = "^1.11.0", python = "<3.11"},
+]
 packaging = "^23.1"
 tabulate = "^0.9.0"