summaryrefslogtreecommitdiff
path: root/dev-python/betterproto
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-21 19:01:21 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-21 19:01:21 +0000
commit00a6d1ff550f047a4aefe580f6d036c1d8564da7 (patch)
tree1e4207fd130e74bd3248b48ddc2062b46480a105 /dev-python/betterproto
parentae723eb1ef4f54cf34cd3235fe0f5e9d39b046cc (diff)
downloadbaldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.tar.gz
baldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.tar.xz
baldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.zip
Adding metadata
Diffstat (limited to 'dev-python/betterproto')
-rw-r--r--dev-python/betterproto/betterproto-2.0.0_beta6.ebuild10
-rw-r--r--dev-python/betterproto/betterproto-2.0.0_beta7.ebuild10
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild
index 753e06ffdc2c..24ffc8600477 100644
--- a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild
+++ b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild
@@ -34,7 +34,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
>=dev-python/black-23.1.0[${PYTHON_USEDEP}]
@@ -50,6 +50,7 @@ BDEPEND="
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
@@ -67,12 +68,15 @@ python_test() {
tests/inputs/oneof/test_oneof.py
)
local EPYTEST_DESELECT=(
- # TODO: ordering issue?
+ # TODO: new protobuf?
"tests/test_inputs.py::test_binary_compatibility[map]"
+ "tests/test_inputs.py::test_binary_compatibility[mapmessage]"
# pydantic
tests/inputs/bool/test_bool.py::test_pydantic_no_value
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p asyncio -p pytest_mock
+ # --forked to workaround protobuf segfaults
+ # https://github.com/protocolbuffers/protobuf/issues/22067
+ epytest -p asyncio -p pytest_mock -p pytest_forked --forked
}
diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild
index dd47d8c0c124..9a72a7555b4b 100644
--- a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild
+++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild
@@ -34,7 +34,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
>=dev-python/black-23.1.0[${PYTHON_USEDEP}]
@@ -50,6 +50,7 @@ BDEPEND="
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/tomlkit[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
@@ -63,10 +64,13 @@ PATCHES=(
python_test() {
local EPYTEST_DESELECT=(
- # TODO: ordering issue?
+ # TODO: new protobuf?
"tests/test_inputs.py::test_binary_compatibility[map]"
+ "tests/test_inputs.py::test_binary_compatibility[mapmessage]"
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p asyncio -p pytest_mock
+ # --forked to workaround protobuf segfaults
+ # https://github.com/protocolbuffers/protobuf/issues/22067
+ epytest -p asyncio -p pytest_mock -p pytest_forked --forked
}