Skip to content

Commit 59dc98b

Browse files
renovate[bot]marcleblanc2ampagent
authored
Update dependency json5 to >=0.15.0 (#40)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [json5](https://redirect.github.com/dpranke/pyjson5) ([changelog](https://redirect.github.com/dpranke/pyjson5/blob/master/README.md)) | `>=0.14.0` → `>=0.15.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/json5/0.15.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/json5/0.14.0/0.15.0?slim=true) | Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR. --- ### Release Notes <details> <summary>dpranke/pyjson5 (json5)</summary> ### [`v0.15.0`](https://redirect.github.com/dpranke/pyjson5/compare/v0.14.0...v0.15.0) [Compare Source](https://redirect.github.com/dpranke/pyjson5/compare/v0.14.0...v0.15.0) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Los_Angeles) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/sourcegraph/src-auth-perms-sync). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Co-authored-by: Amp <amp@ampcode.com>
1 parent fa2f42b commit 59dc98b

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classifiers = [
3030
"Typing :: Typed",
3131
]
3232
dependencies = [
33-
"json5>=0.14.0",
33+
"json5>=0.15.0",
3434
"pyyaml>=6.0.3",
3535
"src-py-lib[otel]==0.3.0",
3636
]

src/src_auth_perms_sync/permissions/mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ def _parsed_service_config(service: permission_types.ExternalService) -> dict[st
846846
if not raw_config:
847847
return {}
848848
try:
849-
parsed = cast(Any, json5.loads(raw_config))
849+
parsed = json5.loads(raw_config)
850850
except ValueError:
851851
return {}
852852
if not isinstance(parsed, dict):

src/src_auth_perms_sync/permissions/maps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def external_service_to_yaml(service: permission_types.ExternalService) -> dict[
176176
raw_config = service.get("config")
177177
if raw_config:
178178
try:
179-
parsed_config = cast(Any, json5.loads(raw_config))
179+
parsed_config = json5.loads(raw_config)
180180
except ValueError:
181181
pass
182182
else:

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)