Skip to content

Commit

Permalink
Updated pydantic requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 committed Jul 4, 2023
1 parent cbd413a commit c4791fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charms/jimm/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parts:
charm-binary-python-packages:
- Jinja2 >= 2.11.3
- markupsafe >= 2.0.1
- pydantic
- pydantic == 1.10.*
- cosl
bases:
# Ensure run-on is the same or newer than build-on
Expand Down
2 changes: 1 addition & 1 deletion charms/jimm/lib/charms/grafana_agent/v0/cos_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class _MetricsEndpointDict(TypedDict):
LIBAPI = 0
LIBPATCH = 3

PYDEPS = ["cosl", "pydantic"]
PYDEPS = ["cosl", "pydantic == 1.10.*"]

DEFAULT_RELATION_NAME = "cos-agent"
DEFAULT_PEER_RELATION_NAME = "peers"
Expand Down
2 changes: 1 addition & 1 deletion charms/jimm/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Jinja2 >= 2.11.3
ops >= 2.0.0
charmhelpers >= 0.20.22
hvac >= 0.11.0
pydantic
pydantic == 1.10.*
cosl

0 comments on commit c4791fb

Please sign in to comment.