diff --git a/pyproject.toml b/pyproject.toml index ba4551de..d336869b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,13 +23,15 @@ diagrams = "diagrams.cli:main" Homepage = "https://diagrams.mingrammer.com" Repository = "https://github.com/mingrammer/diagrams" -[tool.poetry.group.dev.dependencies] -pytest = "^8.3" -pylint = "^3.3" -rope = "^1.13" -isort = "^6.0" -black = "^24.4" -pre-commit = "^4.0" +[tool.hatch.envs.dev] +dependencies = [ + "pytest>=8.3,<9", + "pylint>=3.3,<4", + "rope>=1.13,<2", + "isort>=6.0,<7", + "black>=24.4,<25", + "pre-commit>=4.0,<5", +] # The wheel ships the package and the icon tree it loads at runtime, and nothing # else. `resources` is a top-level directory because diagrams.Node._load_icon