-
Notifications
You must be signed in to change notification settings - Fork 15
Each adapter is an independent Python package #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dagardner-nv
merged 30 commits into
NVIDIA:main
from
dagardner-nv:david-wheels-inside-of-wheels
Jul 8, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2cfc7bd
Drop support for Python 3.10
dagardner-nv 810d539
Begin tracking the uv.lock file
dagardner-nv 8525fb4
Update docs
dagardner-nv ca74415
Remove unused/redundant pyproject.toml file
dagardner-nv 01ebeb1
First pass at project files for adapters
dagardner-nv 167fd64
WIP
dagardner-nv c79ad9a
Move adapter dependencies down into the toml files for the adapters
dagardner-nv fd753b8
split python packages. The {version} placeholder is setuptools specif…
dagardner-nv 13a1fa3
Remove sys.path manipulation
dagardner-nv 859d37f
Remove old python 3.10 work-around
dagardner-nv 0109f8a
Remove sys.path manipulation fixtures
dagardner-nv b92d6e9
Add jsut recipe for building wheels, and a CI stage
dagardner-nv 6b2c617
Add a just recipe for tracking uv.lock files
dagardner-nv 13a7de0
Add lock files
dagardner-nv 905e889
Remove -> None return hints
dagardner-nv 475fe17
Add runtime extra
dagardner-nv 345b369
Docs is a group not an extra
dagardner-nv b47d278
Set entry points for adapter wheels
dagardner-nv bed27ab
WIP
dagardner-nv 13bff58
Remove command, depend on #! in script
dagardner-nv 6c9d927
Set +x
dagardner-nv ac1cf09
Run the adapter directly
dagardner-nv 911b286
Set 'fetch-depth: 0' for checkouts that require version tags
dagardner-nv aa4b391
Ensure that the adapters are built/installed by default
dagardner-nv 5db8b39
Consolidate the projects array
dagardner-nv ebe35fb
Add build dirs to the clean script [skip ci]
dagardner-nv 5de8302
Revert changes to runtime.rs
dagardner-nv e91f091
Update the adapters to be installed as modules
dagardner-nv fcfd556
Set adapters to python
dagardner-nv f5eedc7
Change the python adapter invocation from 'python <script>' to 'pytho…
dagardner-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| [build-system] | ||
| requires = [ | ||
| "setuptools>=64", | ||
| "setuptools-scm>=8", | ||
| "setuptools_dynamic_dependencies>=1.0.0", | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "nemo-fabric-adapters-codex-cli" | ||
| description = "Codex CLI adapter for NeMo Fabric" | ||
| readme = "README.md" | ||
| requires-python = ">=3.11" | ||
| dynamic = ["version", "dependencies"] | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["src"] | ||
| include = ["nemo_fabric_adapters.codex_cli*"] | ||
|
|
||
| [tool.setuptools.data-files] | ||
| "share/nemo-fabric/adapters/codex-cli" = ["fabric-adapter.json"] | ||
|
|
||
| [tool.setuptools_dynamic_dependencies] | ||
| dependencies = [ | ||
| "nemo-fabric-adapters-common == {version}", | ||
| "tomli-w~=1.2", | ||
| ] | ||
|
|
||
| [tool.uv.sources] | ||
| nemo-fabric-adapters-common = { path = "../common" } | ||
|
|
||
| [tool.setuptools_scm] | ||
| root = "../.." | ||
| git_describe_command = "git describe --long --first-parent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| [build-system] | ||
| requires = [ | ||
| "setuptools>=64", | ||
| "setuptools-scm>=8", | ||
| "setuptools_dynamic_dependencies>=1.0.0", | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "nemo-fabric-adapters-common" | ||
| description = "Shared Python helpers for NeMo Fabric adapters" | ||
| requires-python = ">=3.11" | ||
| dynamic = ["version"] | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["src"] | ||
| include = ["nemo_fabric_adapters.common*"] | ||
|
|
||
| [tool.setuptools_scm] | ||
| root = "../.." | ||
| git_describe_command = "git describe --long --first-parent" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| [build-system] | ||
| requires = [ | ||
| "setuptools>=64", | ||
| "setuptools-scm>=8", | ||
| "setuptools_dynamic_dependencies>=1.0.0", | ||
| ] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "nemo-fabric-adapters-hermes-cli" | ||
| description = "Hermes CLI adapter for NeMo Fabric" | ||
| readme = "README.md" | ||
| requires-python = ">=3.11" | ||
| dynamic = ["version", "dependencies"] | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| where = ["src"] | ||
| include = ["nemo_fabric_adapters.hermes_cli*"] | ||
|
|
||
| [tool.setuptools.data-files] | ||
| "share/nemo-fabric/adapters/hermes-cli" = ["fabric-adapter.json"] | ||
|
|
||
| [tool.setuptools_dynamic_dependencies] | ||
| dependencies = [ | ||
| "nemo-fabric-adapters-common == {version}", | ||
| "pyyaml>=6.0", # needed for writing hermes config files | ||
| "tomli-w~=1.2", # Needed by adapters to write relay config files | ||
| ] | ||
|
|
||
| [tool.uv.sources] | ||
| nemo-fabric-adapters-common = { path = "../common" } | ||
|
|
||
| [tool.setuptools_scm] | ||
| root = "../.." | ||
| git_describe_command = "git describe --long --first-parent" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.