Skip to content

feat: Integrate Python SDK into the monorepo - #1790

Merged
spetz merged 8 commits into
apache:masterfrom
security-union:feature/add-python-client
May 21, 2025
Merged

spetz merged 8 commits into
apache:masterfrom
security-union:feature/add-python-client

Conversation

@darioalessandro

@darioalessandro darioalessandro commented May 15, 2025 •

Copy link
Copy Markdown
Contributor

Summary

This PR integrates the Python SDK from @foreign/python into the monorepo's CI system. The changes adapt the SDK's maturin-generated workflow to work properly within the monorepo structure while preserving all original functionality.

Changes

Added python-sdk detection to .github/changed-files-config.json to enable PR validation
Created a new workflow file .github/workflows/ci-check-python-sdk.yml that:
Preserves the complete maturin-based build system
Builds the SDK for all platforms (Linux, macOS, Windows)
Supports multiple architectures (x86_64, aarch64)
Runs tests
Generates source distributions
Handles PyPI releases (via python-v* tags)
Adapted all paths and directories to work within the monorepo structure
Added workflow triggers for monorepo PR validation
Updated PyO3 to solve clippy warnings per rust-lang/rust-clippy#12039

Testing

The workflow has been configured to:
Trigger on PR changes affecting Python SDK files
Build and test the SDK in the monorepo context
Support the original release process

@darioalessandro darioalessandro changed the title [WIP] Feature/add python client [WIP] Integrate Python SDK into the monorepo May 15, 2025
@darioalessandro darioalessandro changed the title [WIP] Integrate Python SDK into the monorepo feat: Integrate Python SDK into the monorepo May 15, 2025
spetz
spetz previously approved these changes May 15, 2025
@spetz spetz added sdk Change related to sdk (client) API python Pull requests that update Python code labels May 18, 2025
@spetz
spetz merged commit 5a86d24 into apache:master May 21, 2025
@darioalessandro
darioalessandro deleted the feature/add-python-client branch May 21, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code sdk Change related to sdk (client) API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants