Skip to content

feat: Integrate Python SDK into the monorepo #1790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 21, 2025

Conversation

darioalessandro
Copy link
Contributor

@darioalessandro darioalessandro commented May 15, 2025

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 labels May 18, 2025
@spetz spetz merged commit 5a86d24 into apache:master May 21, 2025
45 checks passed
@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 sdk Change related to sdk (client) API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants