Skip to content

Re-enable Python generation and shift to PyPI releases#4635

Draft
dschwartz-ftadvisory wants to merge 33 commits into
finos:masterfrom
cdmflow:feature/master-Python-Update
Draft

Re-enable Python generation and shift to PyPI releases#4635
dschwartz-ftadvisory wants to merge 33 commits into
finos:masterfrom
cdmflow:feature/master-Python-Update

Conversation

@dschwartz-ftadvisory
Copy link
Copy Markdown

Summary

Re-enables CDM's Python code generation using the newly released rune-python-generator and moves Python artifact distribution from Maven Central to PyPI, the Python community standard (Issue #3239).

What's New

The updated generator:

  • Generates Python from Rune defined functions (Python Function Support #4224)
  • Protects against namespace collisions (Python: Top Level Package Name Collision Prevention #4584)
  • Adds support for previously missing collection and list operators: sort, min, max, reduce, distinct, flatten, reverse, sum, one-of
  • Fixes circular references in inheritance and attribute handling
  • Completes support for type aliases
  • Refactors object, attribute, and expression generation

Breaking Changes

  • Consistent with the outcome of the recent CDM community survey, distribution to Maven Central is discontinued. Downstream consumers should migrate to PyPI.

Known Limitations

  • No support for functions natively defined in Java
  • No support for the recent code list changes

@dschwartz-ftadvisory dschwartz-ftadvisory requested a review from a team as a code owner April 24, 2026 15:20
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for finos-cdm ready!

Name Link
🔨 Latest commit bf0cada
🔍 Latest deploy log https://app.netlify.com/projects/finos-cdm/deploys/6a0335b7a4941b0008dac1f8
😎 Deploy Preview https://deploy-preview-4635--finos-cdm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 24, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@dschwartznyc dschwartznyc force-pushed the feature/master-Python-Update branch from 8e9fcbb to 32188db Compare April 24, 2026 15:23
@dschwartz-ftadvisory dschwartz-ftadvisory marked this pull request as draft April 24, 2026 15:24
@dschwartz-ftadvisory dschwartz-ftadvisory marked this pull request as ready for review April 24, 2026 15:24
@dschwartznyc dschwartznyc force-pushed the feature/master-Python-Update branch from e4ee6c0 to 4c040aa Compare April 24, 2026 15:25
@dschwartznyc dschwartznyc force-pushed the feature/master-Python-Update branch from 0579c1d to 85dc8cb Compare April 25, 2026 18:40
@dschwartznyc
Copy link
Copy Markdown
Contributor

@CDM-ReleaseManagement-AP this PR changes the distribution for the Python implementation to PyPI. Please contact @plamen-neykov if there are any issues.

@dschwartznyc dschwartznyc added the technical Eg DSL, mapping, or reference data update; Individual maintainer may approve; TAWG may be consulted label Apr 30, 2026
sync with origin head
@hugohills-regnosys hugohills-regnosys marked this pull request as draft May 7, 2026 09:49
@ReleaseManagement-BP
Copy link
Copy Markdown
Contributor

@dschwartznyc reaching out regarding having the 6.x.x PR created for release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Eg DSL, mapping, or reference data update; Individual maintainer may approve; TAWG may be consulted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants