Skip to content

Conversation

@paikend
Copy link
Collaborator

@paikend paikend commented Aug 28, 2025

Overview

Add setuptools auto-generated _version.py files to .gitignore to prevent them from being tracked in version control.

Key Changes

  • Added src/*/_version.py pattern to .gitignore
  • Prevents setuptools auto-generated version files from being committed

Related Issues

  • Relates to build pipeline optimization and preventing auto-generated file conflicts

Additional context

The _version.py files are automatically generated by setuptools during the package build process in the release pipeline. These files should not be tracked in version control as they:

  • Are build artifacts, not source code
  • Can cause conflicts between local builds and CI/CD pipeline
  • Are regenerated on each build with potentially different content
  • Follow the same pattern as other build artifacts already ignored (*.egg-info/, build/, dist/)

Copy link
Collaborator

@S0okJu S0okJu left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@paikend paikend merged commit e6c9338 into develop Aug 29, 2025
6 checks passed
halucinor pushed a commit that referenced this pull request Oct 23, 2025
halucinor pushed a commit that referenced this pull request Oct 24, 2025
@halucinor halucinor deleted the paikend-patch-1 branch October 30, 2025 10:46
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.

3 participants