generated from IBM/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Summary
Request to publish elmclient to PyPI more frequently and with a predictable release cadence, so users can reliably pip install elmclient and get recent fixes.
Current Situation
- The latest version on PyPI appears to be older than what's on the
masterbranch (currently at 0.37.0 on GitHub) - Users who need recent bug fixes (e.g., the XML pretty-printing fix from PR fix: XML pretty-printing crash for non-ASCII in httpops #123) must install directly from git:
pip install git+https://github.com/IBM/ELM-Python-Client.git - There's no CI/CD pipeline for automated PyPI publishing
Proposal
- Publish the current 0.37.0 to PyPI so users get the latest fixes
- Consider adding a GitHub Actions workflow for automated publishing on tagged releases
- Adopt a release cadence (e.g., publish after each version bump)
Example GitHub Actions workflow
A simple workflow that publishes to PyPI on tagged releases:
name: Publish to PyPI
on:
push:
tags: ['v*']
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install build twine
- run: python -m build
- run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}Why This Matters
Downstream projects (including MCP servers, automation tools, and CI pipelines) depend on elmclient being available and up-to-date on PyPI. Installing from git is fragile for production use.
We're happy to contribute a PR with the GitHub Actions workflow if that would help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels