From unknown Wed Jun 18 23:04:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58729 <58729@debbugs.gnu.org> To: bug#58729 <58729@debbugs.gnu.org> Subject: Status: [PATCH 0/2] gnu: python-frozendict: Update to 2.3.4. Reply-To: bug#58729 <58729@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:36 +0000 retitle 58729 [PATCH 0/2] gnu: python-frozendict: Update to 2.3.4. reassign 58729 guix-patches submitter 58729 Michael Rohleder severity 58729 normal tag 58729 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 23:48:57 2022 Received: (at submit) by debbugs.gnu.org; 23 Oct 2022 03:48:58 +0000 Received: from localhost ([127.0.0.1]:42715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omRyr-0001a0-LO for submit@debbugs.gnu.org; Sat, 22 Oct 2022 23:48:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:40432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omRyp-0001Zs-JU for submit@debbugs.gnu.org; Sat, 22 Oct 2022 23:48:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omRyo-0003PH-Bt for guix-patches@gnu.org; Sat, 22 Oct 2022 23:48:55 -0400 Received: from sxb1nlsmtp02.prod.sxb1.secureserver.net ([92.204.71.174]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omRym-0003aK-Oi for guix-patches@gnu.org; Sat, 22 Oct 2022 23:48:54 -0400 Received: from 122.164.205.92.host.secureserver.net ([92.205.164.122]) by : HOSTING RELAY : with ESMTP id mRxkosHLfwsrFmRxkoK5cd; Sat, 22 Oct 2022 20:47:49 -0700 X-SECURESERVER-ACCT: 92.205.164.122 x-originating-ip: 92.205.164.122 X-CMAE-Analysis: v=2.4 cv=R/zFW/dX c=1 sm=1 tr=0 ts=6354b965 a=B/z3iHJ5y0TSvJOmeNZOnw==:117 a=Qawa6l4ZSaYA:10 a=3jsRKl_iYkGsQ1J3VMEA:9 Received: from [192.168.1.3] (helo=micha.rohleder.de) by 122.164.205.92.host.secureserver.net with esmtp (Exim 4.94.2) (envelope-from ) id 1omRxj-003Ecw-Ul; Sun, 23 Oct 2022 05:47:48 +0200 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH 0/2] gnu: python-frozendict: Update to 2.3.4. Date: Sun, 23 Oct 2022 05:47:15 +0200 Message-Id: <20221023034715.5042-1-mike@rohleder.de> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDzktWo7moACTQUAwdTYHmHG4i2oZ6gAmM5B8jGbiawuldLZuBBKgpPjbICA4TwAWaGBBmx6HTWM14eUtFgk+iMJ1RhKYsylRxV29R+rtaYS4fVcaoe3 zH8s1M1CNVjmYxiauwVm7ZytC/R1AVb4QGP+f73L6PJnDqCcoVMkfSTccfmoKSBIIqDoZpoeuIrN5Ku+RbNRnmU9sqOQ8jNa40BVEDoL2TyxY1oL+7FZe68G nuM80yQJ1LahYkLy+JBhKw== Received-SPF: permerror client-ip=92.204.71.174; envelope-from=mike@rohleder.de; helo=sxb1nlsmtp02.prod.sxb1.secureserver.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder 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 (---) While working on synapse I noticed that they found a memory leak in python-frozendict. Updating this needs a newer python-canonicaljson. Michael Rohleder (2): gnu: python-frozendict: Update to 2.3.4. gnu: python-canonicaljson: Update to 1.6.3. gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) base-commit: 1f734a6f0a7db5b0e12091a0c869c5c4810ac80e -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 23:52:23 2022 Received: (at 58729) by debbugs.gnu.org; 23 Oct 2022 03:52:23 +0000 Received: from localhost ([127.0.0.1]:42723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omS2B-0001fz-6N for submit@debbugs.gnu.org; Sat, 22 Oct 2022 23:52:23 -0400 Received: from sxb1nlsmtp01.prod.sxb1.secureserver.net ([92.204.71.154]:45236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omS27-0001fi-KD for 58729@debbugs.gnu.org; Sat, 22 Oct 2022 23:52:22 -0400 Received: from 122.164.205.92.host.secureserver.net ([92.205.164.122]) by : HOSTING RELAY : with ESMTP id mS11oxqZMWS8rmS12omoMy; Sat, 22 Oct 2022 20:51:12 -0700 X-SECURESERVER-ACCT: 92.205.164.122 x-originating-ip: 92.205.164.122 X-CMAE-Analysis: v=2.4 cv=L6PbAcf8 c=1 sm=1 tr=0 ts=6354ba30 a=B/z3iHJ5y0TSvJOmeNZOnw==:117 a=IkcTkHD0fZMA:10 a=Qawa6l4ZSaYA:10 a=NEAV23lmAAAA:8 a=sfOm8-O8AAAA:8 a=6yMSgtjJAAAA:8 a=SwIC22TXAAAA:8 a=uChsZFC9AAAA:8 a=LpNgXrTXAAAA:8 a=CjxXgO3LAAAA:8 a=G7APtdR6iFgJVn7JzxUA:9 a=QEXdDO2ut3YA:10 a=TvTJqdcANYtsRzA46cdi:22 a=8BYyG3x_6qr1n7PN4YH2:22 a=3ei1fCXpV1eyMlHnJ8dW:22 a=ULtXvzFHYWHLyBAuiDia:22 a=LqOpv0_-CX5VL_7kjZO3:22 Received: from [192.168.1.3] (helo=micha.rohleder.de) by 122.164.205.92.host.secureserver.net with esmtp (Exim 4.94.2) (envelope-from ) id 1omS11-003Edd-L9; Sun, 23 Oct 2022 05:51:11 +0200 From: Michael Rohleder To: 58729@debbugs.gnu.org Subject: [PATCH 1/2] gnu: python-frozendict: Update to 2.3.4. Date: Sun, 23 Oct 2022 05:51:00 +0200 Message-Id: <20221023035101.5317-1-mike@rohleder.de> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfL/e1t3WEIqUO7hJgU0WFy93QsWJF1d7nhIUbAMvSuE4u9ALosSbr4haMivxjyEBSafxTwcEen0IC1cBkM1q7YjL87zByk0zRfCc32moZC9l2FTdvhkH C+BHVOEWEErqXMUK3gAdeZkeACADK+YLwbnpyqoO8OpzZTRpGkPkCJ5cICx1DWX/zktmzn90ovS5z3nX1RKUj3zB2pYvMi0vf/tJkiVHTp1+mg0eyA4gCcq0 mMVoj1QJ1jV1u6H3jnE8Uw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58729 Cc: Michael Rohleder 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: -1.0 (-) This fixes a potential memory leak with python 3.9: https://github.com/slezica/python-frozendict/issues/38 * gnu/packages/python-xyz.scm (python-frozendict): Update to 2.3.4. [home-page]: Set to new upstream repository. --- gnu/packages/python-xyz.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 51136d8e6e..f3ede1b417 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -79,7 +79,7 @@ ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman -;;; Copyright © 2020 Michael Rohleder +;;; Copyright © 2020, 2022 Michael Rohleder ;;; Copyright © 2020, 2021, 2022 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga @@ -25954,15 +25954,15 @@ (define-public python-freetype-py (define-public python-frozendict (package (name "python-frozendict") - (version "1.2") + (version "2.3.4") (source (origin (method url-fetch) (uri (pypi-uri "frozendict" version)) (sha256 - (base32 "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp")))) + (base32 "0y3zn57i1q5192f7l4w2z2zsy3rrx50g563msaq954r58s1v3d0m")))) (build-system python-build-system) - (home-page "https://github.com/slezica/python-frozendict") + (home-page "https://github.com/Marco-Sulla/python-frozendict") (synopsis "Simple immutable mapping for Python") (description "@dfn{frozendict} is an immutable wrapper around dictionaries that -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 23:52:31 2022 Received: (at 58729) by debbugs.gnu.org; 23 Oct 2022 03:52:32 +0000 Received: from localhost ([127.0.0.1]:42728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omS2J-0001gK-Jm for submit@debbugs.gnu.org; Sat, 22 Oct 2022 23:52:31 -0400 Received: from sxb1nlsmtp03.prod.sxb1.secureserver.net ([92.204.71.193]:42557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omS2G-0001fy-Jb for 58729@debbugs.gnu.org; Sat, 22 Oct 2022 23:52:30 -0400 Received: from 122.164.205.92.host.secureserver.net ([92.205.164.122]) by : HOSTING RELAY : with ESMTP id mS1BoPtbOKEPMmS1Bo5CSh; Sat, 22 Oct 2022 20:51:21 -0700 X-SECURESERVER-ACCT: 92.205.164.122 x-originating-ip: 92.205.164.122 X-CMAE-Analysis: v=2.4 cv=e4jAC4l/ c=1 sm=1 tr=0 ts=6354ba39 a=B/z3iHJ5y0TSvJOmeNZOnw==:117 a=Qawa6l4ZSaYA:10 a=NEAV23lmAAAA:8 a=dzEi1OD0rVeblzLuex0A:9 Received: from [192.168.1.3] (helo=micha.rohleder.de) by 122.164.205.92.host.secureserver.net with esmtp (Exim 4.94.2) (envelope-from ) id 1omS1A-003Edd-TO; Sun, 23 Oct 2022 05:51:20 +0200 From: Michael Rohleder To: 58729@debbugs.gnu.org Subject: [PATCH 2/2] gnu: python-canonicaljson: Update to 1.6.3. Date: Sun, 23 Oct 2022 05:51:01 +0200 Message-Id: <20221023035101.5317-2-mike@rohleder.de> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221023035101.5317-1-mike@rohleder.de> References: <20221023035101.5317-1-mike@rohleder.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfH9svjKdguahHoornNSVgXA2pMVPAZx7eFo791GQIjgPWoezDDDoI0BsVlR6QCKe0IKkcCLSR1YAA5RSPXc7vE4gATUXlO6tA5ddejlGoRs5301qjk1Q RhGe8uGFcz3EauFPSD4S0aNwN9fWStu8fUo0sI47n93umccergZRY0TvNRdPKNEVghk4gURdRW9vjGI5CdrdBOGrVuHg3n0/GJHKUKkrBoxuWPkP+BYiQIsT F1T2MKUPQY+dalte16eUAQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58729 Cc: Michael Rohleder 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: -1.0 (-) * gnu/packages/python-xyz.scm (python-canonicaljson): Update to 1.6.3. [arguments]: Add phases build, check and install to build with pep517. Add phase loosen-requirements to build with python-setuptools-scm >3. [native-inputs]: Add python-pypa-build, python-pytest, python-setuptools, python-setuptools-scm. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f3ede1b417..d5f94d1cfb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26043,14 +26043,39 @@ (define-public python-py-cpuinfo (define-public python-canonicaljson (package (name "python-canonicaljson") - (version "1.4.0") + (version "1.6.3") (source (origin (method url-fetch) (uri (pypi-uri "canonicaljson" version)) (sha256 - (base32 "0c86g0vvzdcg3nrcsqnbzlfhpprc2i894p8i14hska56yl27d6w9")))) + (base32 "0j5lq191jkd483q6xzc16c9fahxf15lrv03mvah9ka3lq85pcnfa")))) (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'loosen-requirements + (lambda _ + ;; Permit newer versions of setuptools_scm + (substitute* "pyproject.toml" + ((">= 2.0.0, <3") ">= 2.0.0")))) + (replace 'build + (lambda _ + ;; ZIP does not support timestamps before 1980. + (setenv "SOURCE_DATE_EPOCH" "315532800") + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest")))) + (replace 'install + (lambda _ + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" + "install" "--no-deps" "--prefix" #$output whl))))))) + (native-inputs + (list python-pypa-build python-pytest python-setuptools python-setuptools-scm)) (propagated-inputs (list python-six python-frozendict python-simplejson)) (home-page "https://github.com/matrix-org/python-canonicaljson") -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 05 06:52:19 2022 Received: (at submit) by debbugs.gnu.org; 5 Nov 2022 10:52:19 +0000 Received: from localhost ([127.0.0.1]:55585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGmg-0000SA-O3 for submit@debbugs.gnu.org; Sat, 05 Nov 2022 06:52:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:57542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orGmf-0000S2-Pv for submit@debbugs.gnu.org; Sat, 05 Nov 2022 06:52:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGmd-0001B8-UD for guix-patches@gnu.org; Sat, 05 Nov 2022 06:52:16 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orGmc-0004zM-7d for guix-patches@gnu.org; Sat, 05 Nov 2022 06:52:15 -0400 Received: from localhost (unknown [54.36.30.212]) by mira.cbaines.net (Postfix) with ESMTPSA id 1B43927BBE9; Sat, 5 Nov 2022 10:52:11 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e8c2c18b; Sat, 5 Nov 2022 10:52:10 +0000 (UTC) References: <20221023034715.5042-1-mike@rohleder.de> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Michael Rohleder Subject: Re: [bug#58729] [PATCH 0/2] gnu: python-frozendict: Update to 2.3.4. Date: Sat, 05 Nov 2022 11:51:47 +0100 In-reply-to: <20221023034715.5042-1-mike@rohleder.de> Message-ID: <87bkplk71i.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 58729-done@debbugs.gnu.org, guix-patches@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: -2.4 (--) --=-=-= Content-Type: text/plain Michael Rohleder writes: > While working on synapse I noticed that they found a memory leak in > python-frozendict. Updating this needs a newer python-canonicaljson. > > Michael Rohleder (2): > gnu: python-frozendict: Update to 2.3.4. > gnu: python-canonicaljson: Update to 1.6.3. > > gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++------ > 1 file changed, 31 insertions(+), 6 deletions(-) Thanks for the patches! I've pushed these to master as b3147b149c8c44f5b4fe20936438165fa449fe20. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNmQFlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcJ6hAAgSB0UaFgqpoGgm4EzdaikNZY/zaAWRzO gvNpG7AmaVJtTmXmqV3dKj1S0eXu5YAVlqVXHj1MzDL9+/A5RLMLCm42aV7jz4+f cFrsQjPS9AhttQVqt1DRriwAXxfL20LbzPnuHo1uauUH/uQTrn4+ctJUMOY6/hk1 tnDU6am8rgqyt3IbE0oKI6Hl+K+GcVwZxi7FG8/VZv1a/Ly5w/hOteYAUgARJs6g +tmXwrZmUWlasMPG7abxcZ4f8vZJJUigo+OkA9wReMOjVjV7HhfZ39ZyWhZ3+U/X iC1LYoFqkJIJVUxXB96r8xzGtQtECBhuyDOFi9Zq46r/zByX4u56eX5wRSaC9F3s AFOlsrdfvexnmQrstyqnFur/Rm2L2OjzZ6MB0QUKTXutK4acXdendZoKyLQs/PEC WjGoff1sY1N5/CIMAbpMyNxc/s85i/AiT7nIlFE/Okr3PU/0G5SRzOWa8SuSrALl 9qvKCIZc8w5Wgl83gg5IwEOuJX/DIhXP5tN5KEnTtL+LSqjbZoyUhMamtXVqZY1T O2zTpwiYAH/cyASQFYq2Vy1Q9JCSwa5kNEuSKgAcAVpVr6dvvCXY3WTHxaWQ3CIG yPpEQLE6LRL5puyJuzxxa/9mLPdr73DQ1X+74cagdhRyFNcnGQ7bATauMIZre+gL 4sBTG6tnAcw= =1IFk -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 23:04:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 03 Dec 2022 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator