Skip to content

Commit 619d9d3

Browse files
committed
fix: add cu124 extra and cap python to <3.13
1 parent ebcd8c1 commit 619d9d3

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

‎pyproject.toml‎

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "unilab"
77
version = "0.1.0"
88
description = "Universal Lab for Robot Learning"
99
readme = "README.md"
10-
requires-python = ">=3.10,<3.14"
10+
requires-python = ">=3.10,<3.13"
1111
dependencies = [
1212
"numpy",
1313
"torch",
@@ -28,21 +28,14 @@ dependencies = [
2828
]
2929

3030
[project.optional-dependencies]
31-
dev = [
32-
"pytest",
33-
"ruff",
34-
"mypy",
35-
]
36-
motrix = [
37-
"motrixsim==0.6.0",
31+
dev = ["pytest", "ruff", "mypy"]
32+
cu124 = [
33+
# Keep compatibility with documented Linux CUDA installation command.
3834
]
35+
motrix = ["motrixsim==0.6.0"]
3936

4037
[dependency-groups]
41-
dev = [
42-
"pytest",
43-
"ruff",
44-
"mypy",
45-
]
38+
dev = ["pytest", "ruff", "mypy"]
4639

4740
[[tool.uv.index]]
4841
name = "test-pypi"
@@ -61,13 +54,24 @@ target-version = "py310"
6154

6255
[tool.ruff.lint]
6356
select = ["E", "F", "I", "N", "W"]
64-
ignore = ["E501", "N806", "E402", "F401", "N801", "F821", "E741", "N802", "N803", "N812"]
57+
ignore = [
58+
"E501",
59+
"N806",
60+
"E402",
61+
"F401",
62+
"N801",
63+
"F821",
64+
"E741",
65+
"N802",
66+
"N803",
67+
"N812",
68+
]
6569

6670
[tool.mypy]
6771
python_version = "3.10"
6872
warn_return_any = true
6973
warn_unused_configs = true
7074
ignore_missing_imports = true
7175
exclude = [
72-
"unilab/algos/torch/rsl_rl/", # vendored third-party, tracked in .gitignore
76+
"unilab/algos/torch/rsl_rl/", # vendored third-party, tracked in .gitignore
7377
]

0 commit comments

Comments
 (0)