Skip to content

Versioning is hard#7

Merged
rgregg merged 1 commit intomainfrom
fix-deployment-versions
Jan 17, 2026
Merged

Versioning is hard#7
rgregg merged 1 commit intomainfrom
fix-deployment-versions

Conversation

@rgregg
Copy link
Copy Markdown
Owner

@rgregg rgregg commented Jan 17, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 17, 2026 04:26
@rgregg rgregg merged commit 5ca95d4 into main Jan 17, 2026
11 checks passed
@rgregg rgregg deleted the fix-deployment-versions branch January 17, 2026 04:27
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 pull request improves version management for the meshcore-proxy package using setuptools_scm. The changes ensure proper versioning across different build contexts (local development, CI/CD, and Docker builds).

Changes:

  • Added alphabetical ordering to imports in the main package init file
  • Configured a fallback version for setuptools_scm when no git tags are available
  • Added version passing mechanism for Docker builds via build arguments and environment variables

Reviewed changes

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

File Description
src/meshcore_proxy/init.py Reordered imports alphabetically (PackageNotFoundError before version)
pyproject.toml Added fallback_version configuration for setuptools_scm
Dockerfile Added ARG and ENV for version passing to setuptools_scm during Docker builds
.github/workflows/ci.yml Added version setting steps for both package builds and Docker image builds when building from tags

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

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