← Back to issue list

Reconsider python package dependency management

View original Github issue

Metadata

Project
charmcraft
Number
#1140
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed. The proposal to overhaul Python dependency management was deferred to a future major release. Related discussions and bugs were consolidated into issues #1192, #1058, and #1077.

Suggested action:

No scores available.

Issue body

### What needs to get done Currently we run pip (up to) 4 times, and in a way that can be counterintuitive to the user. Package sets can override each other, and explicitly frozen package versions can be ignored. Ideally, we'd have a way to specify this all to be calculated in a single `pip` command that: - Only installs binary packages for those specified as binaries (and their dependencies?) - Fails on package conflicts - Doesn't overwrite pinned versions ### Why it needs to get done The current method has evolved over years to become counterintuitive and sometimes problematic (see #1135). However, changes related to this could cause compatibility issues, so they should be done carefully and deliberately. As such, a rethink of this would need to come with a major version release if we decide to do it.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed. The proposal to overhaul Python dependency management was deferred to a future major release. Related discussions and bugs were consolidated into issues #1192, #1058, and #1077.
qwen/qwen3.6-35b-a3b Closed as a discussion and tracking issue. No fix implemented. Related dependency conflicts were linked to separate issues. The proposed pip management redesign was deferred pending a major version release.
qwen/qwen3.6-35b-a3b Closed without implementation. The proposal to overhaul pip dependency management was abandoned, with no concrete resolution provided. Related discussions and linked issues were referenced instead.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution, likely abandoned. Discussions covered pip conflicts, poetry integration, and resolver issues, but no dependency management changes were implemented.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The dependency management overhaul was deferred to a future major release to avoid breaking changes. Related concerns were tracked in linked issues.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.