nvidia-nat-test 1.3.0rc4__py3-none-any.whl → 1.3.0rc5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nvidia-nat-test might be problematic. Click here for more details.
- nat/test/plugin.py +27 -0
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/METADATA +2 -2
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/RECORD +8 -8
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/WHEEL +0 -0
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/licenses/LICENSE.md +0 -0
- {nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/top_level.txt +0 -0
nat/test/plugin.py
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import os
|
|
17
17
|
import subprocess
|
|
18
|
+
import types
|
|
18
19
|
import typing
|
|
19
20
|
from collections.abc import AsyncGenerator
|
|
20
21
|
from collections.abc import Generator
|
|
@@ -223,6 +224,32 @@ def azure_openai_keys_fixture(fail_missing: bool):
|
|
|
223
224
|
fail_missing=fail_missing)
|
|
224
225
|
|
|
225
226
|
|
|
227
|
+
@pytest.fixture(name="wandb_api_key", scope='session')
|
|
228
|
+
def wandb_api_key_fixture(fail_missing: bool):
|
|
229
|
+
"""
|
|
230
|
+
Use for integration tests that require a Weights & Biases API key.
|
|
231
|
+
"""
|
|
232
|
+
yield require_env_variables(
|
|
233
|
+
varnames=["WANDB_API_KEY"],
|
|
234
|
+
reason="Weights & Biases integration tests require the `WANDB_API_KEY` environment variable to be defined.",
|
|
235
|
+
fail_missing=fail_missing)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
@pytest.fixture(name="weave", scope='session')
|
|
239
|
+
def require_weave_fixture(fail_missing: bool) -> types.ModuleType:
|
|
240
|
+
"""
|
|
241
|
+
Use for integration tests that require Weave to be running.
|
|
242
|
+
"""
|
|
243
|
+
try:
|
|
244
|
+
import weave
|
|
245
|
+
return weave
|
|
246
|
+
except Exception as e:
|
|
247
|
+
reason = "Weave must be installed to run weave based tests"
|
|
248
|
+
if fail_missing:
|
|
249
|
+
raise RuntimeError(reason) from e
|
|
250
|
+
pytest.skip(reason=reason)
|
|
251
|
+
|
|
252
|
+
|
|
226
253
|
@pytest.fixture(name="require_docker", scope='session')
|
|
227
254
|
def require_docker_fixture(fail_missing: bool) -> "DockerClient":
|
|
228
255
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-test
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.0rc5
|
|
4
4
|
Summary: Testing utilities for NeMo Agent toolkit
|
|
5
5
|
Author: NVIDIA Corporation
|
|
6
6
|
Maintainer: NVIDIA Corporation
|
|
@@ -16,7 +16,7 @@ Requires-Python: <3.14,>=3.11
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE-3rd-party.txt
|
|
18
18
|
License-File: LICENSE.md
|
|
19
|
-
Requires-Dist: nvidia-nat==v1.3.0-
|
|
19
|
+
Requires-Dist: nvidia-nat==v1.3.0-rc5
|
|
20
20
|
Requires-Dist: langchain-community~=0.3
|
|
21
21
|
Requires-Dist: pytest~=8.3
|
|
22
22
|
Dynamic: license-file
|
|
@@ -5,14 +5,14 @@ nat/test/functions.py,sha256=ZxXVzfaLBGOpR5qtmMrKU7q-M9-vVGGj3Xi5mrw4vHY,3557
|
|
|
5
5
|
nat/test/llm.py,sha256=f6bz6arAQjhjuOKFrLfu_U1LbiyFzQmpM-q8b-WKSrU,9550
|
|
6
6
|
nat/test/memory.py,sha256=xki_A2yiMhEZuQk60K7t04QRqf32nQqnfzD5Iv7fkvw,1456
|
|
7
7
|
nat/test/object_store_tests.py,sha256=PyJioOtoSzILPq6LuD-sOZ_89PIcgXWZweoHBQpK2zQ,4281
|
|
8
|
-
nat/test/plugin.py,sha256=
|
|
8
|
+
nat/test/plugin.py,sha256=_lvtcIlik9_khvxv3Z0YaNY_zUSwQrSTwBLdkYWOO20,18179
|
|
9
9
|
nat/test/register.py,sha256=o1BEA5fyxyFyCxXhQ6ArmtuNpgRyTEfvw6HdBgECPLI,897
|
|
10
10
|
nat/test/tool_test_runner.py,sha256=SxavwXHkvCQDl_PUiiiqgvGfexKJJTeBdI5i1qk6AzI,21712
|
|
11
11
|
nat/test/utils.py,sha256=Lml187P9SUP3IB_HhBaU1XNhiljcpOFFZOAxgQR1vQo,5936
|
|
12
|
-
nvidia_nat_test-1.3.
|
|
13
|
-
nvidia_nat_test-1.3.
|
|
14
|
-
nvidia_nat_test-1.3.
|
|
15
|
-
nvidia_nat_test-1.3.
|
|
16
|
-
nvidia_nat_test-1.3.
|
|
17
|
-
nvidia_nat_test-1.3.
|
|
18
|
-
nvidia_nat_test-1.3.
|
|
12
|
+
nvidia_nat_test-1.3.0rc5.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
13
|
+
nvidia_nat_test-1.3.0rc5.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
14
|
+
nvidia_nat_test-1.3.0rc5.dist-info/METADATA,sha256=ZaVNW-iOPV0oZjBpjZWDuozbtNaOj-GtN_GjEclFTqw,1914
|
|
15
|
+
nvidia_nat_test-1.3.0rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
16
|
+
nvidia_nat_test-1.3.0rc5.dist-info/entry_points.txt,sha256=7dOP9XB6iMDqvav3gYx9VWUwA8RrFzhbAa8nGeC8e4Y,99
|
|
17
|
+
nvidia_nat_test-1.3.0rc5.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
18
|
+
nvidia_nat_test-1.3.0rc5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nvidia_nat_test-1.3.0rc4.dist-info → nvidia_nat_test-1.3.0rc5.dist-info}/licenses/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|