Skip to content

chore(build): restore dynamic versioning setup#74

Merged
RedEye1605 merged 1 commit into
mainfrom
chore/dynamic-versioning
Oct 25, 2025
Merged

chore(build): restore dynamic versioning setup#74
RedEye1605 merged 1 commit into
mainfrom
chore/dynamic-versioning

Conversation

@RedEye1605
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings October 25, 2025 03:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restores dynamic versioning setup by moving the dynamic = ["version"] declaration to its proper location in pyproject.toml, aligning the fallback version format across configuration files, and ensuring CI workflows fetch complete git history for version determination via setuptools_scm.

Key changes:

  • Relocated dynamic = ["version"] from after dependencies to the main project section
  • Standardized fallback version format to "0.0+unknown" across pyproject.toml and version.py
  • Updated GitHub Actions workflows to fetch full git history (fetch-depth: 0)

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
pyproject.toml Moved dynamic version declaration to proper location and added fallback_version configuration
leksara/version.py Updated fallback version string to match setuptools_scm format
.github/workflows/python-publish.yml Added fetch-depth: 0 to checkout actions and updated to v4
.github/workflows/python-package.yml Added fetch-depth: 0 to checkout action

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RedEye1605 RedEye1605 merged commit 36cbcc2 into main Oct 25, 2025
7 checks passed
@RedEye1605 RedEye1605 deleted the chore/dynamic-versioning branch October 25, 2025 03:12
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.

2 participants