Unable to pack charm with poetry plugin `'PartInfo' has no attribute 'dependencies'`
Metadata
Current evaluation
Fixed in canonical/craft-parts#922 (commit 50b75f80), released in craft-parts 2.1.4; Charmcraft edge included the fix when #2016 was closed.
Resolution: closed resolved
Reason: craft-parts PR #922 exposed part dependencies on PartInfo and was merged as 50b75f80, fixing the Poetry plugin crash. The fix shipped in craft-parts 2.1.4 and was available on Charmcraft edge when the issue was closed.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Bug Description
```
$ charmcraft pack -v
Starting charmcraft, version 3.2.2.post81+g9a65a350
Logging execution to '/home/ubuntu/.local/state/charmcraft/log/charmcraft-20241206-092700.230757.log'
Launching managed ubuntu 22.04 instance...
Creating instance from base instance
Starting instance
Starting charmcraft, version 3.2.2.post81+g9a65a350
Logging execution to '/tmp/charmcraft.log'
Initialising lifecycle
Unknown error: 'PartInfo' has no attribute 'dependencies'
Failed to execute charmcraft in instance.
Full execution log: '/home/ubuntu/.local/state/charmcraft/log/charmcraft-20241206-092700.230757.log'
```
### To Reproduce
1. sudo snap install charmcraft --channel edge
2. git clone https://github.com/canonical/mysql-router-k8s-operator/
3. cd mysql-router-k8s-operator
4. git checkout 082c8c93a2fa9226806ca57a65b86915ac507ef6
5. charmcraft pack -v
### Environment
Ubuntu 22.04
```
$ snap list
Name Version Rev Tracking Publisher Notes
charmcraft 3.2.2.post81+g9a65a350 5473 latest/edge canonical✓ classic
core18 20240920 2846 latest/stable canonical✓ base
core20 20240911 2434 latest/stable canonical✓ base
core22 20241119 1722 latest/stable canonical✓ base
core24 20240920 609 latest/stable canonical✓ base
juju 3.6.0 29130 3/stable canonical✓ -
lxd 5.0.4-497fe1e 31333 5.0/stable/… canonical✓ -
microk8s v1.29.11 7435 1.29-strict/stable canonical✓ -
snapd 2.66.1 23258 latest/stable canonical✓ snapd
```
### charmcraft.yaml
```yaml
# Copyright 2022 Canonical Ltd.
# See LICENSE file for licensing details.
type: charm
bases:
- name: ubuntu
channel: "22.04"
architectures: [amd64]
- name: ubuntu
channel: "22.04"
architectures: [arm64]
parts:
# "poetry-deps" part name is a magic constant
# https://github.com/canonical/craft-parts/pull/901
poetry-deps:
plugin: nil
build-packages:
- curl
override-build: |
python3 -m pip install --upgrade pip==24.3.1
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
ln -sf $HOME/.local/bin/poetry /usr/local/bin/poetry
foo:
plugin: poetry
source: .
after:
- poetry-deps
poetry-with:
- charm-libs
build-snaps:
- rustup
build-packages:
- libffi-dev
- libssl-dev
- pkg-config
override-build: |
rustup default stable
craftctl default
files:
plugin: dump
source: .
build-packages:
- git
override-build: |
# Workaround to add unique identifier (git hash) to charm version while specification
# DA053 - Charm versioning
# (https://docs.google.com/document/d/1Jv1jhWLl8ejK3iJn7Q3VbCIM9GIhp8926bgXpdtx-Sg/edit?pli=1)
# is pending review.
python3 -c 'import pathlib; import shutil; import subprocess; git_hash=subprocess.run(["git", "describe", "--always", "--dirty"], capture_output=True, check=True, encoding="utf-8").stdout; file = pathlib.Path("charm_version"); shutil.copy(file, pathlib.Path("charm_version.backup")); version = file.read_text().strip(); file.write_text(f"{version}+{git_hash}")'
craftctl default
prime:
- charm_version
- workload_version
- scripts
# charm:
# build-snaps:
# - rustup
# build-packages:
# - libffi-dev
# - libssl-dev
# - pkg-config
# override-build: |
# rustup default stable
#
# # Convert subset of poetry.lock to requirements.txt
# curl -sSL https://install.python-poetry.org | python3 -
# /root/.local/bin/poetry export --only main,charm-libs --output requirements.txt
#
# craftctl default
# stage:
# # Exclude charm_version file during staging
# - -charm_version
# charm-strict-dependencies: true
# charm-requirements: [requirements.txt]
# charm-entrypoint: src/kubernetes_charm.py
```
### Relevant log output
```shell
2024-12-06 09:27:00.231 Starting charmcraft, version 3.2.2.post81+g9a65a350
2024-12-06 09:27:00.231 Log verbosity level set to BRIEF
2024-12-06 09:27:00.231 Preparing application...
2024-12-06 09:27:00.232 Configuring application...
2024-12-06 09:27:00.233 Setting up ConfigService
2024-12-06 09:27:00.246 Build plan: platform=None, build_for=None
2024-12-06 09:27:00.252 Loading project file '/home/ubuntu/ccpoetry/mysql-router-k8s-operator/charmcraft.yaml'
2024-12-06 09:27:00.268 Using parallel build count of 8 from CPU count
2024-12-06 09:27:00.268 Processing grammar (on amd64 for amd64)
2024-12-06 09:27:00.268 Processing grammar for plugin: nil
2024-12-06 09:27:00.268 Processing grammar for build-packages: ['curl']
2024-12-06 09:27:00.268 Processing grammar for override-build: python3 -m pip install --upgrade pip==24.3.1
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
ln -sf $HOME/.local/bin/poetry /usr/local/bin/poetry
2024-12-06 09:27:00.268 Processing grammar for plugin: poetry
2024-12-06 09:27:00.268 Processing grammar for source: .
2024-12-06 09:27:00.268 Processing grammar for after: ['poetry-deps']
2024-12-06 09:27:00.268 Not processing grammar for non-grammar enabled keyword poetry-with
2024-12-06 09:27:00.268 Processing grammar for build-snaps: ['rustup']
2024-12-06 09:27:00.268 Processing grammar for build-packages: ['libffi-dev', 'libssl-dev', 'pkg-config']
2024-12-06 09:27:00.268 Processing grammar for override-build: rustup default stable
craftctl default
2024-12-06 09:27:00.268 Processing grammar for plugin: dump
2024-12-06 09:27:00.268 Processing grammar for source: .
2024-12-06 09:27:00.268 Processing grammar for build-packages: ['git']
2024-12-06 09:27:00.268 Processing grammar for override-build: # Workaround to add unique identifier (git hash) to charm version while specification
# DA053 - Charm versioning
# (https://docs.google.com/document/d/1Jv1jhWLl8ejK3iJn7Q3VbCIM9GIhp8926bgXpdtx-Sg/edit?pli=1)
# is pending review.
python3 -c 'import pathlib; import shutil; import subprocess; git_hash=subprocess.run(["git", "describe", "--always", "--dirty"], capture_output=True, check=True, encoding="utf-8").stdout; file = pathlib.Path("charm_version"); shutil.copy(file, pathlib.Path("charm_version.backup")); version = file.read_text().strip(); file.write_text(f"{version}+{git_hash}")'
craftctl default
2024-12-06 09:27:00.268 Processing grammar for prime: ['charm_version', 'workload_version', 'scripts']
2024-12-06 09:27:00.274 Running charmcraft:ubuntu-22.04-amd64 in amd64 instance...
2024-12-06 09:27:00.274 Setting up ProviderService
2024-12-06 09:27:00.275 Setting charmcraft to be injected from the host into the build environment because it is running as a snap.
2024-12-06 09:27:00.275 Preparing managed instance 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648'
2024-12-06 09:27:00.277 Using hostname 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648'
2024-12-06 09:27:00.289 Retrieved snap config: {}
2024-12-06 09:27:00.289 Using default provider 'lxd' on linux system.
2024-12-06 09:27:00.296 Checking if LXD is installed.
2024-12-06 09:27:00.324 LXD snap status: active
2024-12-06 09:27:00.324 Checking if LXD is installed.
2024-12-06 09:27:00.349 LXD snap status: active
2024-12-06 09:27:00.421 Executing on host: lxc --project default profile show local:default
2024-12-06 09:27:00.480 Launching managed ubuntu 22.04 instance...
2024-12-06 09:27:00.481 Executing on host: lxc remote list --format=yaml
2024-12-06 09:27:00.534 Remote 'craft-com.ubuntu.cloud-buildd' already exists.
2024-12-06 09:27:00.535 Executing on host: lxc project list local: --format=yaml
2024-12-06 09:27:00.594 Set LXD instance name to 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648'
2024-12-06 09:27:00.594 Checking for instance 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648' in project 'charmcraft' in remote 'local'
2024-12-06 09:27:00.594 Executing on host: lxc --project charmcraft list local: --format=yaml
2024-12-06 09:27:00.666 Instance 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648' does not exist.
2024-12-06 09:27:00.667 Set LXD instance name to 'base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9'
2024-12-06 09:27:00.667 Checking for base instance 'base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9' in project 'charmcraft' in remote 'local'
2024-12-06 09:27:00.667 Executing on host: lxc --project charmcraft list local: --format=yaml
2024-12-06 09:27:00.743 Checking validity of instance 'base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9'.
2024-12-06 09:27:00.743 Executing on host: lxc --project charmcraft info local:base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9
2024-12-06 09:27:00.812 Executing on host: lxc --project charmcraft info local:base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9
2024-12-06 09:27:00.875 Executing on host: lxc --project charmcraft config get local:base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9 user.craft_providers.status
2024-12-06 09:27:00.933 Instance 'base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9' is ready.
2024-12-06 09:27:00.933 Instance is valid.
2024-12-06 09:27:00.933 Creating instance from base instance
2024-12-06 09:27:00.933 Creating instance from base instance 'base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9'.
2024-12-06 09:27:00.933 Executing on host: lxc --project charmcraft list local: --format=yaml
2024-12-06 09:27:00.998 Executing on host: lxc --project charmcraft copy local:base-instance-charmcraft-buildd-base-v7--910533fdd664bd2cdbe9 local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:05.736 Executing on host: lxc --project charmcraft list local: --format=yaml
2024-12-06 09:27:05.817 Executing on host: lxc --project charmcraft config set local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 raw.idmap 'both 1000 0'
2024-12-06 09:27:05.890 Executing on host: lxc --project charmcraft config get local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 raw.idmap
2024-12-06 09:27:05.945 Got LXD idmap for instance 'charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648': 'both 1000 0'
2024-12-06 09:27:05.945 Starting instance
2024-12-06 09:27:05.946 Executing on host: lxc --project charmcraft start local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:06.265 Executing on host: lxc --project charmcraft file push /tmp/tmphe2o7htx local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/etc/hostname --mode=0644
2024-12-06 09:27:06.361 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical chown root:root /etc/hostname
2024-12-06 09:27:06.530 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical hostname -F /etc/hostname
2024-12-06 09:27:06.678 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-12-06 09:27:06.844 Executing on host: lxc --project charmcraft file pull local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/etc/craft-instance.conf /home/ubuntu/tmpg63l5crd.tmp-craft/tmpzq6he5a9
2024-12-06 09:27:06.973 Instance has already been setup.
2024-12-06 09:27:06.973 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical cat /etc/os-release
2024-12-06 09:27:07.161 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-12-06 09:27:07.430 Executing on host: lxc --project charmcraft file pull local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/etc/craft-instance.conf /home/ubuntu/tmp6xjpdo9q.tmp-craft/tmpeb8qhx95
2024-12-06 09:27:07.574 Instance is compatible with compatibility tag 'charmcraft-buildd-base-v7'
2024-12-06 09:27:07.575 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical bash -c 'echo -n ${XDG_CACHE_HOME:-${HOME}/.cache}'
2024-12-06 09:27:07.723 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical mkdir -p /root/.cache/pip
2024-12-06 09:27:07.919 Executing on host: lxc --project charmcraft config device show local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:08.020 Executing on host: lxc --project charmcraft config device add local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 disk-/root/.cache/pip disk source=/home/ubuntu/snap/charmcraft/common/cache/charmcraft/charmcraft-buildd-base-v7/BuilddBaseAlias.JAMMY/pip path=/root/.cache/pip
2024-12-06 09:27:08.337 Waiting for environment to be ready...
2024-12-06 09:27:08.338 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:08.535 systemctl is-system-running status: starting
2024-12-06 09:27:08.786 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:08.891 systemctl is-system-running status: starting
2024-12-06 09:27:09.141 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:09.309 systemctl is-system-running status: starting
2024-12-06 09:27:09.560 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:09.847 systemctl is-system-running status: starting
2024-12-06 09:27:10.098 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:10.301 systemctl is-system-running status: starting
2024-12-06 09:27:10.551 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:10.677 systemctl is-system-running status: starting
2024-12-06 09:27:10.928 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:11.026 systemctl is-system-running status: starting
2024-12-06 09:27:11.277 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:11.394 systemctl is-system-running status: starting
2024-12-06 09:27:11.644 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:11.737 systemctl is-system-running status: starting
2024-12-06 09:27:11.988 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:12.077 systemctl is-system-running status: starting
2024-12-06 09:27:12.328 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:12.428 systemctl is-system-running status: starting
2024-12-06 09:27:12.679 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-12-06 09:27:12.766 Waiting for networking to be ready...
2024-12-06 09:27:12.766 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical getent hosts snapcraft.io
2024-12-06 09:27:12.870 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.http
2024-12-06 09:27:13.078 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.https
2024-12-06 09:27:13.285 Installing snap 'charmcraft' with channel=None and classic=True
2024-12-06 09:27:13.285 Installing snap 'charmcraft' from host (classic=True)
2024-12-06 09:27:13.289 Installing base snap 'core22' for 'charmcraft' from host
2024-12-06 09:27:13.289 Installing snap 'core22' from host (classic=False)
2024-12-06 09:27:13.292 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-12-06 09:27:13.407 Executing on host: lxc --project charmcraft file pull local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/etc/craft-instance.conf /home/ubuntu/tmp4kby06uz.tmp-craft/tmp8oumyrfk
2024-12-06 09:27:13.472 Revisions found: host='1722', target='1722'
2024-12-06 09:27:13.472 Skipping snap injection: target is already up-to-date with revision on host
2024-12-06 09:27:13.473 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-12-06 09:27:13.587 Executing on host: lxc --project charmcraft file pull local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/etc/craft-instance.conf /home/ubuntu/tmprmxi6q26.tmp-craft/tmp2fqk1ezn
2024-12-06 09:27:13.654 Revisions found: host='5473', target='5473'
2024-12-06 09:27:13.654 Skipping snap injection: target is already up-to-date with revision on host
2024-12-06 09:27:13.755 Setting instance timezone to match host timezone 'Etc/UTC'.
2024-12-06 09:27:13.755 Executing on host: lxc --project charmcraft config set local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 environment.TZ Etc/UTC
2024-12-06 09:27:13.826 Executing on host: lxc --project charmcraft config device show local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:13.882 Executing on host: lxc --project charmcraft config device add local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 disk-/root/project disk source=/home/ubuntu/ccpoetry/mysql-router-k8s-operator path=/root/project
2024-12-06 09:27:13.964 Instance launched and working directory mounted
2024-12-06 09:27:13.964 Pushing bashrc to instance
2024-12-06 09:27:13.965 Executing on host: lxc --project charmcraft file push /tmp/tmpa3bq4wmn local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/root/.bashrc --mode=644
2024-12-06 09:27:14.020 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical chown root:root /root/.bashrc
2024-12-06 09:27:14.106 Executing ['charmcraft', 'pack', '-v'] in instance location /root/project with {'env': {'CRAFT_PLATFORM': 'ubuntu-22.04-amd64', 'CRAFT_VERBOSITY_LEVEL': 'VERBOSE'}}.
2024-12-06 09:27:14.106 Emitter: Pausing control of the terminal
2024-12-06 09:27:17.584 Emitter: Resuming control of the terminal
2024-12-06 09:27:17.585 Executing in container: lxc --project charmcraft exec local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /tmp/charmcraft.log
2024-12-06 09:27:17.699 Executing on host: lxc --project charmcraft file pull local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648/tmp/charmcraft.log /home/ubuntu/tmpbi_chn7m.tmp-craft/tmpymo2c1ya
2024-12-06 09:27:17.762 Logs retrieved from managed instance:
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.325 Starting charmcraft, version 3.2.2.post81+g9a65a350
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.325 Log verbosity level set to VERBOSE
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.325 Preparing application...
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.325 Configuring application...
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.327 Setting up ConfigService
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.335 Build plan: platform=ubuntu-22.04-amd64, build_for=None
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.340 Loading project file '/root/project/charmcraft.yaml'
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Using parallel build count of 8 from CPU count
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar (on amd64 for amd64)
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar for plugin: nil
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar for build-packages: ['curl']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar for override-build: python3 -m pip install --upgrade pip==24.3.1
2024-12-06 09:27:17.762 :: curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
2024-12-06 09:27:17.762 :: ln -sf $HOME/.local/bin/poetry /usr/local/bin/poetry
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar for plugin: poetry
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.354 Processing grammar for source: .
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for after: ['poetry-deps']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Not processing grammar for non-grammar enabled keyword poetry-with
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for build-snaps: ['rustup']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for build-packages: ['libffi-dev', 'libssl-dev', 'pkg-config']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for override-build: rustup default stable
2024-12-06 09:27:17.762 :: craftctl default
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for plugin: dump
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for source: .
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for build-packages: ['git']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for override-build: # Workaround to add unique identifier (git hash) to charm version while specification
2024-12-06 09:27:17.762 :: # DA053 - Charm versioning
2024-12-06 09:27:17.762 :: # (https://docs.google.com/document/d/1Jv1jhWLl8ejK3iJn7Q3VbCIM9GIhp8926bgXpdtx-Sg/edit?pli=1)
2024-12-06 09:27:17.762 :: # is pending review.
2024-12-06 09:27:17.762 :: python3 -c 'import pathlib; import shutil; import subprocess; git_hash=subprocess.run(["git", "describe", "--always", "--dirty"], capture_output=True, check=True, encoding="utf-8").stdout; file = pathlib.Path("charm_version"); shutil.copy(file, pathlib.Path("charm_version.backup")); version = file.read_text().strip(); file.write_text(f"{version}+{git_hash}")'
2024-12-06 09:27:17.762 ::
2024-12-06 09:27:17.762 :: craftctl default
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.355 Processing grammar for prime: ['charm_version', 'workload_version', 'scripts']
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.361 Setting up PackageService
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.361 Initialising lifecycle manager in /root
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.361 Project vars: {'version': 'unversioned'}
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.361 Adopting part: None
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.362 Using parallel build count of 8 from CPU count
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.362 is_snap: True, SNAP_NAME set to charmcraft
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 process files:Step.PULL
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 add action files:Step.PULL(ActionType.RUN)
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 process poetry-deps:Step.PULL
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 add action poetry-deps:Step.PULL(ActionType.RUN)
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 process foo:Step.PULL
2024-12-06 09:27:17.762 :: 2024-12-06 09:27:17.366 add action foo:Step.PULL(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 process files:Step.BUILD
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 add action files:Step.BUILD(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 process poetry-deps:Step.BUILD
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 add action poetry-deps:Step.BUILD(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 process foo:Step.BUILD
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 process poetry-deps:Step.PULL
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 check if Part('poetry-deps'):Step.PULL is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 check if Part('poetry-deps'):Step.PULL is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 add action poetry-deps:Step.PULL(ActionType.SKIP)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 process poetry-deps:Step.BUILD
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.367 check if Part('poetry-deps'):Step.BUILD is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 check if Part('poetry-deps'):Step.BUILD is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 add action poetry-deps:Step.BUILD(ActionType.SKIP)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 process poetry-deps:Step.STAGE
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 add action poetry-deps:Step.STAGE(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 add action foo:Step.BUILD(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 process files:Step.STAGE
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 add action files:Step.STAGE(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 process poetry-deps:Step.STAGE
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 check if Part('poetry-deps'):Step.STAGE is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 check if Part('poetry-deps'):Step.STAGE is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 add action poetry-deps:Step.STAGE(ActionType.SKIP)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.368 process foo:Step.STAGE
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.STAGE is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.STAGE is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.BUILD is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.BUILD is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PULL is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PULL is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 add action foo:Step.STAGE(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 process files:Step.PRIME
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 add action files:Step.PRIME(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 process poetry-deps:Step.PRIME
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 add action poetry-deps:Step.PRIME(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 process foo:Step.PRIME
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PRIME is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PRIME is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.STAGE is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.STAGE is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.BUILD is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.BUILD is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PULL is outdated
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 check if Part('poetry-deps'):Step.PULL is dirty
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 add action foo:Step.PRIME(ActionType.RUN)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.369 Initialising lifecycle
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.371 ignore patterns: ['*.charm', 'charmcraft.yaml']
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.371 part build packages: ['git']
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.371 part build packages: ['curl']
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.372 ignore patterns: ['*.charm', 'charmcraft.yaml']
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.372 part build packages: ['libffi-dev', 'libssl-dev', 'pkg-config']
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.372 Unknown error: 'PartInfo' has no attribute 'dependencies'
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 Traceback (most recent call last):
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_application/services/lifecycle.py", line 264, in run
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 with self._lcm.action_executor() as aex:
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 304, in __enter__
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 self._executor.prologue()
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 88, in prologue
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 self._install_build_packages()
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 236, in _install_build_packages
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 self._create_part_handler(part)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 221, in _create_part_handler
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 handler = PartHandler(
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 119, in __init__
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 self.build_packages = _get_build_packages(part=self._part, plugin=self._plugin)
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 1065, in _get_build_packages
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 plugin_build_packages = plugin.get_build_packages()
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/plugins/poetry_plugin.py", line 93, in get_build_packages
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 and "poetry-deps" not in self._part_info.dependencies
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_parts/infos.py", line 386, in __getattr__
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 raise AttributeError(f"{self.__class__.__name__!r} has no attribute {name!r}")
2024-12-06 09:27:17.763 :: 2024-12-06 09:27:17.376 AttributeError: 'PartInfo' has no attribute 'dependencies'
2024-12-06 09:27:17.763 Executing on host: lxc --project charmcraft config device show local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:17.823 Executing on host: lxc --project charmcraft config device remove local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 disk-/root/.cache/pip
2024-12-06 09:27:17.902 Executing on host: lxc --project charmcraft config device remove local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648 disk-/root/project
2024-12-06 09:27:17.984 Executing on host: lxc --project charmcraft stop local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648
2024-12-06 09:27:21.867 Failed to execute charmcraft in instance.
2024-12-06 09:27:21.868 Traceback (most recent call last):
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_application/application.py", line 459, in run_managed
2024-12-06 09:27:21.868 instance.execute_run( # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_providers/lxd/lxd_instance.py", line 293, in execute_run
2024-12-06 09:27:21.868 return self.lxc.exec(
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_providers/lxd/lxc.py", line 387, in exec
2024-12-06 09:27:21.868 return runner(final_cmd, timeout=timeout, check=check, **kwargs)
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/usr/lib/python3.10/subprocess.py", line 526, in run
2024-12-06 09:27:21.868 raise CalledProcessError(retcode, process.args,
2024-12-06 09:27:21.868 subprocess.CalledProcessError: Command '['lxc', '--project', 'charmcraft', 'exec', 'local:charmcraft-mysql-router-k8s-on-amd64-for-amd64-1096648', '--cwd', '/root/project', '--', 'env', 'CRAFT_MANAGED_MODE=1', 'CHARMCRAFT_MANAGED_MODE=1', 'DEBIAN_FRONTEND=noninteractive', 'DEBCONF_NONINTERACTIVE_SEEN=true', 'DEBIAN_PRIORITY=critical', 'CRAFT_PLATFORM=ubuntu-22.04-amd64', 'CRAFT_VERBOSITY_LEVEL=VERBOSE', 'charmcraft', 'pack', '-v']' returned non-zero exit status 1.
2024-12-06 09:27:21.868
2024-12-06 09:27:21.868 The above exception was the direct cause of the following exception:
2024-12-06 09:27:21.868 Traceback (most recent call last):
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_application/application.py", line 663, in run
2024-12-06 09:27:21.868 return_code = self._run_inner()
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_application/application.py", line 647, in _run_inner
2024-12-06 09:27:21.868 self.run_managed(platform, build_for)
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/charmcraft/application/main.py", line 159, in run_managed
2024-12-06 09:27:21.868 super().run_managed(platform, build_for)
2024-12-06 09:27:21.868 File "/snap/charmcraft/5473/lib/python3.10/site-packages/craft_application/application.py", line 466, in run_managed
2024-12-06 09:27:21.868 raise craft_providers.ProviderError(
2024-12-06 09:27:21.868 craft_providers.errors.ProviderError: Failed to execute charmcraft in instance.
2024-12-06 09:27:21.868 Full execution log: '/home/ubuntu/.local/state/charmcraft/log/charmcraft-20241206-092700.230757.log'
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed in canonical/craft-parts#922 (commit 50b75f80), released in craft-parts 2.1.4; Charmcraft edge included the fix when #2016 was closed. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by canonical/craft-parts#922, merged as commit 50b75f80 and released in craft-parts 2.1.4; charmcraft edge included the fix when this was closed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Resolved in craft-parts 2.1.4, fixing the poetry plugin AttributeError. The edge channel now includes the fix, and the issue is closed. | |
| qwen/qwen3.6-35b-a3b | — | — | charmcraft pack failed with a PartInfo dependency attribute error when using the poetry plugin. Resolved in craft-parts 2.1.4, which added the missing attribute. Closed as the fix is now available in the edge channel. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed in craft-parts 2.1.4, addressing the missing PartInfo dependencies attribute that broke the poetry plugin. Closed after the patch reached the edge channel. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Charmcraft pack fails with a PartInfo dependency error when using the poetry plugin. Resolved by craft-parts 2.1.4, now available in the edge channel. Closed as fixed. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#922
(confidence 100%)
Merged as commit 50b75f80 and released in craft-parts 2.1.4.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2022 build(deps): update craft-parts | charmcraft | merged | Merged in charmcraft#2022 at commit f993f242, updating requirements-dev.txt to craft-parts 2.1.4 to restore the Poetry plugin. | |
| #501 charmcraft pack fails trying to include a non-existing charm/src/.tox/ | charmcraft | closed | The missing-file packing failure was fixed upstream in craft-parts; maintainer lengau closed charmcraft#501 on 2024-02-22 as resolved. |