{"id":23102,"library":"galaxy-release-util","title":"Galaxy Release Utility","description":"Utility for various tasks around creating Galaxy releases. Currently at version 0.3.2, with Python >=3.8 required. Maintained by the Galaxy Project; release cadence is irregular.","status":"active","version":"0.3.2","language":"python","source_language":"en","source_url":"https://github.com/galaxyproject/galaxy-release-util","tags":["galaxy","release","utilities","devops"],"install":[{"cmd":"pip install galaxy-release-util","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Correct import path for point release creation.","symbol":"create_point_release","correct":"from galaxy_release_util.create_point_release import create_point_release"},{"note":"Correct import for bootstrapping history.","symbol":"bootstrap_history","correct":"from galaxy_release_util.bootstrap_history import bootstrap_history"}],"quickstart":{"code":"from galaxy_release_util.create_point_release import create_point_release\ncreate_point_release('22.01', '22.01.1', github_token=os.environ.get('GITHUB_TOKEN', ''))","lang":"python","description":"Create a point release for Galaxy version 22.01 to 22.01.1 using a GitHub token from environment."},"warnings":[{"fix":"Set the GITHUB_TOKEN environment variable or pass it explicitly. Token must have 'repo' scope.","message":"The GitHub token must have appropriate permissions (repo scope) to create releases and issues. Without a token with sufficient rights, release creation will fail with a 403 error.","severity":"gotcha","affected_versions":"all"},{"fix":"Remove the `dry_run` argument from calls; use conditional logic if needed.","message":"In version 0.3.0, the signature of `create_point_release` changed; the `dry_run` parameter was removed. Code relying on dry_run will break.","severity":"breaking","affected_versions":">=0.3.0"},{"fix":"Use underscores in imports: `from galaxy_release_util import ...`","message":"The package uses underscores in module names (e.g., `create_point_release`). When importing, replace hyphens with underscores. Common mistake: `from galaxy-release-util import ...` which is invalid syntax.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from galaxy_release_util import ...` instead of `galaxy-release-util`.","cause":"Attempting to import using hyphens (Python package names use underscores).","error":"ModuleNotFoundError: No module named 'galaxy-release-util'"},{"fix":"Use `from galaxy_release_util.create_point_release import create_point_release`.","cause":"Importing the top-level module instead of the specific submodule.","error":"AttributeError: module 'galaxy_release_util' has no attribute 'create_point_release'"},{"fix":"Remove `dry_run` from the call. If you need a dry run, implement your own logic.","cause":"The `dry_run` parameter was removed in version 0.3.0.","error":"TypeError: create_point_release() got an unexpected keyword argument 'dry_run'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}