Skip to content

Conversation

@AhmadYasser1
Copy link

@AhmadYasser1 AhmadYasser1 commented Oct 22, 2025

Summary
• Move plugin version to [project].version in pyproject.toml for: openai, mongodb, sql.
• Remove [tool.setuptools.dynamic] version mapping.
• In package init.py, derive version from installed distribution via importlib.metadata (fallback to 0.0.0 if not installed).

Why
Per #2722, modern packaging recommends declaring version in pyproject.toml rather than init.py. This change aligns plugins with the main project and simplifies packaging.

Notes
• No runtime behavior changes expected.
• Kept version available for importers.
• Tested locally: packages install/editable and import version resolves from distribution.

Follow-ups
• Apply the same change across remaining plugins once this approach is approved.

Refs: #2722

…t.toml and read via importlib.metadata\n\n- Set explicit version in pyproject.toml for openai, mongodb, sql\n- Remove [tool.setuptools.dynamic] version mapping\n- __init__: derive __version__ from installed distribution\n\nRefs: superduper-io#2722
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.

1 participant