Skip to content

pypi fixes for 0.2.1 patch release - #1079

Closed
kajalj22 wants to merge 1 commit into
v0.2.0from
kajalj/patch-0.2.1-v4
Closed

kajalj22 wants to merge 1 commit into
v0.2.0from
kajalj/patch-0.2.1-v4

Conversation

@kajalj22

Copy link
Copy Markdown
Contributor

Fixes known PyPI install compatibility issues.

  • Fixed ModuleNotFoundError: No module named 'scripts' on PyPI install

  • Moved ResourcesServerMetadata from scripts/ to nemo_gym.server_metadata

  • ng_init_resources_server templates are now bundled inside the package so they work from any current working directory

  • ng_init_resources_server now accepts relative paths (for example ../../resources_servers/my_server) and computes correct requirements.txt paths

  • ng_run resolves server directories from the current working directory first, then falls back to the install location for built-in servers. Local servers take priority

  • ng_collect_rollouts resolves input_jsonl_fpath from the current working directory, then the install location, so built-in example data works without copying files

  • Env vars for local testing

  • Github workflow for testing wheel gated by label

  • CVE package bumps

  • Added PyPI install documentation page

  • Unit tests

  • ng_run and ng_collect_rollouts with local editable install (reasoning_gym)

  • ng_run and ng_collect_rollouts with built-in PyPI server (arc_agi)

  • ng_init, ng_run, and ng_collect_rollouts with a new local server alongside built-in agent and model

  • ng_init with a relative path outside the repo (reproduces bug: ng_init_resources_server crashes when using relative paths or used outside Gym root #936)

fix: always send session cookie for starlette >= 1.0.0 (#942)

Bump version to 0.2.1 and make wheel test mandatory (#1065)

  • Makes the test-wheel-install CI job run on every PR by removing the conditional gate that required the test-wheel label or workflow_call trigger. This prevents broken wheels from being published again.

Fixes known PyPI install compatibility issues.

- Fixed `ModuleNotFoundError: No module named 'scripts'` on PyPI install
- Moved `ResourcesServerMetadata` from `scripts/` to
`nemo_gym.server_metadata`
- `ng_init_resources_server` templates are now bundled inside the
package so they work from any current working directory
- `ng_init_resources_server` now accepts relative paths (for example
`../../resources_servers/my_server`) and computes correct
`requirements.txt` paths
- `ng_run` resolves server directories from the current working
directory first, then falls back to the install location for built-in
servers. Local servers take priority
- `ng_collect_rollouts` resolves `input_jsonl_fpath` from the current
working directory, then the install location, so built-in example data
works without copying files
- Env vars for local testing
- Github workflow for testing wheel gated by label
- CVE package bumps
- Added PyPI install documentation page

- Unit tests
- `ng_run` and `ng_collect_rollouts` with local editable install
(`reasoning_gym`)
- `ng_run` and `ng_collect_rollouts` with built-in PyPI server
(`arc_agi`)
- `ng_init`, `ng_run`, and `ng_collect_rollouts` with a new local server
alongside built-in agent and model
- `ng_init` with a relative path outside the repo (reproduces #936)

Bump version to 0.2.1 and make wheel test mandatory (#1065)

- Makes the `test-wheel-install` CI job run on **every PR** by removing
the conditional gate that required the `test-wheel` label or
`workflow_call` trigger. This prevents broken wheels from being
published again.

Signed-off-by: Kajal Jain <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>

fix: always send session cookie for starlette >= 1.0.0 (#942)

Signed-off-by: cmunley1 <[email protected]>
Signed-off-by: Kajal Jain <[email protected]>
@kajalj22
kajalj22 requested a review from a team as a code owner April 15, 2026 19:51
@copy-pr-bot

copy-pr-bot Bot commented Apr 15, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@kajalj22
kajalj22 requested review from bxyu-nvidia and cmunley1 and removed request for bxyu-nvidia April 15, 2026 19:52
@kajalj22
kajalj22 marked this pull request as draft April 15, 2026 19:52
@kajalj22
kajalj22 marked this pull request as ready for review April 15, 2026 19:55
@kajalj22
kajalj22 requested a review from bxyu-nvidia April 15, 2026 19:56
@kajalj22

Copy link
Copy Markdown
Contributor Author

Superseded by #1081 (rebased on v0.2.0 branch to resolve merge conflict).

@kajalj22 kajalj22 closed this Apr 15, 2026
chtruong814 pushed a commit that referenced this pull request Apr 15, 2026
Fixes known PyPI install compatibility issues.

- Fixed `ModuleNotFoundError: No module named 'scripts'` on PyPI install
- Moved `ResourcesServerMetadata` from `scripts/` to
`nemo_gym.server_metadata`
- `ng_init_resources_server` templates are now bundled inside the
package so they work from any current working directory
- `ng_init_resources_server` now accepts relative paths (for example
`../../resources_servers/my_server`) and computes correct
`requirements.txt` paths
- `ng_run` resolves server directories from the current working
directory first, then falls back to the install location for built-in
servers. Local servers take priority
- `ng_collect_rollouts` resolves `input_jsonl_fpath` from the current
working directory, then the install location, so built-in example data
works without copying files
- Env vars for local testing
- Github workflow for testing wheel gated by label
- CVE package bumps
- Added PyPI install documentation page

## Test plan
- Unit tests
- `ng_run` and `ng_collect_rollouts` with local editable install
(`reasoning_gym`)
- `ng_run` and `ng_collect_rollouts` with built-in PyPI server
(`arc_agi`)
- `ng_init`, `ng_run`, and `ng_collect_rollouts` with a new local server
alongside built-in agent and model
- `ng_init` with a relative path outside the repo (reproduces #936)

fix: always send session cookie for starlette >= 1.0.0 (#942)

Bump version to 0.2.1 and make wheel test mandatory (#1065)

- Makes the `test-wheel-install` CI job run on **every PR** by removing
the conditional gate that required the `test-wheel` label or
`workflow_call` trigger. This prevents broken wheels from being
published again.

Replaces #1079 and #1080 (which had merge conflicts due to diverged
`package_info.py` on the base branch).

Signed-off-by: cmunley1 <[email protected]>
Signed-off-by: Kajal Jain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant