Skip to content

Conversation

@masenf
Copy link
Collaborator

@masenf masenf commented Jan 26, 2026

allow newer version of packaging to avoid conflict with hatchling build system requirements

allow newer version of packaging to avoid conflict with hatchling build system
requirements
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 26, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing masenf/packaging-bump (a3bc907) with main (be43052)

Summary

✅ 8 untouched benchmarks

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 26, 2026

Greptile Overview

Greptile Summary

Updated the packaging dependency upper bound from <26 to <27 to resolve version conflicts with hatchling's build system requirements.

  • Changed dependency spec: packaging >=24.2,<26packaging >=24.2,<27
  • Regenerated uv.lock with updated resolution markers for Python 3.14 and platform-specific targets (win32, emscripten)
  • No code changes required; Reflex only uses stable packaging.version APIs (version.parse() and version.Version)
  • Change is backwards compatible and low-risk

Confidence Score: 5/5

  • Safe to merge with minimal risk - simple dependency version bump with no breaking changes
  • This is a straightforward dependency version update that only relaxes the upper bound constraint. The packaging library has a stable API, and Reflex only uses basic version parsing functionality (version.parse() and version.Version) which has been stable for years. The lockfile was properly regenerated, and no code changes are needed.
  • No files require special attention

Important Files Changed

Filename Overview
pyproject.toml Bumped packaging dependency upper bound from <26 to <27 to resolve build system conflicts with hatchling
uv.lock Lockfile regenerated with updated dependency resolution markers and package versions

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant UV as UV Package Manager
    participant PyPI as PyPI Registry
    participant Hatch as Hatchling Build System
    
    Dev->>UV: Update packaging upper bound to <27
    UV->>PyPI: Resolve dependency tree
    PyPI-->>UV: Return compatible versions
    UV->>UV: Check packaging compatibility
    Note over UV: packaging >=24.2,<27 now compatible
    UV->>Hatch: Verify build system requirements
    Hatch-->>UV: Requirements satisfied
    UV->>UV: Generate uv.lock with new resolution markers
    Note over UV: Added platform-specific markers (win32, emscripten)
    UV-->>Dev: Dependency resolution complete
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

No files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@masenf masenf merged commit 8c22cd7 into main Jan 27, 2026
47 checks passed
@masenf masenf deleted the masenf/packaging-bump branch January 27, 2026 01:39
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