pip install charmcraft installs v1.0
Metadata
Current evaluation
Closed as expected behavior. Python 3.6 on Ubuntu 18.04 forced pip to install an older compatible version due to dependency constraints. Resolved after the user upgraded to Ubuntu Focal with Python 3.7+.
Suggested action: —
No scores available.
Issue body
I need to run charmcraft in docker, therefore snap isn't really an option. (even lxd will be problematic but at least I have `--destructive-mode`)
But I just noticed that `pip install charmcraft` installs a totally prehistoric version.
Is the pip version truly deprecated? What is the plan here?
Thanks
Tilman
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as expected behavior. Python 3.6 on Ubuntu 18.04 forced pip to install an older compatible version due to dependency constraints. Resolved after the user upgraded to Ubuntu Focal with Python 3.7+. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as expected behavior. Python 3.6.9 on Ubuntu 18.04 is incompatible with newer charmcraft dependencies requiring Python >= 3.7. User confirmed successful installation on Ubuntu 20.04. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as expected behavior. Pip reverted to v1.0 due to Python 3.6.9 incompatibility with newer dependencies on Ubuntu 18.04. Upgrading to Ubuntu 20.04 resolved the issue, enabling correct v2.0.0 installation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved as expected behavior. Python 3.6.9 on Ubuntu 18.04 could not satisfy newer dependency requirements, causing pip to fall back to v1.0. Upgrading to Python 3.7+ on Ubuntu Focal resolved the installation issue. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #615 Can't pip install charmcraft on latest Ubuntu | charmcraft | closed | Closed. PyPI installation instructions were added to the README to resolve pip install failures on newer Ubuntu versions caused by python-apt dependency conflicts. | |
| #758 charmcraft installation via PIP started failing recently | charmcraft | closed | A newer craft-parts release broke compatibility with the pinned pydantic version, failing charmcraft pip installs. The issue was fixed by updating dependency constraints and merged in PR #765. |