Skip to content

Publish NeMo Gym to PyPI #441

Closed
Closed

Description

@cwing-nvidia

Summary

Set up PyPI publishing so users can install NeMo Gym via pip install nemo-gym.

Requirements

  • Create PyPI project for nemo-gym
  • Configure trusted publishing via GitHub Actions (preferred over API tokens)
  • Add release workflow (.github/workflows/publish.yml)
  • Test with TestPyPI before production release
  • Document release process

Context

  • Package metadata is already configured in pyproject.toml
  • Version is managed in nemo_gym/package_info.py
  • Build system: setuptools with python -m build

References

Activity

  1. added
    repo-tooling
    on Dec 5, 2025
  2. added theissue type on Dec 5, 2025
  3. cmunley1 commented on Jan 29, 2026

    @cmunley1
    Contributor

    related: #625

  4. self-assigned this
    on Feb 25, 2026
  5. bxyu-nvidia commented on Feb 27, 2026

    @bxyu-nvidia
    Contributor

    Still need to resolve merge conflicts with Gym main and to add tests for the behavior necessary for pypi package

  6. removed their assignment
    on Feb 27, 2026
  7. cmunley1 commented on Mar 2, 2026

    @cmunley1
    Contributor
  8. linked a pull request that will close this issuepypi compatibility #649on Mar 6, 2026
  9. bxyu-nvidia commented on Mar 6, 2026

    @bxyu-nvidia
    Contributor

    You can test like this:

    uv pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ nemo-gym==0.2.3042rc0
    create local resources server (eg copy one from NeMo Gym and make small change)
    run rollouts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

close-confirm-donerepo-tooling

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions