diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-23 21:02:02 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-23 21:03:06 +0100 |
| commit | 095208e7724928624f6093522cd7481441cff2ec (patch) | |
| tree | 8faa4fcd24e84c8ddd83853fba78b1a42c41d531 | |
| parent | 01cc487db24aae84e6db7997a234e46335b8e105 (diff) | |
| download | gentoo-095208e7724928624f6093522cd7481441cff2ec.tar.gz gentoo-095208e7724928624f6093522cd7481441cff2ec.tar.bz2 gentoo-095208e7724928624f6093522cd7481441cff2ec.zip | |
dev-python/pyproject-fmt: Pass --no-default-features to fix tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
| -rw-r--r-- | dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild | 5 | ||||
| -rw-r--r-- | dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild index f9fbd6066985..4686034abc3a 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild @@ -161,5 +161,8 @@ src_prepare() { } python_test_all() { - cargo_src_test + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features } diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild index 6e6a6721f2a1..0f0c54c78561 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild @@ -158,5 +158,8 @@ src_prepare() { } python_test_all() { - cargo_src_test + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features } |
