Skip to content

Commit d106c84

Browse files
authored
fix: make dependencies optional (#21)
1 parent ca4bb49 commit d106c84

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ classifiers = [
2626
]
2727

2828
dependencies = [
29-
"attrs>=25.3.0",
30-
"rich>=10",
31-
"typer>=0.15,<1",
3229
"typing-extensions>=4.14.0",
3330
]
31+
optional-dependencies.cli = [
32+
"attrs>=25.3.0",
33+
"rich>=14",
34+
"typer>=0.16",
35+
]
3436
urls."Bug Tracker" = "https://github.com/34j/types-array-api/issues"
3537
urls.Changelog = "https://github.com/34j/types-array-api/blob/main/CHANGELOG.md"
3638
urls.documentation = "https://array-api.readthedocs.io"
@@ -41,9 +43,12 @@ scripts.array-api = "array_api.cli:app"
4143
dev = [
4244
"array-api-compat>=1.11.2",
4345
"array-api-strict>=2.3.1",
46+
"attrs>=25.3.0",
4447
"pytest>=8,<9",
4548
"pytest-cov>=6,<7",
49+
"rich>=14.0.0",
4650
"ruff>=0.11.13",
51+
"typer>=0.16.0",
4752
]
4853
docs = [
4954
"furo>=2023.5.20; python_version>='3.11'",

uv.lock

Lines changed: 15 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)