Skip to content

Fix auto#150

Merged
bckohan merged 2 commits intomainfrom
fix_auto
Feb 9, 2026
Merged

Fix auto#150
bckohan merged 2 commits intomainfrom
fix_auto

Conversation

@bckohan
Copy link
Owner

@bckohan bckohan commented Feb 9, 2026

closes #149

Copilot AI review requested due to automatic review settings February 9, 2026 22:07
Copy link
Contributor

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 bumps the enum-properties package version and includes a targeted fix to ensure enum.auto() values are captured/resolved correctly when enum members are assigned in certain inheritance-related scenarios.

Changes:

  • Bump project/package version from 2.5.0 to 2.5.1 (including changelog + lockfile).
  • Update EnumPropertiesMeta.__prepare__’s _PropertyEnumDict.__setitem__ to capture the post-processed value after delegating assignment to the underlying EnumDict when auto() is involved.
  • Refresh uv.lock with updated resolved dependency versions (notably coverage and parso).

Reviewed changes

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

File Description
src/enum_properties/__init__.py Version bump + logic to capture resolved auto() values after EnumDict assignment.
pyproject.toml Project version bump to 2.5.1.
doc/source/changelog.rst Add v2.5.1 changelog entry referencing issue #149.
uv.lock Lockfile updates reflecting the new version and refreshed dependency resolution.

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

@bckohan bckohan merged commit f0eddc6 into main Feb 9, 2026
31 checks passed
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.

In some inheritance scenarios auto() values are not resolved correctly.

1 participant