mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 21:03:46 +08:00
Fix cli bug in high version of tyro (#3567)
* limited the tyro version up to 0.9.2 * bump tyro>=0.9.8 * Bump typeguard * Runtime checking with jaxtyping hook instead of typeguard * Fix test for Python >=3.11, caused by missing default_factory --------- Co-authored-by: Brent Yi <yibrenth@gmail.com> Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
This commit is contained in:
3 files changed
+10
-9
No files matched your search
+2
-3
@@ -18,7 +18,7 @@ dependencies = [
|
||||
"av>=9.2.0",
|
||||
"comet_ml>=3.33.8",
|
||||
"cryptography>=38",
|
||||
"tyro>=0.6.6",
|
||||
"tyro>=0.9.8",
|
||||
"gdown>=4.6.0",
|
||||
"ninja>=1.10",
|
||||
"h5py>=2.9.0",
|
||||
@@ -93,7 +93,6 @@ dev = [
|
||||
"pre-commit==3.3.2",
|
||||
"pytest==7.1.2",
|
||||
"pytest-xdist==2.5.0",
|
||||
"typeguard==2.13.3",
|
||||
"ruff>=0.6.1",
|
||||
"sshconf==0.2.5",
|
||||
"pycolmap>=0.3.0", # NOTE: pycolmap==0.3.0 is not available on newer python versions
|
||||
@@ -146,7 +145,7 @@ include = ["nerfstudio*"]
|
||||
"*" = ["*.cu", "*.json", "py.typed", "setup.bash", "setup.zsh"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-n=4 --typeguard-packages=nerfstudio --disable-warnings"
|
||||
addopts = "-n=4 --jaxtyping-packages=nerfstudio --disable-warnings"
|
||||
testpaths = [
|
||||
"tests",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user