Skip to content

Commit 6f2d467

Browse files
authored
Merge pull request #549 from escoffier-labs/fix/py310-no-site-toml
fix(cli): use bundled TOML parser under no-site Python
2 parents 16efca0 + 1ea842e commit 6f2d467

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/brigade/research/config.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
from pathlib import Path
33
from typing import Any, Dict, List
44

5-
try:
6-
import tomllib # py3.11+
7-
except ModuleNotFoundError: # py3.10
8-
import tomli as tomllib # type: ignore
5+
from .. import toml_compat as tomllib
96

107

118
class ResearchConfig:

0 commit comments

Comments
 (0)