Skip to content

Commit 5277678

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
tox: workaround test failures for schemacheck
Python packaging is being annoying today. Signed-off-by: John Mulligan <[email protected]>
1 parent 6248f4f commit 5277678

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,18 @@ commands =
5757

5858
[testenv:schemacheck]
5959
deps =
60-
black
60+
black>=21.8b0, <23.11
6161
PyYAML
6262
commands =
6363
python -m sambacc.schema.tool
64+
# The following env var is a workaround for running this testenv on fedora 39
65+
# with python 3.12.1. As of approx. 2023-12-11 the ci started # to fail because
66+
# of the multidict library (not even one of our direct dependencies) failing
67+
# to install from source because we (intentionally) have no C compiler in the
68+
# image. Try to remove this in a few weeks to see if wheel availability or
69+
# whatever has been resolved.
70+
setenv =
71+
MULTIDICT_NO_EXTENSIONS=1
6472

6573
# this gitlint rule is not run by default.
6674
# Run it manually with: tox -e gitlint

0 commit comments

Comments
 (0)