From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id COslAFnrQGCnEQAA0tVLHw (envelope-from ) for ; Thu, 04 Mar 2021 14:14:49 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aOt5N1jrQGDOdgAAB5/wlQ (envelope-from ) for ; Thu, 04 Mar 2021 14:14:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 2FC142688E for ; Thu, 4 Mar 2021 15:14:48 +0100 (CET) Received: from localhost ([::1]:51570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHokZ-00016Z-8M for larch@yhetil.org; Thu, 04 Mar 2021 09:14:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHois-00084m-Od for guix-patches@gnu.org; Thu, 04 Mar 2021 09:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46651) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHois-00089x-HR for guix-patches@gnu.org; Thu, 04 Mar 2021 09:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHois-0005iT-Du for guix-patches@gnu.org; Thu, 04 Mar 2021 09:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46920] [PATCHES] Update python-tortoise-orm and dependencies Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Mar 2021 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46920 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46920@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161486717221953 (code B ref -1); Thu, 04 Mar 2021 14:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2021 14:12:52 +0000 Received: from localhost ([127.0.0.1]:58197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHoii-0005i1-6N for submit@debbugs.gnu.org; Thu, 04 Mar 2021 09:12:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:48874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHoif-0005hs-Qq for submit@debbugs.gnu.org; Thu, 04 Mar 2021 09:12:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHoif-0007il-Lb for guix-patches@gnu.org; Thu, 04 Mar 2021 09:12:49 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:43456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHoid-00082m-K1 for guix-patches@gnu.org; Thu, 04 Mar 2021 09:12:49 -0500 Received: by mail-wr1-x42f.google.com with SMTP id w11so27779202wrr.10 for ; Thu, 04 Mar 2021 06:12:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=gKkdxK2HhORjbnifvUY9KVusMeFA8q/LJmEukeNUZio=; b=wVVAHjycrSmYlJSyL2TYW1sQ3xnsKwVbWZZBV/vu7fPcVTQDuI9jtLwuAdto0EA88R wNdxbuNEJyZPTBwujnBgbUM160QDVsGth6W+0c7ECVpkvAJiA9Ck8yJ774/8xNPCo6Xi w7ikCSM0wMDX2wmBCGRU2OCJB9tz6QMsDCOqYVBkq2a0aYgaVNjBMpTCUMnfcDnC9Ef7 ylZZfc6Q/FPSPNG7vDW8zOpa9S7WF4YHViG9UtlNImfJEVkYRpzTBoCWGrpTSufrO93H uRzzK6zxuWEmC70qgVHmOPU9+LaiDSeRT5rv85EBgVDHobAQJL99KNzxj5K38/S1gSnu Z3lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=gKkdxK2HhORjbnifvUY9KVusMeFA8q/LJmEukeNUZio=; b=MjYs3JnC71rDs/QFyfWzDmrJSzzBBHE8p88rriQ6gL8hTNhpk3mm4aHBTN0NHOOgDa 1bc9sVZ3arpN3qYg7eYMhzo5xrTObXG0bNW6zdBRvhQwIcxrYeGNI0sMYuQFUPTsBlCU Xh+whFHVMJyGk5EHyWVBYmjnSsYp8nvoJFATEPhgrW7WgrDH2+ELZiEl3+xBg4QDqdA9 bDHXXguntTbOF2k4jsrfX9OZWOcJlzCn6M+jdpGU8Zz2FtLBwnYMXXtIamBQpdrd+yvr mdrKhN5Azx4/3i7j0KYd7l+z2bpiVASsu4bha+Ri0dG8fI8Vq0STGLUlbdhdW3HHkVSn EVgA== X-Gm-Message-State: AOAM53264ZZv5Kv177G4HuKRaUEpbE8urQk8lNTXngow2xu9k+Wfs/F9 LqwPyne4xIY9Cx7lPZdfN5yF+paYtkxsMWhu11+xtAI8MVuFD7QnZ/HeZkGM72KSfze9PoHTqdL h/Qc5qEks6RJwMgAWC3HvLHBgSgSLbNujE0P/V2rT37nH1wah09cKsangsSbEMTS+zYWUlUexKx FbQ0ry+COfPw== X-Google-Smtp-Source: ABdhPJzlIEB439rWjR0ZAeaFGtu0331IVuu6hineSXkNkWt6+kFjEJjnl1uwe7Si0XZs/4FLwe6qlw== X-Received: by 2002:a5d:65d1:: with SMTP id e17mr4290855wrw.53.1614867166157; Thu, 04 Mar 2021 06:12:46 -0800 (PST) Received: from localhost (dynamic-2a01-0c22-d0c9-b700-c12b-5b04-75af-596d.c22.pool.telefonica.de. [2a01:c22:d0c9:b700:c12b:5b04:75af:596d]) by smtp.gmail.com with ESMTPSA id 18sm9286992wmj.21.2021.03.04.06.12.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 06:12:45 -0800 (PST) Date: Thu, 4 Mar 2021 15:12:44 +0100 From: Lars-Dominik Braun Message-ID: <20210304141244.GB2963@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jL2BoiuKMElzg3CS" Content-Disposition: inline Received-SPF: none client-ip=2a00:1450:4864:20::42f; envelope-from=ldb@leibniz-psychology.org; helo=mail-wr1-x42f.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614867288; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=gKkdxK2HhORjbnifvUY9KVusMeFA8q/LJmEukeNUZio=; b=c1voxUVTPsBs7fn4RXviiXElzA9yHrkf990GrXe3fldnHG4KxJn07VUjHax5dOetCvEEYf yCyuJxFTyQ/K77/O5sAA5po6XiMDEJGOxMwwC/ouivjUrMq5CyJN+u8e4nEjmXA6b7o3wZ bsn5jwIsb1wZi1yuRjbRq69jrnOB2UlKaBu93MHf9OG5kZRqITXzapz5EoF3oWlivBDiE5 2FIQSuISGP+nu0uf1Pd1WGz4xtAh/YZHLg8Jv1wY/Laor58Q1sNWXuJYLJYM2JQdCBJiZc Ei+HxWgRe4ZEuTlEjXBrvlfxa06kZXtqGQJD0UAS5wffki4d0D/ot+YiZJGDVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614867288; a=rsa-sha256; cv=none; b=Eo9aPoVnSomRYZI98ARvV4cpfOL5aFPnlkU30v3AWb/DJIlWQrWw9majrIfNTe7iFUcvJm palu+nDWKzu7/ddBBSuQWSXX1L34KuJDNI4LGUn2HvpiCnAQJGZ/gZelkZfFXonpy8j3r2 kcNT1DOYWZBIajCjOclMkoeU0ztsBB2+JTM6GDBkbfOq0qhhCZjEmYkGRqQfbLm4OSKNFj Qno7ZjRBd2k4A7ZkxVqWaXzrExV3+p3A4D3Uf9zMk1x1IKo4OBpCEXXjzSJTNCdRQ+Nh+J PAYenCFFLPKOAG7lrvKSZZbA6qX+10kOYttamNyAptCH5Dlxyvne39GF8XAWqA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=wVVAHjyc; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=wVVAHjyc; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2FC142688E X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: rndGHg6lHXm9 --jL2BoiuKMElzg3CS Content-Type: multipart/mixed; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, attached patches update python-tortoise-orm and its dependencies. It seems = to work just fine with python-pika>0.45 for our (simple) application, so I=E2= =80=99m overriding upstream=E2=80=99s decision. Cheers, Lars --=20 Lars-Dominik Braun Wissenschaftlicher Mitarbeiter/Research Associate www.leibniz-psychology.org ZPID - Leibniz-Institut f=C3=BCr Psychologie / ZPID - Leibniz Institute for Psychology Universit=C3=A4tsring 15 D-54296 Trier - Germany Tel.: +49=E2=80=93651=E2=80=93201-4964 --DIOMP1UsTsWJauNi Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-python-aiounittest-Update-to-1.4.0.patch" Content-Transfer-Encoding: quoted-printable =46rom 14ea1ac89bf74c484da35ef183e6f4761d0848ad Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Thu, 4 Mar 2021 13:23:45 +0100 Subject: [PATCH 1/4] gnu: python-aiounittest: Update to 1.4.0. * gnu/packages/check.scm (python-aiounittest) [version]: Update to 1.4.0. [source]: Switch to git repository. [arguments]: Run notetests. [propagated-inputs]: Add python-wrapt. --- gnu/packages/check.scm | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 0baf777393..524cc1874d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2848,15 +2848,27 @@ system. The code under test requires no modificati= on to work with pyfakefs.") (define-public python-aiounittest (package (name "python-aiounittest") - (version "1.3.1") + (version "1.4.0") + ;; Pypi package lacks tests. (source - (origin - (method url-fetch) - (uri (pypi-uri "aiounittest" version)) - (sha256 - (base32 - "1q4bhmi80smaa1lknvdna0sx3915naczlfna1fp435nf6cjyrjl1")))) + (origin (method git-fetch) + (uri (git-reference + (url "https://github.com/kwarunek/aiounittest.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hql5mw62lclrpblbh7xvinwjfcdcfvhhlvl7xlq2hi9isjq1c8r")))) (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "nosetests" "-v") + (format #t "test suite not run~%")) + #t))))) + (propagated-inputs `(("python-wrapt" ,python-wrapt))) (native-inputs `(("python-coverage" ,python-coverage) ("python-nose" ,python-nose))) --=20 2.25.1 --DIOMP1UsTsWJauNi Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0002-gnu-python-pypika-Update-to-0.47.6.patch" Content-Transfer-Encoding: quoted-printable =46rom 5dc1e0009611a00f12b1209dac49245689703979 Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Thu, 4 Mar 2021 13:26:16 +0100 Subject: [PATCH 2/4] gnu: python-pypika: Update to 0.47.6. * gnu/packages/databases.scm (python-pypika): Update to 0.47.6. --- gnu/packages/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 5c6ba05aaf..9eae297d12 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3647,7 +3647,7 @@ transforms idiomatic python function calls to well-fo= rmed SQL queries.") (define-public python-pypika (package (name "python-pypika") - (version "0.44.0") + (version "0.47.6") (source (origin (method git-fetch) (uri (git-reference @@ -3656,7 +3656,7 @@ transforms idiomatic python function calls to well-fo= rmed SQL queries.") (file-name (git-file-name name version)) (sha256 (base32 - "0mpddrw9z1pzcc40j3pzhd583hlgjx96aa8ak6m9zzhpm4bv3ard")))) + "001pg36sw9a36zdd1kccbymcxndphjcjbbrsy6ri7ng8h4dgz549")))) (build-system python-build-system) (native-inputs `(("python-parameterized" ,python-parameterized))) --=20 2.25.1 --DIOMP1UsTsWJauNi Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0003-gnu-python-aiosqlite-Update-to-0.17.0.patch" Content-Transfer-Encoding: quoted-printable =46rom 4599c29f7b6f65c60bab157210726bed4e8bbd02 Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Thu, 4 Mar 2021 13:27:11 +0100 Subject: [PATCH 3/4] gnu: python-aiosqlite: Update to 0.17.0. * gnu/packages/databases.scm (python-aiosqlite) [version]: Update to 0.17.0. [arguments]: Run tests. [propagated-inputs]: Add python-typing-extensions. --- gnu/packages/databases.scm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9eae297d12..3ebc8bb008 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3236,15 +3236,25 @@ translate the complete SQLite API into Python.") (define-public python-aiosqlite (package (name "python-aiosqlite") - (version "0.12.0") + (version "0.17.0") (source (origin (method url-fetch) (uri (pypi-uri "aiosqlite" version)) (sha256 (base32 - "1w8248yz85xyzvvh4jaxnc59fqil45aka6h82kn1rcih4rjxbnn1")))) + "0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph")))) (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "aiosqlite.test= s") + (format #t "test suite not run~%")) + #t))))) + (propagated-inputs + `(("python-typing-extensions" ,python-typing-extensions))) (native-inputs `(("python-aiounittest" ,python-aiounittest))) (home-page "https://github.com/jreese/aiosqlite") --=20 2.25.1 --DIOMP1UsTsWJauNi Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0004-gnu-python-tortoise-orm-Update-to-0.16.21.patch" Content-Transfer-Encoding: quoted-printable =46rom f9c5a742bc73ae0634af5c82e465367cf439b85f Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Thu, 4 Mar 2021 13:30:09 +0100 Subject: [PATCH 4/4] gnu: python-tortoise-orm: Update to 0.16.21. * gnu/packages/databases.scm (python-tortoise-orm) [version]: Update to 0.1= 6.21. [arguments]: Relax version requirements. --- gnu/packages/databases.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 3ebc8bb008..51876bbb8a 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2641,17 +2641,25 @@ can autogenerate peewee models using @code{pwiz}, a= model generator.") (define-public python-tortoise-orm (package (name "python-tortoise-orm") - (version "0.16.7") + (version "0.16.21") (source (origin (method url-fetch) (uri (pypi-uri "tortoise-orm" version)) (sha256 (base32 - "0wr7p4v0b16ypm9fcpwpl99kf491m6w3jkd13xcsgq13fy73fbqc")))) + "1dallk0q8q4v37klm0v3rppf2w8sjkqmypc1w8r9rraqxg1ylacp")))) (build-system python-build-system) - ;; Disable tests for now. They pull in a lot of dependencies. - (arguments `(#:tests? #f)) + (arguments + `(#:tests? #f ; Pypi does not have tests and Git snapshot depends on + ; poetry. + #:phases (modify-phases %standard-phases + (add-after 'unpack 'relax-version-requirements + (lambda _ + (substitute* "setup.py" + (("pypika>=3D0\\.44\\.0,<0\\.45\\.0") "pypika") + (("aiosqlite>=3D0.16.0,<0.17.0") "aiosqlite")) + #t))))) (native-inputs `(("python-asynctest" ,python-asynctest) ("python-nose2" ,python-nose2))) --=20 2.25.1 --DIOMP1UsTsWJauNi-- --jL2BoiuKMElzg3CS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAmBA6tkACgkQQhN3ARo3 hEZHOQv9ESCBAUeR6m3bzvGn8rXsRKFN2jeMs6ZzjWVkc/xP3P2qMZOaRVRAG5Ny 48dcEkV+jodZbqqW0seQXM5kutpQqGg+ZLw6J44NzMfSLMlal3nUQ3/uY0yi62YV 1YfYeKJuiKqY2b7/zSyN3Z+w0JHrNCKnMOnu8g8A/YEJ+UKnEegERsT4Dkj6PWsp 2lBc5mHJDUwtYwr/MddRcLcUV8lrnZaZ1JpqsxFmDGqoJg9FUf0/FRxUA5LwhfUH 3ONAlKQu/PhPUm3Lea++bOggqF7Nq6kbeR9mfewVhLxNfG0ttojbkAXyuuyQpBIN DSwHzVDzGZhGe67jDsQRHpFgkwwRWxw5NFZeCsc3iRGSvfZxmTPdVJbWxu8TlVcB Ha6M7DTyTf8XmrlB3/ThY//MmFOkEVa3HZSz5OQgTzGTUCcIneFlDZRItihZKj9B cVxTqY4XKvoc/grC5Nc0RhHx+qP7r6lm//D9xto4mYQjVZcKxFBn4XsuVW99ynDj I7k3sRD6 =eocv -----END PGP SIGNATURE----- --jL2BoiuKMElzg3CS--