← Back to issue list

fix(test): add ops>=2.0.0 to uv constraint-dependencies

View original Github issue

Metadata

Project
charmcraft
Number
#2829
Type
pull request
State
merged
Author
Copilot
Labels
Created
Updated
Closed

Current evaluation

Added ops>=2.0.0 to uv constraint-dependencies in pyproject.toml and the uv_project test fixture. Incorporated reviewer feedback to constrain pyyaml>=5 and fix formatting. Approved by three reviewers and merged.

Suggested action:

No scores available.

Issue body

Prevents uv from ever resolving `ops<2.0.0` as a transitive dependency. ## Changes - Added `"ops>=2.0.0"` to `constraint-dependencies` in `[tool.uv]` of `pyproject.toml`

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Added ops>=2.0.0 to uv constraint-dependencies in pyproject.toml and the uv_project test fixture. Incorporated reviewer feedback to constrain pyyaml>=5 and fix formatting. Approved by three reviewers and merged.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Adds ops>=2.0.0 constraint to uv dependencies and pyyaml>=5 in test fixtures. Approved by 3 reviewers, CI mostly passing, awaiting final checks.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Adds ops>=2.0.0 constraint to uv dependencies and updates test fixtures per reviewer feedback. Approved by two reviewers, CI mostly passing, ready for merge.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 95
needs review Adds ops>=2.0.0 constraint to uv_project fixture and pyproject.toml to prevent older version resolution. All reviewer feedback addressed, approved, and CI passing.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 5
Confidence: 90
needs review Constrains ops>=2.0.0 and pyyaml>=5 in pyproject.toml and test fixtures to prevent outdated transitive dependencies. Currently awaiting maintainer review with all requested changes addressed and CI checks pending.
qwen/qwen3.6-35b-a3b
Staleness: 0
Complexity: 5
Confidence: 90
needs review Adds ops>=2.0.0 and pyyaml>=5 constraints to pyproject.toml and test fixtures to prevent older transitive dependency resolution. Currently under active review with 0 reviewers, CI failing on lint, and pending checks.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 10
Confidence: 90
needs review Adds ops>=2.0.0 to uv constraint-dependencies and updates the uv_project test fixture to enforce the minimum version. Currently pending maintainer review with passing CI.
qwen/qwen3.6-35b-a3b
Staleness: 0
Complexity: 0
Confidence: 90
needs review Adds ops>=2.0.0 constraint to uv configuration in pyproject.toml to prevent resolving older versions. Currently pending review with passing CI checks.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#2545 fix(templates): match 'uv add' order of lint fields in pyproject.toml charmcraft merged Merged a fix updating pyproject.toml field ordering in kubernetes and machine profiles to align with uv add, preventing unnecessary diffs. Approved by two reviewers and merged after CI validation.
72%
#396 feat(lint): add uv lockfile linter starbase merged Merged changes adding a lint-uv-lockfile make target to validate uv.lock against pyproject.toml. Approved by two reviewers and passed all CI checks.
72%
#5488 build: remove unnecessary constraints snapcraft merged Merged PR removes unnecessary dependency constraints from pyproject.toml. Updated after a reviewer noted PyYAML 6.0.1 natively supports Cython 3. Approved by two reviewers with all CI checks passing.
71%