commit: 095208e7724928624f6093522cd7481441cff2ec
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 20:02:02 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 20:03:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095208e7
dev-python/pyproject-fmt: Pass --no-default-features to fix tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyproject-fmt/pyproject-fmt-2.4.3-r1.ebuild | 5 ++++-
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
}