Skip to content

Commit 76d2142

Browse files
committed
Fix tests by adding dependency constraint
We are currently having CI failures because there are some issues with transitive dependencies. It is already fixed upstream but not release yet. We temporarily restrict chardet version to < 6 in tests to avoid these warnings. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 1cc5c8f commit 76d2142

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ dev-pytest = [
110110
"cookiecutter == 2.6.0", # For checking the cookiecutter scripts
111111
"jinja2 == 3.1.6", # For checking the cookiecutter scripts
112112
"sybil >= 6.1.1, < 10", # Should be consistent with the extra-lint-examples dependency
113+
# This is a hack to overcome an outdated version check in requests, see
114+
# https://github.com/frequenz-floss/frequenz-repo-config-python/issues/527
115+
"chardet < 6",
113116
]
114117
dev = [
115118
"frequenz-repo-config[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

0 commit comments

Comments
 (0)