From unknown Sat Jun 21 03:27:09 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#28726 <28726@debbugs.gnu.org> To: bug#28726 <28726@debbugs.gnu.org> Subject: Status: [PATCH] Update python-sqlparse and fix some dependent packages Reply-To: bug#28726 <28726@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:27:09 +0000 retitle 28726 [PATCH] Update python-sqlparse and fix some dependent packages reassign 28726 guix-patches submitter 28726 Christopher Baines severity 28726 normal tag 28726 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:20:53 2017 Received: (at submit) by debbugs.gnu.org; 6 Oct 2017 20:20:53 +0000 Received: from localhost ([127.0.0.1]:53600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Z76-0005Cs-P3 for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:20:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0Z74-0005Cd-Ur for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:20:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0Z6z-0002u2-0g for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:20:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0Z6y-0002to-TS for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:20:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Z6x-0004LQ-TB for guix-patches@gnu.org; Fri, 06 Oct 2017 16:20:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0Z6u-0002rI-Od for guix-patches@gnu.org; Fri, 06 Oct 2017 16:20:43 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50004 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Z6u-0002qT-IU for guix-patches@gnu.org; Fri, 06 Oct 2017 16:20:40 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id D8AB013E67C; Fri, 6 Oct 2017 21:20:36 +0100 (BST) Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B340113E67B for ; Fri, 6 Oct 2017 21:20:36 +0100 (BST) Date: Fri, 6 Oct 2017 21:20:26 +0100 From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] Update python-sqlparse and fix some dependent packages Message-ID: <20171006212026.5797a685@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/cBPvIDUmw6g641q=XlwYwVO"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) --Sig_/cBPvIDUmw6g641q=XlwYwVO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I tried to update python-sqlparse, but it turns out that quite a few of the dependant packages were broken already. I've managed to fix all but one of them. The python-django-mailman3 package still fails to build, I think because it (or at least the testsuite) is not compatible with python 3. Christopher Baines (5): gnu: django: Fix the build for python-django-gravatar2. gnu: django: Fix building python-django-allauth. gnu: django: Fix building python2-django-mailman3. gnu: python: Disable tests for python-graphene. gnu: python: Update python-sqlparse. gnu/packages/django.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++= +--- gnu/packages/mail.scm | 11 ++++++++++ gnu/packages/python.scm | 7 +++++-- 3 files changed, 67 insertions(+), 5 deletions(-) --Sig_/cBPvIDUmw6g641q=XlwYwVO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnX5YpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XelvA//blO2C8JYxzEiqWDHUo3kvXwgrobjcTmBjefl+LL/dW8u6mxUcKHqIwyj sHZp0kdsWypmVwCG/6THm3azkkbMOhk7M3nEwVGYY5KWaUbpFCfTFOkCF2Fdvnxl oC3yUkjhGX0YaHDh/Z4wvpu3l6DzGA1AeFl47Z4owHveoBXkPZzofCVUZZtwfI9p kaU6RiajHjXRL1hd3BiJwkMDjFApL+2ylkWvnkQrIsBCBqwnbrYi478FL1+kUmqu gL/EJ/L321Q7ySPceg6MO4RNbT/Vn5dxeO0pQi7p50Fj54xlORBd22GsY7zRvs0S WoeqJmGyqrntmJbyFhBbNJQzblv9Iw0+Ghloqa6vyQFEm7wEp7vcv342RI8mnljL D4OIQyH8FujXulwWHcAWf0mZlx3Otv9ofC+nJnLAmNfVRwcLRleAAGw6kjVY9QQk 0uOJL8gH1pW8oyg5wHP/jZbo+7kxUS6KErbu6X4+pMqeisgkJsBG0T47549IF3s4 xg8HDTm4lXyEHylY1a3GslJK8L3xL8VSzszDnWwihp6BapAsm86Qe0zyVDWmet4E kEl+pX81aQrhFbnq8kwNaEJGiMFA4k8ychnB1t2PDq+ov4OYPEITudvd2o9mn8Ba caAjKmXyKdxBlhkxEbDUG8xsEeYhYg1d1AQySG8ocURowuAEi5Q= =xN/Z -----END PGP SIGNATURE----- --Sig_/cBPvIDUmw6g641q=XlwYwVO-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:27:07 2017 Received: (at 28726) by debbugs.gnu.org; 6 Oct 2017 20:27:08 +0000 Received: from localhost ([127.0.0.1]:53610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD9-0005Nv-Ei for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:07 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50386 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD6-0005NM-Am for 28726@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:04 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 87C4813E67C; Fri, 6 Oct 2017 21:27:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0AAAB13E67D for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 21:27:03 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id ed2308b1 for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 20:27:02 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 3/5] gnu: django: Fix building python2-django-mailman3. Date: Fri, 6 Oct 2017 21:27:00 +0100 Message-Id: <20171006202702.1511-3-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> References: <20171006202702.1511-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) The python-django-mailman3 build is still broken, as I don't think this package is compatible with python3 yet. With this patch, the tests fail due to the lack of urllib2 (which is just urllib in python3). * gnu/packages/django.scm (python-django-mailman3)[arguments]: Modify the phases to run the tests using django-admin. --- gnu/packages/mail.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index cc3977e2c..62bcfef1a 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2091,6 +2091,17 @@ installation on systems where resources are limited. Its features include: (base32 "1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? + (system* + "django-admin" + "test" + "--settings=django_mailman3.tests.settings_test" + "django_mailman3"))))))) (inputs `(("python-django" ,python-django))) (propagated-inputs -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:27:08 2017 Received: (at 28726) by debbugs.gnu.org; 6 Oct 2017 20:27:08 +0000 Received: from localhost ([127.0.0.1]:53612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD9-0005Nx-UI for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:08 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50387 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD6-0005NN-Ak for 28726@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:04 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id A28A113E67D; Fri, 6 Oct 2017 21:27:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 1D00213E67E for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 21:27:03 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c78da95d for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 20:27:02 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 4/5] gnu: python: Disable tests for python-graphene. Date: Fri, 6 Oct 2017 21:27:01 +0100 Message-Id: <20171006202702.1511-4-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> References: <20171006202702.1511-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) As the tests are missing from the PyPI release. * gnu/packages/python.scm (python-graphene)[arguments]: Set #:tests? to #f. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 594dd38e4..6489bb415 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13099,6 +13099,9 @@ from Facebook.") (base32 "09zhac7igh9ixdz0ay6csy35b40l1jwbf2wrbxmgxwfhy51iy06q")))) (build-system python-build-system) + (arguments + ;; Tests missing from PyPI release. + '(#:tests? #f)) (native-inputs `(("python-django-filter" ,python-django-filter) ("python-mock" ,python-mock) -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:27:08 2017 Received: (at 28726) by debbugs.gnu.org; 6 Oct 2017 20:27:08 +0000 Received: from localhost ([127.0.0.1]:53614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZDA-0005O6-4X for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:08 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50389 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD6-0005NO-Am for 28726@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:05 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id AA72C13E67E; Fri, 6 Oct 2017 21:27:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 36CBB13E67F for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 21:27:03 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 47ee4781 for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 20:27:02 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 5/5] gnu: python: Update python-sqlparse. Date: Fri, 6 Oct 2017 21:27:02 +0100 Message-Id: <20171006202702.1511-5-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> References: <20171006202702.1511-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) * gnu/packages/python.scm (python-sqlparse)[version]: 0.1.19 -> 0.2.4. [source]: Update the sha256 hash. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6489bb415..8362696e9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11548,13 +11548,13 @@ multiple processes (imagine multiprocessing, billiard, futures, celery etc). (define-public python-sqlparse (package (name "python-sqlparse") - (version "0.1.19") + (version "0.2.4") (source (origin (method url-fetch) (uri (pypi-uri "sqlparse" version)) (sha256 (base32 - "1s2fvaxgh9kqzrd6iwy5h7i61ckn05plx9np13zby93z3hdbx5nq")))) + "1v3xh0bkfhb262dbndgzhivpnhdwavdzz8jjhx9vx0xbrx2880nf")))) (build-system python-build-system) (arguments `(#:phases -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:27:08 2017 Received: (at 28726) by debbugs.gnu.org; 6 Oct 2017 20:27:08 +0000 Received: from localhost ([127.0.0.1]:53616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZDA-0005OF-Cq for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:08 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50390 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD6-0005NP-Ag for 28726@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:05 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id D0DFF13E67F; Fri, 6 Oct 2017 21:27:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id DC42E13E67B for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 21:27:02 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 072c6b18 for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 20:27:02 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2. Date: Fri, 6 Oct 2017 21:26:58 +0100 Message-Id: <20171006202702.1511-1-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) The build was failing as the Django settings were not configured for the tests. The relevant files are missing from the release on PyPI, so switch to using a more complete source release. Also update the package at the same time. * gnu/packages/django.scm (python-django-gravatar2)[version]: 1.4.0 -> 1.4.2. [source]: Change to use a tarball from GitHub, update the sha256 hash. [arguments]: Add a phase to skip a test requiring network access, and replace the check phase to call ./manage.py within the example_project directory. --- gnu/packages/django.scm | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index c70c07493..fb8663d3f 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -226,15 +226,43 @@ account authentication.") (define-public python-django-gravatar2 (package (name "python-django-gravatar2") - (version "1.4.0") + (version "1.4.2") (source (origin (method url-fetch) - (uri (pypi-uri "django-gravatar2" version)) + (uri (string-append + "https://github.com/twaddington/django-gravatar/archive/" + version ".tar.gz")) (sha256 (base32 - "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl")))) + "1qa0awqkfnfcjx7d5ijgr9hj8ifpq5xrj16196im4hw9r9i1wapf")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; TODO: Tagging the tests requiring the web could be done upstream. + (add-before 'check 'skip-test-requiring-network-access + (lambda _ + (substitute* "django_gravatar/tests.py" + (("def test_has_gravatar") + "from django.test import tag + @tag('requires-web') + def test_has_gravatar")))) + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append + (getcwd) + ":" + (getenv "PYTHONPATH"))) + (with-directory-excursion "example_project" + (zero? + (system* + "./manage.py" + "test" + "--verbosity=2" + "--exclude-tag=requires-web" + "django_gravatar")))))))) (inputs `(("python-django" ,python-django))) (home-page "https://github.com/twaddington/django-gravatar") -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 16:27:08 2017 Received: (at 28726) by debbugs.gnu.org; 6 Oct 2017 20:27:09 +0000 Received: from localhost ([127.0.0.1]:53618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZDA-0005OM-Ne for submit@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:08 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:50384 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0ZD6-0005NL-B1 for 28726@debbugs.gnu.org; Fri, 06 Oct 2017 16:27:07 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 41F3513E680; Fri, 6 Oct 2017 21:27:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id EDA8013E67C for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 21:27:02 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id f0e91d1e for <28726@debbugs.gnu.org>; Fri, 6 Oct 2017 20:27:02 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 2/5] gnu: django: Fix building python-django-allauth. Date: Fri, 6 Oct 2017 21:26:59 +0100 Message-Id: <20171006202702.1511-2-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> References: <20171006202702.1511-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) * gnu/packages/django.scm (python-django-allauth)[arguments]: Modify the standard phases to skip a test, and run the tests using django-admin with the settings configured. --- gnu/packages/django.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index fb8663d3f..93068300d 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -204,6 +204,26 @@ them do this.") (base32 "1fslqc5qqb0b66yscvkyjwfv8cnbfx5nlkpnwimyb3pf1nc1w7r3")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; TODO: Tagging the tests requiring the web could be done upstream. + (add-before 'check 'skip-test-requiring-network-access + (lambda _ + (substitute* "allauth/socialaccount/providers/openid/tests.py" + (("def test_login") + "from django.test import tag + @tag('requires-web') + def test_login")))) + (replace 'check + (lambda _ + (setenv "DJANGO_SETTINGS_MODULE" "test_settings") + (zero? (system* + "django-admin" + "test" + "allauth" + "--verbosity=2" + "--exclude-tag=requires-web"))))))) (propagated-inputs `(("python-openid" ,python-openid) ("python-requests" ,python-requests) -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 07 23:31:14 2017 Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 03:31:15 +0000 Received: from localhost ([127.0.0.1]:55346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12J8-00025S-Np for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:31:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12J6-00025B-BN for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12J0-0005OD-Gf for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:31:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e12J0-0005Nz-DQ for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:31:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e12Iz-00010P-B7 for guix-patches@gnu.org; Sat, 07 Oct 2017 23:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12Iu-0005K5-FD for guix-patches@gnu.org; Sat, 07 Oct 2017 23:31:05 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:56614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e12Iu-0005Jo-8D for guix-patches@gnu.org; Sat, 07 Oct 2017 23:31:00 -0400 Received: by mail-wm0-x22f.google.com with SMTP id l68so15537946wmd.5 for ; Sat, 07 Oct 2017 20:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=KDggHff8gnvz7mMcBcDUX96HgN4rjHYg4vUVD1aIQ3c=; b=QyWUKK+aR5lssO+SZL9IDIAtnk4u/7FEovV1aJB1qdUfPaLaofxfygZ59/gs4Et6B9 JR9IGwnmGIRlgUhk1HOQdmtxtOTvtGI6Uq7jIeUGBDt/0LsuTxWlIkSicFTVafr53p45 6vz/CHZna4u8hoisC+Qyr38s2mC9ok7Zwp/2FK1B2G4b17vp3xpR0TgM7yj9bRSVCtjJ GGCbDE1oiahg7PXWRXhS+qO36QgbSdmkpnF/sknNGWQVRFlPKpPkZk4TfqiRm0UYmau6 LBwVxpc0eZ2OXMm/HasCqidXFGMMOdtclZOwb58TknLyFO6WsrLyBoCqN/Ok/CrJCCQT AV/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KDggHff8gnvz7mMcBcDUX96HgN4rjHYg4vUVD1aIQ3c=; b=uauU9GFmbAXvRA77KPRJ+um1w69oYD5XABf2TxLlf3Td0TohWJ9HvvlReSkpd/1bQF s3eZDVEi7YWTy7xSlO0sXRSGeZaREOG6PD3nUR5qHnZJ0WiC2lDDzPepT88YpOBR9iFC yxiemLv9+89kRTvS/mLgGCb8NoArJFZazvtNDVsJFg3c9Ix1OMdhF4lctK2aqNYPfT2N IApw+P6umfoBTARz7B+v5cH17nWKGRrzRWDk0joQtPCz572v7HJSLHiH363Y0XAQSfKZ zTqJGN117BWoDNWNMgB1FxS+eAhICPxLzwHShYZsyFYBM/y8ts76qtummD9yyCaxu99Z yl+A== X-Gm-Message-State: AMCzsaWzSSvJwWvBvLrLkLh9n8TO3RipK26njQX6o3iUMFsAZ2Ak864z GoMcu4zjEY8+ouAS/n0enjaLHw== X-Google-Smtp-Source: AOwi7QC7vLCdo6efNt264IIglLZbeLlGyG/e6U7d0PNa6ltS8XERQPuzNjcj4bY8fW406Jn0pL6Bzg== X-Received: by 10.28.98.212 with SMTP id w203mr5755813wmb.88.1507433458668; Sat, 07 Oct 2017 20:30:58 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id h5sm7337476wrb.89.2017.10.07.20.30.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Oct 2017 20:30:57 -0700 (PDT) Subject: Re: [bug#28726] [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2. To: guix-patches@gnu.org References: <20171006212026.5797a685@cbaines.net> <20171006202702.1511-1-mail@cbaines.net> From: Cyril Roelandt Message-ID: Date: Sun, 8 Oct 2017 05:30:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171006202702.1511-1-mail@cbaines.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) On 10/06/2017 10:26 PM, Christopher Baines wrote: > The build was failing as the Django settings were not configured for the > tests. The relevant files are missing from the release on PyPI, so switch to > using a more complete source release. Also update the package at the same > time. What are these missing files? Couldn't we add them using a patch? Is there a reason why they were not included in PyPI, or is this a bug? The reason why we'd like to use PyPI rather than other URLs is that, when using PyPI, "guix refresh" is able to find new releases automatically. Cyril. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 07 23:32:48 2017 Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 03:32:48 +0000 Received: from localhost ([127.0.0.1]:55350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Ke-00027m-2m for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:32:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Kb-00027Y-RA for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:32:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12KW-0005rG-0v for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:32:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52420) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e12KV-0005r9-TO for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:32:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e12KU-0001Qe-Rw for guix-patches@gnu.org; Sat, 07 Oct 2017 23:32:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12KQ-0005pl-51 for guix-patches@gnu.org; Sat, 07 Oct 2017 23:32:38 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:54459) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e12KP-0005pZ-Uk for guix-patches@gnu.org; Sat, 07 Oct 2017 23:32:34 -0400 Received: by mail-wm0-x235.google.com with SMTP id i124so15554367wmf.3 for ; Sat, 07 Oct 2017 20:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=UpPRe2l+4XBOdj6JRNeB0pYoCMSBivcCpzVDelonyuc=; b=QLHwJdz20vnd6Y/Nqi6xvbMHgzrrKNIJym4iqAAMXEA96P82UANjXMPfqtoPmkhpk8 OqLHuqLR7boMxNrEYg5phhwX4+e08+fFxlxywO5TO9dBFy5FySk57lMdfJI6ydOV+yVt PFV1qYTRAXZFUtQnHidYudlxCFRcf0R3/ig3Iq57KR7E5NG/Unqs6MgCEcgoccNktflz IcF3HUP8m0P/XVM7uWmK0RpLjFT05QgGC1nvcOjACxzrs9h1b35usla3poIBbeGo3EaT ClHqA85nJrxqYFdHyC1NAX43qud0PLtoiqifaY5n3olBH5M7zrG5F2XTVmsZuvNfPLfE ucBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UpPRe2l+4XBOdj6JRNeB0pYoCMSBivcCpzVDelonyuc=; b=NJhzu/C2ijmOYfZwplNjD3ZFACkJ1pByM41+5YTkBXy0OodRP5AQ1m7QqtRrIPbdc3 v1dmsvi1ohI+ScEBdWnBEKiTSg2MzWWfAfg0PupUk3Gp8v4CONS+dhO/2RGNFuKbCrD6 sdkV3l7CAgmRSjRcPtIsD8/uHnA16QlzS8AutYNRc0MEDymJJSGRdE4bBLMfX1/62HPT r+M2bUW0ssQTiH5bCGT7vq4rnPq3n3uzG0xqu02QjHHs5P8ndGKslE+bxgmN+U5+hY9q jfYLjZEhXQ1b/erv8cFXe0GwKAGHhp+ikVD7h3veaBRzdIcy8F9p8yduUrqOO493FFsy 3qzA== X-Gm-Message-State: AMCzsaXJXkmoGWCtXDOe4C0WBuCXx64dTqBJe8YGh4XETwMEO6jvKqqh AIhUi5oLR5suHLZXOJDA14dUvg== X-Google-Smtp-Source: AOwi7QAIzbEaXJS0ZF+8WFlKX0zZrx1ld4VMn9SHO6Fn0IaOap9FyenvvSFobGJc0cxedLayIA+Grw== X-Received: by 10.28.93.145 with SMTP id r139mr4766196wmb.72.1507433552772; Sat, 07 Oct 2017 20:32:32 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id b9sm4453224wrf.32.2017.10.07.20.32.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Oct 2017 20:32:32 -0700 (PDT) Subject: Re: [bug#28726] [PATCH 4/5] gnu: python: Disable tests for python-graphene. To: guix-patches@gnu.org References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-4-mail@cbaines.net> From: Cyril Roelandt Message-ID: Date: Sun, 8 Oct 2017 05:32:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171006202702.1511-4-mail@cbaines.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) On 10/06/2017 10:27 PM, Christopher Baines wrote: > As the tests are missing from the PyPI release. Looks good to me. This is done on purpose: https://github.com/graphql-python/graphene/blob/master/MANIFEST.in . Do you think the authors would be open to fix this? Cyril. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 07 23:40:21 2017 Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 03:40:21 +0000 Received: from localhost ([127.0.0.1]:55354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Rw-0002Jt-SG for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:40:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Ru-0002Jf-Nw for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:40:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12Ro-0000Od-SX for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:40:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45318) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e12Ro-0000O4-O5 for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:40:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e12Rj-0001qo-GC for guix-patches@gnu.org; Sat, 07 Oct 2017 23:40:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12RX-00006T-Vb for guix-patches@gnu.org; Sat, 07 Oct 2017 23:40:00 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:45181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e12RX-00005y-P5 for guix-patches@gnu.org; Sat, 07 Oct 2017 23:39:55 -0400 Received: by mail-wm0-x236.google.com with SMTP id q124so14908011wmb.0 for ; Sat, 07 Oct 2017 20:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=yFgWDcp27xYdwVmDBoA0JOfou/FukDmfEp4YI3Meu0w=; b=JbIfHS2/vKIkRb8A3sIO8mcSXnOm9nYvqQbHGzB79P8cWejaNyowdwLkv5f3aJcFOZ BPFmXupG+MpmKV3eIgNASFQGpoNkRC956XIJaSzgxDQsDjmQiGHzAcD1vXIe+emNzet/ RweegX2tIB+1ZhsSYW/eeNGDqQI3GT19FH9SG7Mm7Lk2/TJU+UQJr41Ml1pwL6Ygf2fQ 5SKYCa+IIFJYskheXsTayYAUzeWTRRCfcdqnTJfJ2htypkN/Q6bLL9sAp8SzRNygzR3/ BUoNBDx/ww5PfzIZFsXhkXPdZjqAY+fTJWtw2HFy2amwbhLVAxPLkjunnY15md7uMBfC /WWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yFgWDcp27xYdwVmDBoA0JOfou/FukDmfEp4YI3Meu0w=; b=JwW5AzWZ0cttBmUK2tB1oAjkHc9LIVoz/6LmzL6r0UONN9n2fQbtSWlgLkJxyrdM/q SCUVgjACAiKIPekIYhEsQAOA9rOLIp8kvdB1tGMW+hmsYN/lpFyEnD1nPSb2Z+eUuKvy 0EUe7W5Fq6d9j2SDVtswnakK0QEk26QXw64WjctBxjz3vE5lrQld/mpC3nXg1KVoxnte cc0gB2I1ypd9G4uVsz/URtrEJ4rRE9DY3UeWCfpSf/XKLmUmzHYhqraNWTH8hKy+77ot q2nuecTPKC3ZSMLpfzTj3YCPE/UdViOxhCJq7/lwY+1NngnbH2CLyCwWMISSkdoIH2+O Kwqw== X-Gm-Message-State: AMCzsaXPaOqSumTKmw/f/gcQk5hUF99oyPTkJPv4cL8fZ0GWVlMyYNer j2mdrikxxR1P3KD9iK+hPYqTIA== X-Google-Smtp-Source: AOwi7QCCvaPy6AXu0ZR6RvUKOF29Ge3YkndxZsAOBvxjINzusgwdeEbcePyccMK2Bl2AvoIjw3WMSQ== X-Received: by 10.28.23.76 with SMTP id 73mr5790661wmx.70.1507433994443; Sat, 07 Oct 2017 20:39:54 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id 4sm7215828wmm.1.2017.10.07.20.39.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Oct 2017 20:39:53 -0700 (PDT) Subject: Re: [bug#28726] [PATCH 5/5] gnu: python: Update python-sqlparse. To: guix-patches@gnu.org References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-5-mail@cbaines.net> From: Cyril Roelandt Message-ID: <3c26a9f6-aec1-9b09-d983-46773f70db7f@gmail.com> Date: Sun, 8 Oct 2017 05:39:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171006202702.1511-5-mail@cbaines.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) On 10/06/2017 10:27 PM, Christopher Baines wrote: > * gnu/packages/python.scm (python-sqlparse)[version]: 0.1.19 -> 0.2.4. > [source]: Update the sha256 hash. OK, thanks! Cyril. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 07 23:43:05 2017 Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 03:43:05 +0000 Received: from localhost ([127.0.0.1]:55359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Ub-0002O5-9Y for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:43:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e12Ua-0002Nd-2w for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12UU-0001kV-9H for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:42:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e12UU-0001kO-5a for submit@debbugs.gnu.org; Sat, 07 Oct 2017 23:42:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e12UT-0002H9-2g for guix-patches@gnu.org; Sat, 07 Oct 2017 23:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e12UP-0001j1-WD for guix-patches@gnu.org; Sat, 07 Oct 2017 23:42:57 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:49474) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e12UP-0001io-PV for guix-patches@gnu.org; Sat, 07 Oct 2017 23:42:53 -0400 Received: by mail-wm0-x22a.google.com with SMTP id b189so14801680wmd.4 for ; Sat, 07 Oct 2017 20:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=NG2u3JIulkxTJRJJZOj1TKuwulh1LfMYTQybchC7YF4=; b=i/UnLlir3RThu91EyVIMHBnwyghfmtGMgh6EJ1UJJI7MTF7Bw5wq/CJFtSm8mgzCUq oY2/LxJtMTw9cnTtDMYVQlkymLOpc+nQrGrtSH3/zwfBHvsW4OHrq+RCIIwlKc1wECll m6ATzs+jGtrdG6hwUrqlxFJzpDZAwWo4RFTJdtJXRwYbK6e8iwJcz3y2rUbSptHELyPj g+5/pZI8XGWhfgG1I6KEnKo/nW4UeF2Ola0FXkXZ3c12RqNZA2LUYZQBooyB8pIKhqnB Mc7+Cdm3wYSIz9HbXzJOvGxL/v0J2fM5HgPU+Wz2B04h/d0qWRGz9f9ozx+w6Mk0LFYP gOMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NG2u3JIulkxTJRJJZOj1TKuwulh1LfMYTQybchC7YF4=; b=sGJNtWJym1R4H1MVGwUJWorbkVH/WCkkYEfhCNo6oJNz5foIJ5FjzMTnF+gMoUgVH/ y01fwEjX8yb6wdF4XLaZok4ZrzGrzThP5fH83L2AVaRd9NeuiwJxIMfNQkl2j8abeS7m YblTkFGAGdGQVVgncB2jXWmexowP+qx8SQwXCXuOjaA5SMFC2l42oeZ8KkVDLGmTr5gQ XLc8uZ+vURS3o8nWfzVak6y47aFYrNEl7x0QFjkIr0EfJq8JqINFKKfyA2iu11BbA+tp I93mbKjoFVRKE6DEjQGWWNsKgm1BVufNUWgCi0sfNqZlgpbsCGYyzEcXY7/M9OV+NZsq Q0ZA== X-Gm-Message-State: AMCzsaXNiukH6+LvKttQmzVShImfsf/yJzQ96vEdv7abD+NiNdCkP8M8 JhXhoQyl+B5Xj3lDDvncZHRiZw== X-Google-Smtp-Source: AOwi7QC/0ZWy3aqpf1i65Hl29WJ0TNpzziiGJ1rHqcLv2TczFKwNLIwigkizdRCdY1pg4ALMyAjy2A== X-Received: by 10.28.16.142 with SMTP id 136mr5696622wmq.62.1507434172537; Sat, 07 Oct 2017 20:42:52 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id 204sm5630161wml.10.2017.10.07.20.42.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Oct 2017 20:42:51 -0700 (PDT) Subject: Re: [bug#28726] [PATCH 3/5] gnu: django: Fix building python2-django-mailman3. To: guix-patches@gnu.org References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-3-mail@cbaines.net> From: Cyril Roelandt Message-ID: <0d85a0df-14ad-6e97-1313-88ad0d3e6fab@gmail.com> Date: Sun, 8 Oct 2017 05:42:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171006202702.1511-3-mail@cbaines.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) On 10/06/2017 10:27 PM, Christopher Baines wrote: > The python-django-mailman3 build is still broken, as I don't think this > package is compatible with python3 yet. With this patch, the tests fail due to > the lack of urllib2 (which is just urllib in python3). You're right: https://gitlab.com/mailman/django-mailman3/issues/3 . Shouldn't this package be removed? I believe we should only keep the Python 2 version. WDYT? Cyril. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 03:54:15 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 07:54:15 +0000 Received: from localhost ([127.0.0.1]:55452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e16Pf-00007r-8X for submit@debbugs.gnu.org; Sun, 08 Oct 2017 03:54:15 -0400 Received: from aibo.runbox.com ([91.220.196.211]:45782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e16Pd-00007i-Eu for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 03:54:14 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e16Pb-0005w7-SX; Sun, 08 Oct 2017 09:54:11 +0200 Received: from [78.109.23.1] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e16PO-0007C1-TQ; Sun, 08 Oct 2017 09:53:59 +0200 Date: Sun, 8 Oct 2017 07:53:54 +0000 From: ng0 To: Cyril Roelandt Subject: Re: [bug#28726] [PATCH 3/5] gnu: django: Fix building python2-django-mailman3. Message-ID: <20171008075354.hy33ft7gpvniciik@abyayala> References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-3-mail@cbaines.net> <0d85a0df-14ad-6e97-1313-88ad0d3e6fab@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v7flesypn2n6y2qt" Content-Disposition: inline In-Reply-To: <0d85a0df-14ad-6e97-1313-88ad0d3e6fab@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28726 Cc: 28726@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: -0.7 (/) --v7flesypn2n6y2qt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cyril Roelandt transcribed 0.4K bytes: > On 10/06/2017 10:27 PM, Christopher Baines wrote: > > The python-django-mailman3 build is still broken, as I don't think this > > package is compatible with python3 yet. With this patch, the tests fail= due to > > the lack of urllib2 (which is just urllib in python3). >=20 > You're right: https://gitlab.com/mailman/django-mailman3/issues/3 . >=20 >=20 > Shouldn't this package be removed? I believe we should only keep the > Python 2 version. WDYT? >=20 > Cyril. As far as I understood Harmut and Mailman back then, only some parts of mailman3 are python3 compatible (search the mailinglist for it). I seem to be remember that it was limited to frontends so far, so you are right it should be removed. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --v7flesypn2n6y2qt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnZ2ZIACgkQ4i+bv+40 hYj2tg//aVgXd0YxTVjelSMdH63Tc1x9OqMLjiEeH6m4MGYd9HNR8aM8xou749xS iopOpOk8krynV2tjBfuSOqIUmipjt3hdWQBWSte8SS/SkUT8u6PEmeB9TFFcQ5in WzxT8XYi+7IdIz0w4sajJmHXtJEC7N5Jnw8FdDhoez+xBjhkNbL3ALt2AthNb/4f igdMzU5C+MR11umyBvKQ/CulO3wO9G58PvePFW2QIeNyYDNqh55UzaMuq/VocTE3 b/g2shaKxMVSpFYcdR0vp6pfiUk2UcwQ3UWKvIU6xnlJVFqCfUthx//FyMoOs4xf vFa7DZcu4/mI87f127T2DpAvHnMOJCjY9Chl9tFNpsHtcvJ+OKULR4s/t3vC02b2 XY72/p4eVDZ0ScxY9FUhrOJIHtZaq/2PDlLvuclR1Fwve8Yjh9m+dXgmaCQb3h8D 4sOVKhxJ1GXm8QoiAqSfiG6DO/xOiUp+w8jXvNkTTd8qr97Tq8G/0Hegt5XS3W02 9IcNm7rWemrKm95Zb0CSVjJSprGlW8CfxQ5N5b0sUxN1E3emNmNzmEmm6N5xsnFZ b9GD1kTguMoVmzOjU3dQEwxF/UD8P/VoL9kgmRRilfjueDt+OWBUHD0elXU+m17c oMgobvD2xejxS9UANQVQrm6LG41FrLeXy6eYYxfVt1PXiQ7YkCI= =ptDc -----END PGP SIGNATURE----- --v7flesypn2n6y2qt-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 03:56:07 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 07:56:07 +0000 Received: from localhost ([127.0.0.1]:55456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e16RT-0000Ar-Kn for submit@debbugs.gnu.org; Sun, 08 Oct 2017 03:56:07 -0400 Received: from aibo.runbox.com ([91.220.196.211]:38958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e16RS-0000Aj-5C for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 03:56:06 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e16RR-0006NR-CD; Sun, 08 Oct 2017 09:56:05 +0200 Received: from [78.109.23.1] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e16RM-0008E3-IJ; Sun, 08 Oct 2017 09:56:00 +0200 Date: Sun, 8 Oct 2017 07:55:58 +0000 From: ng0 To: Cyril Roelandt Subject: Re: [bug#28726] [PATCH 4/5] gnu: python: Disable tests for python-graphene. Message-ID: <20171008075558.jbof5twg7dootv4x@abyayala> References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-4-mail@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b7e377z65zhl3md6" Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28726 Cc: 28726@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: -0.7 (/) --b7e377z65zhl3md6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Cyril Roelandt transcribed 0.3K bytes: > On 10/06/2017 10:27 PM, Christopher Baines wrote: > > As the tests are missing from the PyPI release. >=20 > Looks good to me. >=20 > This is done on purpose: > https://github.com/graphql-python/graphene/blob/master/MANIFEST.in . Do > you think the authors would be open to fix this? >=20 >=20 > Cyril. As I would say: "Don't ask to ask, just ask". Even when it might take a very long time, you'll get a response =66rom upstream developers. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --b7e377z65zhl3md6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnZ2g4ACgkQ4i+bv+40 hYj6dA//QGpOosHz6ubTRN48LJvg94uLAq+sPWK14+vOrrbMsBwbzH+92SlMU3lt SXI2/dEqwvGCfKDfjZ/9xSteiiYmnYMti0bOyYFKy5/ARtna38g3zcD7h5rb/Bws maCwXvBF0Q3hUNpjBd1gYV/t0y5HhR41D045bSJZbB7Isv5q1w9lNSGp4TRIG8C/ cT403p/2g0hFFcDq1cmGtdxclvrRqNOgHO+Q5qcX0MRgSh5jwCsnkMvor8j5L2k9 6qLWlKgqmBdI2mquW/PS8MoFs96m+N4Wpbq+GZpgdsGooNFxFOXYkfwd4dQ3yxk4 u8+7sxTrpl/+s4vpb7fl5Qtrrzebdg7Mh+zr1VQ3RiKE5QAEeIiNDsFQJUOZXXeQ iVNosVoa9K8LEqewvm1+HV9dH7Omc5fty+X3+puMJZsih0xnFHFxxtUwzIlBn+uT XcSBwD98Z+R5Z7iq8GseLSBa3L9Z/guSD4IuE8wcrumMLjnD3o5TvbOgbmg73999 3hmNPDY5aKlcaK701pmf9YJHpJ6Nygnsyg3qHN5W8UWmzcGw3c6aiyUneAxb5XDz vBdogTIUq6vB0EBuSTRGrLON3AM0tUjxgmpj2mOaCNG2bwqOUfCSh+yJNlzhx9G1 qk75tIy1M/hES8k0F5E+/pFFXMznSEdq2J+PYSVA++W/+oIwF0s= =pQKy -----END PGP SIGNATURE----- --b7e377z65zhl3md6-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 10:52:56 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 14:52:56 +0000 Received: from localhost ([127.0.0.1]:56495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1Cwq-0003xw-2H for submit@debbugs.gnu.org; Sun, 08 Oct 2017 10:52:56 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51544 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1Cwn-0003xl-Mj for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 10:52:54 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id CC36B13E69F; Sun, 8 Oct 2017 15:52:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id A39DC13E69D; Sun, 8 Oct 2017 15:52:51 +0100 (BST) Date: Sun, 8 Oct 2017 15:52:45 +0100 From: Christopher Baines To: Cyril Roelandt Subject: Re: [bug#28726] [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2. Message-ID: <20171008155245.044649da@cbaines.net> In-Reply-To: References: <20171006212026.5797a685@cbaines.net> <20171006202702.1511-1-mail@cbaines.net> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/8NpmL8AGJGLMdcSH7WMXDj+"; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 Cc: 28726@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: -0.0 (/) --Sig_/8NpmL8AGJGLMdcSH7WMXDj+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 8 Oct 2017 05:30:56 +0200 Cyril Roelandt wrote: > On 10/06/2017 10:26 PM, Christopher Baines wrote: > > The build was failing as the Django settings were not configured > > for the tests. The relevant files are missing from the release on > > PyPI, so switch to using a more complete source release. Also > > update the package at the same time. =20 > What are these missing files? Couldn't we add them using a patch? Is > there a reason why they were not included in PyPI, or is this a bug? It's the example_project/settings.py file that is key. I guess this could be added as a patch, it's a little long at 168 lines though. --Sig_/8NpmL8AGJGLMdcSH7WMXDj+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnaO71fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfW0RAAsiBmZjx2P96XAqUBt+Ny690h9UMfwlnFUHOZBcKmTnJSJcKfq8FvdPAB r8x3ioTaZ3nx5u4YFD6hB5TXqCjPHsA2M9JzxqFjXUVggonKqEMmUgCG7A2uAtWK RlyqCFn3uThR7RT9YUOfbkEZDyYrp5fFQJH/gpSls/x9c7pntTlNSZQHh9liA8Do MO18wX1xqWzXD82zzsLJ+whtDqjcIJAs7Ac/tN9F5+DXbuZQtCcTPtVV/D+YHa99 DvxT+baGzctW+1i/mFPR1qDNhHDfM+bFaCKsIHhJiiyLf1VQ4xJEauTQP6Uif/w7 Qob3bnsfPas1uecAJYa3QzGRsUrDi0fGdiYtEamE3HgeNOBYZlnm9hzvzBj0uLLK jdHhMABZ/faQvF5OIxSRQjTllV/a9Knbsr0S31LDu9enaLuC4HNoFdeVvsfGLORk WmracQ6e7k8PDlJm/46HrVeTrlfe23axaqxIvQ14c4a3xw9LwhSXoRviZXgAC+Sp MtIX6+3ZOs75h7UFOz6niiEBJbiFtQxN/sfyZRLr80jW8t8eBULZpI9Vw+ebj2Vu 8BSnRGKBqppnEEwU/9MT9j071QV0U72lbMTZsxwhsFDjKbOqTI76fMRCAsVA0Dve yyY7L9nLHVSM2ueLS/sxzepbRpQNwxlyx+O0+O3JSX1JQHC5UoA= =DE3G -----END PGP SIGNATURE----- --Sig_/8NpmL8AGJGLMdcSH7WMXDj+-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:02:40 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:02:40 +0000 Received: from localhost ([127.0.0.1]:56545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E2K-0005ip-B2 for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:02:40 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51601 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E2H-0005id-Eh for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:02:38 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 7F04813E6A1; Sun, 8 Oct 2017 17:02:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 2C92A13E69F; Sun, 8 Oct 2017 17:02:24 +0100 (BST) Date: Sun, 8 Oct 2017 17:02:20 +0100 From: Christopher Baines To: Cyril Roelandt Subject: Re: [bug#28726] [PATCH 1/5] gnu: django: Fix the build for python-django-gravatar2. Message-ID: <20171008170220.3f27c9e7@cbaines.net> In-Reply-To: <20171008155245.044649da@cbaines.net> References: <20171006212026.5797a685@cbaines.net> <20171006202702.1511-1-mail@cbaines.net> <20171008155245.044649da@cbaines.net> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/OA0BW=YqKZPAV9szRhX0yAD"; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 Cc: 28726@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: -0.0 (/) --Sig_/OA0BW=YqKZPAV9szRhX0yAD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 8 Oct 2017 15:52:45 +0100 Christopher Baines wrote: > On Sun, 8 Oct 2017 05:30:56 +0200 > Cyril Roelandt wrote: >=20 > > On 10/06/2017 10:26 PM, Christopher Baines wrote: =20 > > > The build was failing as the Django settings were not configured > > > for the tests. The relevant files are missing from the release on > > > PyPI, so switch to using a more complete source release. Also > > > update the package at the same time. =20 > > What are these missing files? Couldn't we add them using a patch? Is > > there a reason why they were not included in PyPI, or is this a > > bug? =20 >=20 > It's the example_project/settings.py file that is key. I guess this > could be added as a patch, it's a little long at 168 lines though. On a more practical note, I don't know of an proper way of generating such a patch. The only approaches that come to mind are going through Git, or writing it manually in Emacs, both of which seem bad. Any advice on generating patches? --Sig_/OA0BW=YqKZPAV9szRhX0yAD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnaTAxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdQdg//fDdFgDsv1rJuoMKQKmmQRNO9ZaZndOtO/PJ+TRQ4ZOt58yoDGlXJgXbD +9HzqlvH+W/gSpIOwdEumqZOPelVtxlPilzhr4aFK0lUvEKIz7hd/pCYJYbto42A PimCqY4BwZTPNOEPdSBq6balktw7O7StTBiI02f++XJ8IOsGYjsF0Is8nFrGf7cw W3tcTzMBaFsnFFY0kJ57RvPmSSgeIHnNlMzSjvF40mO1u9pWZMWv0Fl86zXwsVSc eiDdtjRbO1pHNiwHGZlkt/ZCPWCcyRt3Qza+d434GcAAnz8nWGTanYO8FsZNqoVW QMgzvoyBlkjv+r8bNin0PVDaSY+cfziI1FsfJ6rnUxeK9oCfHKJu5keStaL6twYN HaI2GuoHzuOzrAgnsU6fXGEHQchNDoia4HBBUCiQ6+tShDfJC3j+5kpdmUgp+Xne NTuIGp3xtV11nZehnBXo0MKPsfVK1pbaTyHUAjZLQB0ccX90Rr8PyPX9W80UiTt6 KN9E5GqBsxfDuQd1SpYtdF0uhAnMRSDRJ+kvBjVY6gtPIwSqaCuNifoIGobJiFkm mmumbTy9kBvSV6GMWGdriEpaWyP6H+R+t6fk0NoKKFyhA63hn+ilpv7mcWJITBiv 8hpLG5ZvXhnadZ3J0ZlYkMlquWO5yt+2bWaTB1aLHla8rtEKqWs= =VSyE -----END PGP SIGNATURE----- --Sig_/OA0BW=YqKZPAV9szRhX0yAD-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:03:56 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:03:56 +0000 Received: from localhost ([127.0.0.1]:56552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3W-0005l8-Rm for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:56 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51612 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3V-0005ki-Qg for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:54 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 6D63F14760E; Sun, 8 Oct 2017 17:03:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0E80D13E6A6 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:53 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 130a9e61 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 2/6] gnu: django: Fix building python-django-allauth. Date: Sun, 8 Oct 2017 17:03:48 +0100 Message-Id: <20171008160352.10325-2-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) * gnu/packages/django.scm (python-django-allauth)[arguments]: Modify the standard phases to skip a test, and run the tests using django-admin with the settings configured. --- gnu/packages/django.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index fb8663d3f..93068300d 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -204,6 +204,26 @@ them do this.") (base32 "1fslqc5qqb0b66yscvkyjwfv8cnbfx5nlkpnwimyb3pf1nc1w7r3")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; TODO: Tagging the tests requiring the web could be done upstream. + (add-before 'check 'skip-test-requiring-network-access + (lambda _ + (substitute* "allauth/socialaccount/providers/openid/tests.py" + (("def test_login") + "from django.test import tag + @tag('requires-web') + def test_login")))) + (replace 'check + (lambda _ + (setenv "DJANGO_SETTINGS_MODULE" "test_settings") + (zero? (system* + "django-admin" + "test" + "allauth" + "--verbosity=2" + "--exclude-tag=requires-web"))))))) (propagated-inputs `(("python-openid" ,python-openid) ("python-requests" ,python-requests) -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:03:57 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:03:57 +0000 Received: from localhost ([127.0.0.1]:56556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3Y-0005lE-Pf for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:57 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51616 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3W-0005kj-0n for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:54 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 9674113E6A6; Sun, 8 Oct 2017 17:03:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 007AF13E6A5 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:52 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c8592e1a for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 1/6] gnu: django: Fix the build for python-django-gravatar2. Date: Sun, 8 Oct 2017 17:03:47 +0100 Message-Id: <20171008160352.10325-1-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) The build was failing as the Django settings were not configured for the tests. The relevant files are missing from the release on PyPI, so switch to using a more complete source release. Also update the package at the same time. * gnu/packages/django.scm (python-django-gravatar2)[version]: 1.4.0 -> 1.4.2. [source]: Change to use a tarball from GitHub, update the sha256 hash. [arguments]: Add a phase to skip a test requiring network access, and replace the check phase to call ./manage.py within the example_project directory. --- gnu/packages/django.scm | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index c70c07493..fb8663d3f 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -226,15 +226,43 @@ account authentication.") (define-public python-django-gravatar2 (package (name "python-django-gravatar2") - (version "1.4.0") + (version "1.4.2") (source (origin (method url-fetch) - (uri (pypi-uri "django-gravatar2" version)) + (uri (string-append + "https://github.com/twaddington/django-gravatar/archive/" + version ".tar.gz")) (sha256 (base32 - "1v4qyj6kms321yw0z2g1kch6b2dskmv6fjd6sfxzwr4xshq9mccl")))) + "1qa0awqkfnfcjx7d5ijgr9hj8ifpq5xrj16196im4hw9r9i1wapf")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; TODO: Tagging the tests requiring the web could be done upstream. + (add-before 'check 'skip-test-requiring-network-access + (lambda _ + (substitute* "django_gravatar/tests.py" + (("def test_has_gravatar") + "from django.test import tag + @tag('requires-web') + def test_has_gravatar")))) + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append + (getcwd) + ":" + (getenv "PYTHONPATH"))) + (with-directory-excursion "example_project" + (zero? + (system* + "./manage.py" + "test" + "--verbosity=2" + "--exclude-tag=requires-web" + "django_gravatar")))))))) (inputs `(("python-django" ,python-django))) (home-page "https://github.com/twaddington/django-gravatar") -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:03:59 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:03:59 +0000 Received: from localhost ([127.0.0.1]:56558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3a-0005lb-BX for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:59 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51618 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3W-0005kk-Bp for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:54 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id E5B7713E6A5; Sun, 8 Oct 2017 17:03:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 1FA8413E6A7 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:53 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id da32b661 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 3/6] gnu: mail: Fix building python2-django-mailman3. Date: Sun, 8 Oct 2017 17:03:49 +0100 Message-Id: <20171008160352.10325-3-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) The python-django-mailman3 build is still broken, as I don't think this package is compatible with python3 yet. With this patch, the tests fail due to the lack of urllib2 (which is just urllib in python3). * gnu/packages/mail.scm (python-django-mailman3)[arguments]: Modify the phases to run the tests using django-admin. --- gnu/packages/mail.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index ddf583649..4d0e177e5 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2091,6 +2091,17 @@ installation on systems where resources are limited. Its features include: (base32 "1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? + (system* + "django-admin" + "test" + "--settings=django_mailman3.tests.settings_test" + "django_mailman3"))))))) (inputs `(("python-django" ,python-django))) (propagated-inputs -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:03:59 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:04:00 +0000 Received: from localhost ([127.0.0.1]:56560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3b-0005le-LE for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:59 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51619 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3W-0005kl-Eh for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:54 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 08B1613E6A7; Sun, 8 Oct 2017 17:03:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 31A2213E6A8 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:53 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id f51fda70 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 4/6] gnu: python: Disable tests for python-graphene. Date: Sun, 8 Oct 2017 17:03:50 +0100 Message-Id: <20171008160352.10325-4-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) As the tests are missing from the PyPI release. * gnu/packages/python.scm (python-graphene)[arguments]: Set #:tests? to #f. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cc7aa8fa4..eb98f5f13 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13112,6 +13112,9 @@ from Facebook.") (base32 "09zhac7igh9ixdz0ay6csy35b40l1jwbf2wrbxmgxwfhy51iy06q")))) (build-system python-build-system) + (arguments + ;; Tests missing from PyPI release. + '(#:tests? #f)) (native-inputs `(("python-django-filter" ,python-django-filter) ("python-mock" ,python-mock) -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:04:00 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:04:00 +0000 Received: from localhost ([127.0.0.1]:56562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3b-0005ll-Tn for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:04:00 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51620 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3W-0005kx-Nj for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:56 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 4F77313E6A8; Sun, 8 Oct 2017 17:03:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 61003147429 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:53 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 300ce38a for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 6/6] gnu: mail: Remove python-django-mailman3. Date: Sun, 8 Oct 2017 17:03:52 +0100 Message-Id: <20171008160352.10325-6-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) This package fails to build, as django-mailman3 currently only works with Python 2. * gnu/packages/mail.scm (python-django-mailman3): Removed variable. (python2-django-mailman3): Inline the use of python-django-mailman3, and remove the use of package-with-python2. --- gnu/packages/mail.scm | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 4d0e177e5..dfa78da26 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2079,9 +2079,9 @@ installation on systems where resources are limited. Its features include: @end enumerate\n") (license license:expat))) -(define-public python-django-mailman3 +(define-public python2-django-mailman3 (package - (name "python-django-mailman3") + (name "python2-django-mailman3") (version "1.0.1") (source (origin @@ -2092,7 +2092,7 @@ installation on systems where resources are limited. Its features include: "1adxyh8knw9knjlh73xq0jpn5adml0ck4alsv0swakm95wfyx46z")))) (build-system python-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ @@ -2101,17 +2101,18 @@ installation on systems where resources are limited. Its features include: "django-admin" "test" "--settings=django_mailman3.tests.settings_test" - "django_mailman3"))))))) + "django_mailman3"))))) + #:python ,python-2)) (inputs - `(("python-django" ,python-django))) + `(("python2-django" ,python2-django))) (propagated-inputs - `(("python-requests" ,python-requests) - ("python-requests-oauthlib" ,python-requests-oauthlib) - ("python-openid" ,python-openid) - ("python-mailmanclient" ,python-mailmanclient) - ("python-django-allauth" ,python-django-allauth) - ("python-django-gravatar2" ,python-django-gravatar2) - ("python-pytz" ,python-pytz))) + `(("python2-requests" ,python2-requests) + ("python2-requests-oauthlib" ,python2-requests-oauthlib) + ("python2-openid" ,python2-openid) + ("python2-mailmanclient" ,python2-mailmanclient) + ("python2-django-allauth" ,python2-django-allauth) + ("python2-django-gravatar2" ,python2-django-gravatar2) + ("python2-pytz" ,python2-pytz))) (home-page "https://gitlab.com/mailman/django-mailman3") (synopsis "Django library for Mailman UIs") (description @@ -2119,15 +2120,6 @@ installation on systems where resources are limited. Its features include: interacting with Mailman.") (license gpl3+))) -(define-public python2-django-mailman3 - (let ((base (package-with-python2 - python-django-mailman3))) - (package - (inherit base) - (propagated-inputs - `(("python2-openid" ,python2-openid) - ,@(package-propagated-inputs base)))))) - (define-public postorius (package (name "postorius") -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:04:00 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:04:00 +0000 Received: from localhost ([127.0.0.1]:56564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3c-0005lt-89 for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:04:00 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51621 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E3X-0005l9-69 for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:03:56 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id CA4F213E6A5; Sun, 8 Oct 2017 17:03:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 4E90513E6A9 for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 17:03:53 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 1799f55b for <28726@debbugs.gnu.org>; Sun, 8 Oct 2017 16:03:52 +0000 (UTC) From: Christopher Baines To: 28726@debbugs.gnu.org Subject: [PATCH 5/6] gnu: python: Update python-sqlparse. Date: Sun, 8 Oct 2017 17:03:51 +0100 Message-Id: <20171008160352.10325-5-mail@cbaines.net> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171008160352.10325-1-mail@cbaines.net> References: <20171008160352.10325-1-mail@cbaines.net> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 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: -0.0 (/) * gnu/packages/python.scm (python-sqlparse)[version]: 0.1.19 -> 0.2.4. [source]: Update the sha256 hash. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index eb98f5f13..8b2ed6612 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11561,13 +11561,13 @@ multiple processes (imagine multiprocessing, billiard, futures, celery etc). (define-public python-sqlparse (package (name "python-sqlparse") - (version "0.1.19") + (version "0.2.4") (source (origin (method url-fetch) (uri (pypi-uri "sqlparse" version)) (sha256 (base32 - "1s2fvaxgh9kqzrd6iwy5h7i61ckn05plx9np13zby93z3hdbx5nq")))) + "1v3xh0bkfhb262dbndgzhivpnhdwavdzz8jjhx9vx0xbrx2880nf")))) (build-system python-build-system) (arguments `(#:phases -- 2.14.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 12:05:02 2017 Received: (at 28726) by debbugs.gnu.org; 8 Oct 2017 16:05:02 +0000 Received: from localhost ([127.0.0.1]:56573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E4b-0005oF-KE for submit@debbugs.gnu.org; Sun, 08 Oct 2017 12:05:01 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51635 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1E4Z-0005o5-Hm for 28726@debbugs.gnu.org; Sun, 08 Oct 2017 12:04:59 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 2C94D13E6A6; Sun, 8 Oct 2017 17:04:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 9362C13E6A5; Sun, 8 Oct 2017 17:04:58 +0100 (BST) Date: Sun, 8 Oct 2017 17:04:57 +0100 From: Christopher Baines To: ng0 Subject: Re: [bug#28726] [PATCH 3/5] gnu: django: Fix building python2-django-mailman3. Message-ID: <20171008170457.2107daab@cbaines.net> In-Reply-To: <20171008075354.hy33ft7gpvniciik@abyayala> References: <20171006202702.1511-1-mail@cbaines.net> <20171006202702.1511-3-mail@cbaines.net> <0d85a0df-14ad-6e97-1313-88ad0d3e6fab@gmail.com> <20171008075354.hy33ft7gpvniciik@abyayala> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/c71TYB4VLJon5nvbVp0xR25"; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726 Cc: 28726@debbugs.gnu.org, Cyril Roelandt 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: -0.0 (/) --Sig_/c71TYB4VLJon5nvbVp0xR25 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 8 Oct 2017 07:53:54 +0000 ng0 wrote: > Cyril Roelandt transcribed 0.4K bytes: > > On 10/06/2017 10:27 PM, Christopher Baines wrote: =20 > > > The python-django-mailman3 build is still broken, as I don't > > > think this package is compatible with python3 yet. With this > > > patch, the tests fail due to the lack of urllib2 (which is just > > > urllib in python3). =20 > >=20 > > You're right: https://gitlab.com/mailman/django-mailman3/issues/3 . > >=20 > >=20 > > Shouldn't this package be removed? I believe we should only keep the > > Python 2 version. WDYT? > >=20 > > Cyril. =20 >=20 > As far as I understood Harmut and Mailman back then, only some parts > of mailman3 are python3 compatible (search the mailinglist for it). > I seem to be remember that it was limited to frontends so far, so > you are right it should be removed. Ok. I've sent an updated set of patches, which includes a patch to remove the Python 3 variant. --Sig_/c71TYB4VLJon5nvbVp0xR25 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlnaTKlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdICQ/9FFzF7Zz/lob9H7A5NVH1he2w0suehG9/nYPFADbXnTedo7Is8eqVajZC C5CvyS4elbHDwbixUqA9CF900HG4xOF5+oNg6L9iKrLDUecQLxAJ+IRSCvM4ShCH yNp4qkkf8tNizMkWEZYN9UowUwPDcJIEvDzNqCij33zvzNZD75gO7PXQnzNBiIs+ 2p6AsB9bJgWdM+qRd3O/ZelPUGonPFb1wsxIXpR2HIlQd4g0BVxTZt4iF2cAPNnY H1L0z4yoeY0Xf41hRfspxVVWdSBfiAFS5HuXQcp383Rh8oZlgsnW5ok3fBLmpJqW 6dD681fCSF1H/ofrUHWQtEHmDyGyZZBEkduqTtiuA/EcLygMqj68Nt7XwWcCfCp/ Eb+KGmG1b+bhrDPHTWuVfN3zOQnQj60b5JhyGzi7/rAnJiLzgZBKM5orANHetrtC ITLG84D7gAb15mdovjT2VI6n8RS+Zidc6QOdB1LoVXIvWlMnQ8CHYbiA5/pO0YLv U+enCA9bdOaLCVKPHj1o0q8mgryZcFEtQuqYl1ooj9zmKESm7I+PqtLbnJ9FYsts /UbY+5eEdTC3bvUypXpkgPEub2f2OkCKsnCksPgi21XYqGu7I8nF2pVE7KrS2m+X HpLGiG7ViAJgNVlIPFXHU7jih57kgAw2hR03x47ghZY7fq9VlCg= =95BD -----END PGP SIGNATURE----- --Sig_/c71TYB4VLJon5nvbVp0xR25-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 17:24:05 2017 Received: (at 28726-done) by debbugs.gnu.org; 24 Nov 2017 22:24:05 +0000 Received: from localhost ([127.0.0.1]:56564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIMOC-00074g-TE for submit@debbugs.gnu.org; Fri, 24 Nov 2017 17:24:05 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:51897 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIMOB-00074Y-HP for 28726-done@debbugs.gnu.org; Fri, 24 Nov 2017 17:24:04 -0500 Received: by mira.cbaines.net (Postfix, from userid 113) id B9E2C1479CE; Fri, 24 Nov 2017 22:24:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 9870B1479CA for <28726-done@debbugs.gnu.org>; Fri, 24 Nov 2017 22:24:00 +0000 (GMT) Received: from giedi (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d070888a for <28726-done@debbugs.gnu.org>; Fri, 24 Nov 2017 22:24:00 +0000 (UTC) References: <20171006212026.5797a685@cbaines.net> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Christopher Baines To: 28726-done@debbugs.gnu.org Subject: Re: [bug#28726] [PATCH] Update python-sqlparse and fix some dependent packages In-reply-to: <20171006212026.5797a685@cbaines.net> Date: Fri, 24 Nov 2017 22:23:57 +0000 Message-ID: <87tvxj48oy.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28726-done 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: -0.0 (/) --=-=-= Content-Type: text/plain Christopher Baines writes: > I tried to update python-sqlparse, but it turns out that quite a few of > the dependant packages were broken already. > > I've managed to fix all but one of them. The python-django-mailman3 > package still fails to build, I think because it (or at least the > testsuite) is not compatible with python 3. > > Christopher Baines (5): > gnu: django: Fix the build for python-django-gravatar2. > gnu: django: Fix building python-django-allauth. > gnu: django: Fix building python2-django-mailman3. > gnu: python: Disable tests for python-graphene. > gnu: python: Update python-sqlparse. > > gnu/packages/django.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++++--- > gnu/packages/mail.scm | 11 ++++++++++ > gnu/packages/python.scm | 7 +++++-- > 3 files changed, 67 insertions(+), 5 deletions(-) So, I left this for so long that the update I was trying to do was done by someone else (in [1]), which is fine, but there was still some stuff to finish off here. As above, some of the dependant packages were broken already. I've checked this just now, and pushed a couple of the patches that were being tracked in this bug, the python-django-allauth fix, and the removal of python-django-mailman3. I've left the python-django-gravatar2 fix for now, as there were some open questions about the change in source from PyPI. 1: 8d688cd27f267f4d143d0f20ed3c352188151302 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAloYm/1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xcnww/+IOFBuVRE2zBQfMdNMRvj3t3IPkmXKgS/YBgTth8AU2Q4Byts4lHdAGK6 Io8+CJFWCx1AbYZnb3RQR//ka53vvKcgns4aP1dDMd6n3o2p7WsbUvZpEn/xsJzS t+iYUSwwVQl4O0zpk2qvYiPMPwj9ZWQtYiHqktPweDLYQ4hasjxUQi/dKfI4KUBw JQSdy3I6Fw2f8YRh0+AMYuTB8YLIa8CkFYMbhAkt1WsOdQUWVqeuSzKva71zQmyF OQc1FFl5jQXtHiXQtIzRcbWJddYtAsrO2YirLUuuEr5NJJpCm6fYjoNMW3mGt4yh MdalwaLUd+S6Dufd5OimNXiNd31zLVZYj5cAQst59rkpzqr5rQlkxVBKVvbfD/cK Y6xe3ZDlHC99btVTwX5Cb3J65qExL5qCsRHwPqxVVmgtJaXu38HJYyGsNwuHr68M AR6Z84PRlTnpnWRq9Z5GpdzJzCPTy9yNfWEL0QO0+SAkENhllR7KKDK+lBunLB7n 5IBuTi1SkqnFBkCrC/CW1XkjlNnhc/5rpCsGjtd/UOB9lxnIanJG60SYSvyEbapr /Fc1y+FQkbujripi8RiUbO4b4FBxjaRh7bQ3tq31l2jk6eX7J2pmpY7kBo7DDGTO eHzSdAKeTsgnXphkkcBhjFSt9ePpAjZFuAU/Ix70E+3kvNJuhY4= =+1V5 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 03:27:09 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, 23 Dec 2017 12:24:04 +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