You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pydantic just released 2.0.
So the charm build and and the PY_DEPS in library is broken.
Also maybe some fixs are requried for pydantic related code.
Hi, at the moment clean builds of charms using lib/charms/grafana_agent/v0/cos_agent.py would try to pull pydantic 2.0 and fail to pack at least on focal. This happens because charmcraft is updating dependencies based on what is specified in the PYDEPS of charm libs. There's a bug canonical/charmcraft#1135 open for it, but short term charm libs should most probably pin the major version in PYDEPS.
Bug Description
The pydantic just released 2.0.
So the charm build and and the
PY_DEPS
in library is broken.Also maybe some fixs are requried for pydantic related code.
To Reproduce
Environment
ubuntu 20.04
Relevant log output
Temporary workaround
Pin pydantic version < 2.0 in
PY_DEPS
Additional context
No response
The text was updated successfully, but these errors were encountered: