-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edge channel stricter about build-environment
types in parts
#4978
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3243.
|
This likely broke due to pydantic 2 dropping this behavior by default: https://docs.pydantic.dev/dev/api/config/#pydantic.config.ConfigDict.coerce_numbers_to_str Snapcraft probably needs fixes in places like this: snapcraft/snapcraft/models/project.py Line 945 in 037c230
Craft-parts probably needs fixes too: https://github.com/canonical/craft-parts/blob/7ea8655b596b359e8542d171bea011f672e1c996/craft_parts/parts.py#L67 |
Thanks @mr-cal - I've made an upstream PR for it. Once that's merged an update will fix this. |
Fixed via #5051 |
Bug Description
The
edge
channel can no longer build charmcraft due to a value error inparts.spread.build-environment
To Reproduce
0d3b27136fb9c21e6d7c091dc4ca4ac6bfee3aca
)snapcraft pack
with snapcraft revision 12433 (8.3.2.post34+git655e543a
)Environment
KDE Neon noble
snapcraft.yaml
Relevant log output
Additional context
Changing the value of
CGO_ENABLED
from0
to"0"
resolved itThe text was updated successfully, but these errors were encountered: