-
Notifications
You must be signed in to change notification settings - Fork 539
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 2.57 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (59 loc) · 2.57 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
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nemo-gym-k8s-agent-sandbox"
description = "NVIDIA NeMo Gym sandbox provider backed by Kubernetes agent-sandbox warm pools."
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
# This package's own floor. nemo-gym publishes requires-python >=3.13.14 —
# no released 3.13.x satisfies that (3.14+ does), and it appears in upstream's
# source pyproject too, so it is likely a typo for >=3.13.1 that only they can
# fix. We deliberately do NOT mirror it: on 3.13.x pip surfaces the rejection
# from nemo-gym's own metadata, and this wheel starts working the moment
# upstream relaxes theirs — no re-release needed here.
requires-python = ">=3.13"
dependencies = [
# The provider instantiates NeMo Gym's provider-neutral types (SandboxHandle,
# SandboxExecResult, ...) and error classes; the SandboxProvider protocol and the
# entry-point registry both ship in nemo-gym 0.5.0.
"nemo-gym>=0.5.0",
# ~=0.5.1: create_sandbox(volume_claim_templates=...) landed in 0.5.1 and the
# provider passes it unconditionally.
"k8s-agent-sandbox[async]~=0.5.1",
]
[project.urls]
Homepage = "https://github.com/kubernetes-sigs/agent-sandbox/tree/main/clients/integrations/nemo-gym"
Repository = "https://github.com/kubernetes-sigs/agent-sandbox"
Documentation = "https://github.com/kubernetes-sigs/agent-sandbox/tree/main/clients/integrations/nemo-gym"
# NeMo Gym discovers third-party sandbox providers through this entry-point group
# (see nemo_gym/sandbox/providers/registry.py). Installing this package next to
# nemo-gym makes `agent_sandbox` a valid provider name with no registration code.
[project.entry-points."nemo_gym.sandbox_providers"]
agent_sandbox = "nemo_gym_k8s_agent_sandbox.provider:AgentSandboxProvider"
[dependency-groups]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21.0",
]
[tool.setuptools.packages.find]
include = ["nemo_gym_k8s_agent_sandbox*"]
exclude = ["tests*"]
[tool.setuptools.exclude-package-data]
# setuptools_scm automatically bundles tracked files as package data.
# We need to explicitly exclude test directories and files from being bundled.
"*" = ["test/*", "tests/*", "*/test/*", "*/tests/*", "test_*.py", "*_test.py"]
[tool.setuptools_scm]
root = "../../.."
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"