Skip to content

Commit 8de1496

Browse files
committed
pin dlc == 2.3.5 to avoid building tables
1 parent 85c1ebb commit 8de1496

4 files changed

Lines changed: 1753 additions & 1844 deletions

File tree

packages/cheese3d-annotator/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ authors = [
1010
readme = "README.md"
1111
requires-python = ">=3.10"
1212
dependencies = [
13-
"tables>=3.7.0",
1413
"pandas>=2.1.4",
1514
"napari==0.5.*",
1615
"napari-video==0.2.*",
@@ -33,6 +32,9 @@ build-backend = "uv_build"
3332
[tool.uv.build-backend]
3433
module-root = "."
3534

35+
[tool.uv]
36+
package = true
37+
3638
[[tool.uv.index]]
3739
name = "pypi"
3840
url = "https://pypi.org/simple"

packages/cheese3d/pyproject.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
description = "Sensitive detection and analysis of whole-face movement in mice."
55
authors = [{ name = "Hou Lab CSHL", email = "the.hou.lab@gmail.com" }]
66
readme = "README.md"
7-
requires-python = ">=3.10"
7+
requires-python = "== 3.10.*"
88
scripts = { cheese3d = "cheese3d.cli:cli" }
99
dependencies = [
1010
"pip>=25.2,<26",
@@ -34,16 +34,17 @@ dependencies = [
3434
"cheese3d_annotator == 0.1.0",
3535

3636
# Linux-specific deps
37-
# "blosc2; sys_platform == 'linux'",
38-
"tensorflow >= 2.13; sys_platform == 'linux'",
37+
"tensorflow < 2.13; sys_platform == 'linux'",
3938
"jax[cuda12]; sys_platform == 'linux'",
40-
"deeplabcut[tf] ; sys_platform == 'linux'",
39+
"deeplabcut[tf] == 2.3.5 ; sys_platform == 'linux'",
4140

4241
# Apple silicon-specific deps
43-
"tensorflow-macos >= 2.13 ; sys_platform == 'darwin'",
42+
# to avoid building tables and get wheel
43+
"tables>=3.10.1 ; sys_platform == 'darwin'",
44+
"tensorflow-macos < 2.13 ; sys_platform == 'darwin'",
4445
"tensorflow-metal ; sys_platform == 'darwin'",
4546
"jax[cpu]; sys_platform == 'darwin'",
46-
"deeplabcut[apple_mchips] ; sys_platform == 'darwin'",
47+
"deeplabcut[apple_mchips] == 2.3.5 ; sys_platform == 'darwin'",
4748
]
4849

4950
[build-system]
@@ -53,6 +54,9 @@ build-backend = "uv_build"
5354
[tool.uv.build-backend]
5455
module-root = "."
5556

57+
[tool.uv]
58+
package = true
59+
5660
[[tool.uv.index]]
5761
name = "pypi"
5862
url = "https://pypi.org/simple"

0 commit comments

Comments
 (0)