Skip to content

Python sdk workflow#1811

Merged
renuka-fernando merged 4 commits intomainfrom
python-policy-engine
Apr 29, 2026
Merged

Python sdk workflow#1811
renuka-fernando merged 4 commits intomainfrom
python-policy-engine

Conversation

@renuka-fernando
Copy link
Copy Markdown
Contributor

Purpose

fix #1712
related PR: #1807

sehan-dissanayake and others added 4 commits April 29, 2026 11:12
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.
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@renuka-fernando has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 8 minutes and 49 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6aa6372e-6147-4642-a90a-e18cf2d1463f

📥 Commits

Reviewing files that changed from the base of the PR and between 3eaa338 and 8011ab1.

📒 Files selected for processing (2)
  • .github/workflows/sdk-python-release.yml
  • sdk-python/pyproject.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch python-policy-engine

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.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 8 minutes and 49 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@renuka-fernando renuka-fernando merged commit 3438cd8 into main Apr 29, 2026
2 checks passed
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.

[Task]: Publish SDK in WSO2 PyPI registry

3 participants