From b8fe96dcca843753d29bc84c38403c6d07bdf65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Oct 2025 11:54:50 +0200 Subject: [PATCH] dev-python/mypy: Fix libxml2-2.15 test failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mypy/mypy-1.18.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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() {