Skip to content

Use dynamic versioning#21

Merged
d33bs merged 1 commit intoWayScience:mainfrom
d33bs:fix-releases
Apr 21, 2026
Merged

Use dynamic versioning#21
d33bs merged 1 commit intoWayScience:mainfrom
d33bs:fix-releases

Conversation

@d33bs
Copy link
Copy Markdown
Member

@d33bs d33bs commented Apr 21, 2026

This fixes dynamic versioning for releases.

Summary by CodeRabbit

  • Chores
    • Updated Python packaging configuration to generate version dynamically from Git instead of using a fixed version string.

@d33bs d33bs merged commit 071e6d2 into WayScience:main Apr 21, 2026
8 of 9 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 53dec2ce-8bb8-4085-b406-4397a34e2be3

📥 Commits

Reviewing files that changed from the base of the PR and between afb99fe and b3e7d63.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • .gitignore
  • pyproject.toml

📝 Walkthrough

Walkthrough

The project has been reconfigured to derive package version dynamically from Git using setuptools-scm and uv-dynamic-versioning, replacing the static version string. The generated version file is added to .gitignore.

Changes

Cohort / File(s) Summary
Version File Exclusion
.gitignore
Added src/iceberg_bioimage/_version.py to ignore list, preventing generated version file from being tracked.
Dynamic Versioning Configuration
pyproject.toml
Replaced static version = "0.0.1" with dynamic versioning. Added setuptools-scm and uv-dynamic-versioning to build requirements. Configured [tool.setuptools_scm] to generate versions from Git and write to src/iceberg_bioimage/_version.py. Added [tool.uv-dynamic-versioning] for semver-style Git-based versioning.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A version born from git's flowing streams,
No hardcoded strings in our build machine!
From tags and commits, our number takes flight,
Dynamic and swift as a rabbit in night. 🌙✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

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

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