diff options
Diffstat (limited to 'dev-python/betterproto')
| -rw-r--r-- | dev-python/betterproto/betterproto-2.0.0_beta6.ebuild | 10 | ||||
| -rw-r--r-- | dev-python/betterproto/betterproto-2.0.0_beta7.ebuild | 10 |
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 } |
