Bug: Depreciated syntax used to list development dependencies in pyproject.toml
Browser Use Version
0.13.10
Bug Description, Steps to Reproduce, Screenshots
Hello! I set up browser-use for development and it is giving this warning after I sync uv -
warning: The tool.uv.dev-dependenciesfield (used in/home/lucky/repos/browser-use/pyproject.toml) is deprecated and will be removed in a future release; use dependency-groups.dev instead
It seems like the convention is now depreciated.
Exact fix
Previously, uv used its own custom [tool.uv] section to list development dependencies like pytest and ruff. Now, the standard is to use a standard [dependency-groups] section. So define development dependencies like this:
[dependency-groups] dev = [ "ruff==0.14.14", "tokencost==0.1.26", "build==1.4.0", "pytest==9.0.2", "pytest-asyncio==1.3.0", "pytest-httpserver==1.1.3", "fastapi==0.128.0", "inngest==0.5.15", "uvicorn==0.40.0", "ipdb==0.13.13", "pre-commit==4.5.1", "codespell==2.4.1", "pyright==1.1.408", "ty==0.0.14", "pytest-xdist==3.8.0", "lmnr[all]==0.7.42", # "pytest-playwright-asyncio>=0.7.0", # not actually needed I think "pytest-timeout==2.4.0", "pydantic_settings==2.15.0", ]
Failing Python Code
dev-dependencies = [
"ruff==0.14.14",
"tokencost==0.1.26",
"build==1.4.0",
"pytest==9.0.2",
"pytest-asyncio==1.3.0",
"pytest-httpserver==1.1.3",
"fastapi==0.128.0",
"inngest==0.5.15",
"uvicorn==0.40.0",
"ipdb==0.13.13",
"pre-commit==4.5.1",
"codespell==2.4.1",
"pyright==1.1.408",
"ty==0.0.14",
"pytest-xdist==3.8.0",
"lmnr[all]==0.7.42",
# "pytest-playwright-asyncio>=0.7.0", # not actually needed I think
"pytest-timeout==2.4.0",
"pydantic_settings==2.15.0",
]
LLM Model
No response
Operating System & Browser Versions
No response
Full DEBUG Log Output
Source: browser-use/browser-use