From unknown Wed Aug 20 06:40:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42650] [PATCH 1/2] gnu: python-protobuf: Update to 3.12.4. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Aug 2020 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42650@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159629302813079 (code B ref -1); Sat, 01 Aug 2020 14:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Aug 2020 14:43:48 +0000 Received: from localhost ([127.0.0.1]:40853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sjk-0003Os-AL for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:43:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:44822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sjg-0003Oj-Bx for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sjf-0006z8-SV for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sjd-0005Xb-KY for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 782882400FC for ; Sat, 1 Aug 2020 16:43:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596293017; bh=FpqDBhKNXLj0UVTvSImcahEwX0icBO4pLc9En/HzsNQ=; h=From:To:Cc:Subject:Date:From; b=IjkLwgv+3o4DuJBlbQOcn3wO/Z8MxZwgEQ81SIlc7KACl+0VT4MSLfwLsyuuoousw i40SbckO//j7tALNR9bWWhC95BxsATxDuEpmWATGr1iHc3rzKs4a2Q9T8KBazkf8UW BFiFqIRoSQBfyF5vxCTo50odI2QX2jm1ntton9++VCiD6+lRs+KAuaGR9MZLFntIQR DCRoJWlk4pbn841fxaxt+c9jKojcvCethHIpazi2XmZtSziHQ0OUJeIvC7sNCBvVsI F8XcnAlXCQFr4oNhn4+kLXQN8wyOA8D4hqixttdqbgiAKptiszTvgOEb5ytyFNK7Co wM/QD5OrEwsvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BJn2b6CrPz9rxV; Sat, 1 Aug 2020 16:43:35 +0200 (CEST) From: Vinicius Monego Date: Sat, 1 Aug 2020 11:43:20 -0300 Message-Id: <20200801144321.60595-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/01 10:43:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/protobuf.scm (python-protobuf): Update to 3.12.4. --- gnu/packages/protobuf.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 7c14ddbdfa..b8bd617eca 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -206,15 +207,17 @@ encoder in C++. The developer using protozero has to manually translate the (define-public python-protobuf (package (name "python-protobuf") - (version "3.11.3") + (version "3.12.4") (source (origin (method url-fetch) (uri (pypi-uri "protobuf" version)) (sha256 (base32 - "07qby3yc2a8a1vsxnc79j687q4r68k1d3npni7bldwmd3m6rfz67")))) + "0mj6z58aiw532s1mq48m9xdrm3gdyp2vv9cdinfb5wmnfpm5m7n9")))) (build-system python-build-system) + (native-inputs + `(("python-wheel" ,python-wheel))) (propagated-inputs `(("python-six" ,python-six))) (home-page "https://github.com/google/protobuf") -- 2.20.1 From unknown Wed Aug 20 06:40:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42650] [PATCH 2/2] gnu: Add python-onnx. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Aug 2020 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42650@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159629304513156 (code B ref -1); Sat, 01 Aug 2020 14:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Aug 2020 14:44:05 +0000 Received: from localhost ([127.0.0.1]:40858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sk0-0003Q8-Iq for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:44:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:44824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sju-0003PB-Ld for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:44:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sju-0006zS-Er for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sjs-0005Xz-Dz for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3A5B62400FC for ; Sat, 1 Aug 2020 16:43:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596293034; bh=F+poJnYlWhfs3zuTExro/Uh1Pp1gYuAfH800lZEtZO0=; h=From:To:Cc:Subject:Date:From; b=M/6+l+5+5xR8K8HsxsDTB7Z4blFnmgdePgdrbv6/5IElVAxPJyZBQV2grrieR8M3U Pm4Jbb4PmLn7n+x5Np3qksn+y4dxfZvO/VHNSNPo4AS+g7YGGltw/2Jy+rpHDna4zf jk6GXQ5qZ/Fnd2nfcbsnLuEu429VWt+P3vhIJgl0S5isCZvo6lO2ikV8L2uPGg2ffP ZIc4eRBnNoAeMo7p9FKg60mq8fVyXWIZTZ2B2Id4XpiPIzCa8S5azeB0fefvQQuyxU 1zFWzo81qORPDyzVCWKxSMdW6+BTlU195zI4InEE3kPA1jF+bQyy/fg59WjIcetd+h aG1etucsPf4Kg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BJn2x03Ccz9rxW; Sat, 1 Aug 2020 16:43:52 +0200 (CEST) From: Vinicius Monego Date: Sat, 1 Aug 2020 11:43:21 -0300 Message-Id: <20200801144321.60595-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200801144321.60595-1-monego@posteo.net> References: <20200801144321.60595-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/01 10:43:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/machine-learning.scm (python-onnx): New variable. --- gnu/packages/machine-learning.scm | 43 +++++++++++++++ .../python-onnx-use-system-googletest.patch | 54 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 gnu/packages/patches/python-onnx-use-system-googletest.patch diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 18a4ac9ef2..4ec3ed05c7 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020 Edouard Klein +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cmake) #:use-module (gnu packages cran) #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) @@ -70,6 +72,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -576,6 +579,46 @@ tools. This enables both rapid prototyping of data pipelines and extensibility in terms of new algorithms.") (license license:gpl3+))) +(define-public python-onnx + (package + (name "python-onnx") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "onnx" version)) + ;; ONNX will build googletest from a git checkout. Patch CMake + ;; to use googletest from Guix and enable tests by default. + (patches (search-patches "python-onnx-use-system-googletest.patch")) + (sha256 + (base32 "0j6rgfbhsw3a8id8pyg18y93k68lbjbj1kq6qia36h69f6pvlyjy")))) + (build-system python-build-system) + (native-inputs + `(("cmake" ,cmake) + ("googletest" ,googletest) + ("pybind11" ,pybind11) + ("python-coverage" ,python-coverage) + ("python-nbval" ,python-nbval) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (inputs + `(("protobuf" ,protobuf))) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-protobuf" ,python-protobuf) + ("python-six" ,python-six) + ("python-tabulate" ,python-tabulate) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page "https://onnx.ai/") + (synopsis "Open Neural Network Exchange") + (description + "Open Neural Network Exchange (ONNX) provides an open source format for +AI models, both deep learning and traditional ML. It defines an extensible +computation graph model, as well as definitions of built-in operators and +standard data types.") + (license license:expat))) + (define-public rxcpp (package (name "rxcpp") diff --git a/gnu/packages/patches/python-onnx-use-system-googletest.patch b/gnu/packages/patches/python-onnx-use-system-googletest.patch new file mode 100644 index 0000000000..33d2fa12de --- /dev/null +++ b/gnu/packages/patches/python-onnx-use-system-googletest.patch @@ -0,0 +1,54 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0aa9fda2..a573170c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -22,7 +22,7 @@ option(BUILD_ONNX_PYTHON "Build Python binaries" OFF) + option(ONNX_GEN_PB_TYPE_STUBS "Generate protobuf python type stubs" ON) + option(ONNX_WERROR "Build with Werror" OFF) + option(ONNX_COVERAGE "Build with coverage instrumentation" OFF) +-option(ONNX_BUILD_TESTS "Build ONNX C++ APIs Tests" OFF) ++option(ONNX_BUILD_TESTS "Build ONNX C++ APIs Tests" ON) + option(ONNX_USE_LITE_PROTO "Use lite protobuf instead of full." OFF) + option(ONNXIFI_ENABLE_EXT "Enable onnxifi extensions." OFF) + if(NOT DEFINED ONNX_ML) +@@ -82,8 +82,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX") + endif() + + if(ONNX_BUILD_TESTS) +- list(APPEND CMAKE_MODULE_PATH ${ONNX_ROOT}/cmake/external) +- include(googletest) ++ find_package(GTest REQUIRED) ++ if(NOT GTest_FOUND) ++ message(FATAL_ERROR "cannot find googletest") ++ endif() + endif() + + if((ONNX_USE_LITE_PROTO AND TARGET protobuf::libprotobuf-lite) OR ((NOT ONNX_USE_LITE_PROTO) AND TARGET protobuf::libprotobuf)) +diff --git a/cmake/unittest.cmake b/cmake/unittest.cmake +index e29a93ff..ae146390 100644 +--- a/cmake/unittest.cmake ++++ b/cmake/unittest.cmake +@@ -6,8 +6,8 @@ include(${ONNX_ROOT}/cmake/Utils.cmake) + + find_package(Threads) + +-set(${UT_NAME}_libs ${googletest_STATIC_LIBRARIES}) +-set(${ONNXIFI_TEST_DRIVER}_libs ${googletest_STATIC_LIBRARIES}) ++set(${UT_NAME}_libs ${GTEST_LIBRARIES}) ++set(${ONNXIFI_TEST_DRIVER}_libs ${GTEST_LIBRARIES}) + + list(APPEND ${UT_NAME}_libs onnx) + list(APPEND ${UT_NAME}_libs onnx_proto) +@@ -31,10 +31,10 @@ function(AddTest) + list(REMOVE_DUPLICATES _UT_SOURCES) + + add_executable(${_UT_TARGET} ${_UT_SOURCES}) +- add_dependencies(${_UT_TARGET} onnx onnx_proto googletest) ++ add_dependencies(${_UT_TARGET} onnx onnx_proto) + + target_include_directories(${_UT_TARGET} +- PUBLIC ${googletest_INCLUDE_DIRS} ++ PUBLIC ${GTEST_INCLUDE_DIRS} + ${ONNX_INCLUDE_DIRS} + ${PROTOBUF_INCLUDE_DIRS} + ${ONNX_ROOT} -- 2.20.1 From unknown Wed Aug 20 06:40:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#42650: closed (Re: [bug#42650] [PATCH 2/2] gnu: Add python-onnx.) Message-ID: References: <87o8nsus3f.fsf@gnu.org> <20200801144321.60595-1-monego@posteo.net> X-Gnu-PR-Message: they-closed 42650 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42650@debbugs.gnu.org Date: Mon, 03 Aug 2020 07:07:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1596438421-21595-1" This is a multi-part message in MIME format... ------------=_1596438421-21595-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42650: [PATCH 1/2] gnu: python-protobuf: Update to 3.12.4. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42650@debbugs.gnu.org. --=20 42650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42650 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596438421-21595-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42650-done) by debbugs.gnu.org; 3 Aug 2020 07:06:01 +0000 Received: from localhost ([127.0.0.1]:43970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2UXk-0005ak-KU for submit@debbugs.gnu.org; Mon, 03 Aug 2020 03:06:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2UXe-0005aN-HA for 42650-done@debbugs.gnu.org; Mon, 03 Aug 2020 03:05:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35383) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2UXZ-0003Ac-55; Mon, 03 Aug 2020 03:05:45 -0400 Received: from [2a01:cb18:832e:5f00:b06a:601:6fcc:d1cf] (port=51612 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2UXY-0001Am-Ai; Mon, 03 Aug 2020 03:05:44 -0400 From: Mathieu Othacehe To: Vinicius Monego Subject: Re: [bug#42650] [PATCH 2/2] gnu: Add python-onnx. References: <20200801144321.60595-1-monego@posteo.net> <20200801144321.60595-2-monego@posteo.net> Date: Mon, 03 Aug 2020 09:05:40 +0200 In-Reply-To: <20200801144321.60595-2-monego@posteo.net> (Vinicius Monego's message of "Sat, 1 Aug 2020 11:43:21 -0300") Message-ID: <87o8nsus3f.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42650-done Cc: 42650-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, A few comments on this one. > * gnu/packages/machine-learning.scm (python-onnx): New variable. You need to mention the added file in the commit message and also add it to gnu/local.mk. > + ;; ONNX will build googletest from a git checkout. Patch CMake > + ;; to use googletest from Guix and enable tests by default. That seems to be a recurrent issue. Did you fix it by yourself or is there a patch out there? Otherwise both patches look fine. I fixed the patch registering thing and pushed. Thanks, Mathieu ------------=_1596438421-21595-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Aug 2020 14:43:48 +0000 Received: from localhost ([127.0.0.1]:40853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sjk-0003Os-AL for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:43:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:44822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1sjg-0003Oj-Bx for submit@debbugs.gnu.org; Sat, 01 Aug 2020 10:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sjf-0006z8-SV for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1sjd-0005Xb-KY for guix-patches@gnu.org; Sat, 01 Aug 2020 10:43:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 782882400FC for ; Sat, 1 Aug 2020 16:43:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596293017; bh=FpqDBhKNXLj0UVTvSImcahEwX0icBO4pLc9En/HzsNQ=; h=From:To:Cc:Subject:Date:From; b=IjkLwgv+3o4DuJBlbQOcn3wO/Z8MxZwgEQ81SIlc7KACl+0VT4MSLfwLsyuuoousw i40SbckO//j7tALNR9bWWhC95BxsATxDuEpmWATGr1iHc3rzKs4a2Q9T8KBazkf8UW BFiFqIRoSQBfyF5vxCTo50odI2QX2jm1ntton9++VCiD6+lRs+KAuaGR9MZLFntIQR DCRoJWlk4pbn841fxaxt+c9jKojcvCethHIpazi2XmZtSziHQ0OUJeIvC7sNCBvVsI F8XcnAlXCQFr4oNhn4+kLXQN8wyOA8D4hqixttdqbgiAKptiszTvgOEb5ytyFNK7Co wM/QD5OrEwsvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BJn2b6CrPz9rxV; Sat, 1 Aug 2020 16:43:35 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: python-protobuf: Update to 3.12.4. Date: Sat, 1 Aug 2020 11:43:20 -0300 Message-Id: <20200801144321.60595-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/01 10:43:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/protobuf.scm (python-protobuf): Update to 3.12.4. --- gnu/packages/protobuf.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index 7c14ddbdfa..b8bd617eca 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -206,15 +207,17 @@ encoder in C++. The developer using protozero has to manually translate the (define-public python-protobuf (package (name "python-protobuf") - (version "3.11.3") + (version "3.12.4") (source (origin (method url-fetch) (uri (pypi-uri "protobuf" version)) (sha256 (base32 - "07qby3yc2a8a1vsxnc79j687q4r68k1d3npni7bldwmd3m6rfz67")))) + "0mj6z58aiw532s1mq48m9xdrm3gdyp2vv9cdinfb5wmnfpm5m7n9")))) (build-system python-build-system) + (native-inputs + `(("python-wheel" ,python-wheel))) (propagated-inputs `(("python-six" ,python-six))) (home-page "https://github.com/google/protobuf") -- 2.20.1 ------------=_1596438421-21595-1-- From unknown Wed Aug 20 06:40:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42650] [PATCH 2/2] gnu: Add python-onnx. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Aug 2020 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 42650-done@debbugs.gnu.org Received: via spool by 42650-done@debbugs.gnu.org id=D42650.15964580026390 (code D ref 42650); Mon, 03 Aug 2020 12:34:01 +0000 Received: (at 42650-done) by debbugs.gnu.org; 3 Aug 2020 12:33:22 +0000 Received: from localhost ([127.0.0.1]:44563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2ZeX-0001ew-Hr for submit@debbugs.gnu.org; Mon, 03 Aug 2020 08:33:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2ZeR-0001ef-GI for 42650-done@debbugs.gnu.org; Mon, 03 Aug 2020 08:33:16 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 31D89160062 for <42650-done@debbugs.gnu.org>; Mon, 3 Aug 2020 14:33:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596457985; bh=JHnE0Q+nBttm7/Q1D8ZeHFxtkFgfdq6ehlEBIfU0cLA=; h=From:To:Cc:Subject:Date:From; b=sHPKrda/54jTrVAi2jdilI3pcb1qHhHO5DPGnx1RSi/pwca6YybTntEk09ffAuRtF IWVCZpVK1yVQCsuoz08khl07zUg00zNK6nt4V/aMTXkcrsItj9GHAjVAhdxCTo1oL3 UUoOU7iOKQ9ldioifUxbnQ3U9zlecq5EVbN7hzsEYqnBSvs3HCyz472ZWIoUvwiQHV 9mySh7rd9IfBtUNdwHFvNQNoERKXtQ+zVd5WyYi3t+6f/RF/VXmBYWt/4Bz5gDDTu4 Y+Rjt5tpvnO4oEO/gVm6C4ZVmIwvbDIm9Dbr7Z4YoPNF0qIUfnNJlb029HxfLsByDR TFPgIRA7p8SXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BKy333sxXz9rxj; Mon, 3 Aug 2020 14:33:03 +0200 (CEST) References: <20200801144321.60595-1-monego@posteo.net> <20200801144321.60595-2-monego@posteo.net> <87o8nsus3f.fsf@gnu.org> User-agent: mu4e 1.4.12; emacs 26.3 From: Vinicius Monego In-reply-to: <87o8nsus3f.fsf@gnu.org> Date: Mon, 03 Aug 2020 09:32:57 -0300 Message-ID: <87zh7baozq.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, Mathieu Othacehe writes: > You need to mention the added file in the commit message and also add it > to gnu/local.mk. Noted, thanks. >> + ;; ONNX will build googletest from a git checkout. Patch CMake >> + ;; to use googletest from Guix and enable tests by default. > > That seems to be a recurrent issue. Did you fix it by yourself or is > there a patch out there? I fixed it by myself. Vinicius