← Back to issue list

build providers: use PEP-440 compliant version comparison operator

View original Github issue

Metadata

Project
snapcraft
Number
#3215
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3215 (commit 55cbcf6c1) updated build-provider checks to use PEP 440-compliant pkg_resources version comparisons.

Resolution: closed resolved

Reason: PR #3215 was merged, with resolving commit 55cbcf6c1. Its change uses pkg_resources version objects for PEP 440-compliant comparisons, implementing the requested behavior.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Now that we're using PEP-440 compliant versioning, use the version objects provided by pkg_resources for comparison. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3215 (commit 55cbcf6c1) updated build-provider checks to use PEP 440-compliant pkg_resources version comparisons.
stealth/space-bunny-alpha — closed resolved Merged #3215 in commit 55cbcf6c1, updating build-provider checks to compare pkg_resources version objects using PEP 440 semantics.
stealth/space-bunny-alpha — closed resolved Merged #3215 (commit 55cbcf6c1) updated build providers to use pkg_resources version objects for PEP 440-compliant comparisons.
stealth/space-bunny-alpha — closed resolved Merged PR #3215 (commit 55cbcf6c1), replacing build-provider manual version checks with pkg_resources version comparisons for PEP 440 compliance.
qwen/qwen3.6-35b-a3b — — Merged updates to build providers, replacing manual version checks with pkg_resources for PEP-440 compliance. Approved by reviewer, passed CI, and modified one file (+5/-10).
qwen3.6-35b-a3b-mtp-q6 — — Merged update to build providers for PEP-440 compliant version comparison using pkg_resources. The change aligns version handling with the new project versioning scheme and was approved without comments.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.