mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/protobuf: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -8,7 +8,7 @@ EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -61,6 +61,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
local EPYTEST_IGNORE=(
|
||||
# TODO: figure out how to build the pybind11 test extension
|
||||
google/protobuf/internal/recursive_message_pybind11_test.py
|
||||
@@ -73,6 +74,13 @@ python_test() {
|
||||
google/protobuf/internal/json_format_test.py
|
||||
)
|
||||
;;
|
||||
python3.14*)
|
||||
EPYTEST_DESELECT+=(
|
||||
# exception message mismatch
|
||||
google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp
|
||||
google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
cp -r "${BUILD_DIR}"/{install,test} || die
|
||||
|
||||
Reference in New Issue
Block a user