commit:     355359dee6bb19ea48697c4e06052eedd6be3bbe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  1 16:24:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 16:24:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355359de

dev-python/protobuf: Enable py3.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/protobuf/protobuf-6.31.1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-python/protobuf/protobuf-6.31.1.ebuild 
b/dev-python/protobuf/protobuf-6.31.1.ebuild
index d05299680aac..2972fa556c7d 100644
--- a/dev-python/protobuf/protobuf-6.31.1.ebuild
+++ b/dev-python/protobuf/protobuf-6.31.1.ebuild
@@ -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

Reply via email to