diff --git a/dev-python/mypy/mypy-1.18.2.ebuild b/dev-python/mypy/mypy-1.18.2.ebuild index 26b7eb6887c40..d2334001ccb43 100644 --- a/dev-python/mypy/mypy-1.18.2.ebuild +++ b/dev-python/mypy/mypy-1.18.2.ebuild @@ -64,6 +64,12 @@ src_prepare() { # don't force pytest-xdist, in case user asked for EPYTEST_JOBS=1 sed -i -e '/addopts/s:-nauto::' pyproject.toml || die + + # https://github.com/python/mypy/issues/20070 + if has_version ">=dev-libs/libxml2-2.15"; then + sed -e 's:::' \ + -i test-data/unit/reports.test || die + fi } python_compile() {