-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 2.63 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (76 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "nemo-platform-plugin"
dynamic = ["version"]
description = "Public plugin contract for the NeMo Platform - the only package plugin authors need."
readme = "src/nemo_platform_plugin/README.md"
requires-python = ">=3.11,<3.15"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"anthropic>=0.88.0",
"fastapi>=0.115.4",
"jsonschema>=4.0.0",
"lark>=1.1.0",
"nemo-platform-sdk",
"openai>=1.109.1",
"pydantic>=2.10.3",
"pydantic-settings>=2.8.1",
"pyyaml>=6.0.2",
# Upper bound: typer 0.26.x has a regression where Click sentinel defaults
# for boolean options surface as `AttributeError: 'Sentinel' object has no
# attribute 'strip'` from `BoolParamType.str_to_bool`, breaking commands
# like `nemo services run`. Drop the upper bound once typer ships a fix.
"typer>=0.20.0,<0.26",
]
license = "Apache-2.0"
[project.urls]
Homepage = "https://github.com/NVIDIA-NeMo/nemo-platform"
Source = "https://github.com/NVIDIA-NeMo/nemo-platform/tree/main/packages/nemo_platform_plugin"
Documentation = "https://github.com/NVIDIA-NeMo/nemo-platform/tree/main/packages/nemo_platform_plugin/src/nemo_platform_plugin/docs"
[project.optional-dependencies]
# Generated from [tool.bundle-package]; do not edit by hand.
nemo-platform-sdk = [
"httpx>=0.23.0, <1",
"pydantic>=2.0.0,<3",
"typing-extensions>=4.14, <5",
"anyio>=4.0.0,<5",
"distro>=1.7.0, <2",
"sniffio",
"typer>=0.20.0",
"rich>=13.7.1",
"prompt_toolkit>=3.0.0",
"requests>=2.31.0",
"pyyaml>=6.0.0",
"docker>=7.0.0",
"ngcsdk>=4.8.2",
"nvidia-ml-py>=13.0.0",
"psutil>=5.9.0",
"openai",
"fsspec>=2023.1.0",
]
[tool.uv.sources]
nemo-platform-sdk = { workspace = true }
[build-system]
requires = ["hatchling", "nmp-build-tools"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "regex"
path = "../nmp_common/src/nmp/common/version.py"
pattern = '^platform_sdk_version = "(?P<version>[^"]+)"'
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"
[tool.hatch.build.targets.wheel]
packages = ["src/nemo_platform_plugin"]
[tool.bundle-package]
nemo-platform-sdk = { source = "../../sdk/python/nemo-platform/src/nemo_platform", module = "nemo_platform" }