Python sdk workflow#1811
Conversation
Add a GitHub Actions workflow (sdk-python-release.yml) to manually publish the apip-sdk-core package to PyPI. The workflow validates a MAJOR.MINOR.PATCH version input, pins the project version with hatch, builds sdist and wheel, runs twine checks and smoke tests, uploads artifacts, creates a git tag, publishes to PyPI using PYPI_API_TOKEN, and creates a GitHub release with changelog notes. Also update sdk-python/pyproject.toml to point the Homepage URL to the WSO2 product page.
Replace hatch-based version pinning with a sed substitution and explicit verification. The workflow no longer installs or calls hatch; instead it updates the version field in pyproject.toml, checks the change with grep (emitting an actions error and exiting if it fails), and echoes the pinned version. Build steps remain unchanged.
Python sdk workflow
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 8 minutes and 49 seconds.Comment |
Purpose
fix #1712
related PR: #1807