From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0Ho2GkRzHF9VewAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 18:00:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id hYkDFkRzHF+mZwAAbx9fmQ (envelope-from ) for ; Sat, 25 Jul 2020 18:00:36 +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 aspmx1.migadu.com (Postfix) with ESMTPS id B9856940714 for ; Sat, 25 Jul 2020 18:00:35 +0000 (UTC) Received: from localhost ([::1]:60532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzOTI-00031X-Mj for larch@yhetil.org; Sat, 25 Jul 2020 14:00:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzOSo-00031K-QA for guix-patches@gnu.org; Sat, 25 Jul 2020 14:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzOSo-0000mW-FE for guix-patches@gnu.org; Sat, 25 Jul 2020 14:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzOSo-0007YR-Cz for guix-patches@gnu.org; Sat, 25 Jul 2020 14:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42511] [PATCH v2 1/2] gnu: python-slugify: Update to 4.0.1. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jul 2020 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42511 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tanguy Le Carrour Cc: go.wigust@gmail.com, 42511@debbugs.gnu.org Received: via spool by 42511-submit@debbugs.gnu.org id=B42511.159569998628990 (code B ref 42511); Sat, 25 Jul 2020 18:00:02 +0000 Received: (at 42511) by debbugs.gnu.org; 25 Jul 2020 17:59:46 +0000 Received: from localhost ([127.0.0.1]:51087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzOSW-0007XU-Gr for submit@debbugs.gnu.org; Sat, 25 Jul 2020 13:59:46 -0400 Received: from mout.gmx.net ([212.227.17.20]:60329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzOSR-0007XE-G0 for 42511@debbugs.gnu.org; Sat, 25 Jul 2020 13:59:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1595699972; bh=cAunxTEBU6LB3hE/tKZ0lmX6+QzSa5YVaQEeUJaTM9w=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=PoOa+kee3OinqtzHz4YgL/Fydx3OuNYYl80FftCP2qa2JHkA/qs7CgP0xi2NQAmJ4 4CAdU2Ta+LjTxTm4VDm0gTnV4aHcR8cC+Al1JajQOoNgBP/8u3+ZZHmDWRpw1J3GLg lPEYJGfePnB3neVxcKJw7/1eZoPounx0BrjVQaeM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from e119807-lin ([82.69.64.142]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N2V0B-1kwYlH0Lq3-013vIb; Sat, 25 Jul 2020 19:59:32 +0200 References: <20200724081611.8643-1-tanguy@bioneland.org> <20200725172337.3609-1-tanguy@bioneland.org> User-agent: mu4e 1.4.10; emacs 26.3 From: Pierre Langlois In-reply-to: <20200725172337.3609-1-tanguy@bioneland.org> Date: Sat, 25 Jul 2020 18:59:31 +0100 Message-ID: <875zabzda4.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:XQ85XVFIweTIWqsUxht32tdafAt99QoGrDHlSkplAOtz8VwvYXo qlYanNMISnIvyUBlRmKPvtbQLeZ812qqRA4pbQlWayb+q8BfycHUMFW/wGl6s5qUq48Axbu pIXqklqfVoDVRI4xaPNdE/nt6pLqXajYv38hZEDn60R4QaUbPT7JD48NWCf8rn9p5eXMRlH dQNcCzMt/Fsz/Q01nlEJA== X-UI-Out-Filterresults: notjunk:1;V03:K0:kCp6/JsVOoU=:RBPj620o7e8x7Werv8O6na 0thohGtK0Z1+b0OX49wTGV9NxNGFHtJk8NCliGe2xZVG0aEH0znypfBhG5uiA88PMrJfxgsR2 MXkDIrt1/JWGmKxmijbJvsR4ShDlvjIk4OfW34jxrfO8O+rW8kZN/7VLpYzwUghFUZo8Ow1wC 05SMzu8I/P6BAdsLkF+jl2V17O7uvzoViqhhfQXn3kwYN0gvSH925ruMB6rsy9fSLDgDx72t7 tOBFSYmcWZH/YTHCtXYQOLkqqLn7O4DIxneCYVuJK9BuU0ts0BFdp+eIdBUi7BhQ1KEyM9tvF ouhUnrZsB8szXuQuTWBBq2dR9XT5p/dsNN6u2bS7eAUUuvkGftWzx0adhhBh6Axxc7X0wtlOd ymLm1lLEkr9zX1cWC+Rh3Vb1DB63WfLBDDI9yxI6VCcTuVhSN8+jgpLSCIBBb578/mJNcUVFe v0S0FplhtopI3fYcHNPoyvUeOMCUeNXghRq1hKTDWfsRxVdWODVV6HN2iAQC06xo+1ytRrZmp c2uC1wx8SlV6ndJvNlZTkL1XmOiUzxG0RSV341VsBvV4ditAyVUl2AIhNupGr5ltgs4exNeRS 9vBqJng7Ln3YXaUufvPPQtuW1UaNpZE/Ma8Onks6qXORx5gG/MlelPzT0k+VZUzgFZfbuL8rE NqMd7HJxKTQgfkHEnHTSgnD9STQ6OgO9pltYq6d9Ai5KfAU2u0psqmbzqMnCBgt2CBLx6JDgp gjkzLrxCl1erwNnSplOGlPoVepOU5Yzlottk7x/2MB1r2xs5804rSNlWs+ET6guK9zuE/lgA+ x2vktemYa1pG+hRtT10yl4WWxq3wOhbzmQmrtlw1R1hkSlVv4BBCLfwFJkFPT274zHjVwg7lX hYB5280qFxHw178WqVawO6BRmp2d+DVDn4ZR6fgbzXjkQFMM/2xlpIhapkipIV1loVqeivAb/ HkIBWi21fTii6u6B74zDBXB3rnfAT/KYbcVk3SvzL7KiXZokfPyrDSBpnoNjIPInpeRdiusDa 48c32d49mEZJXjbv7PpwgSmTTZEnx9KwoQ7pxCorWTi0MY+6ZxmI2tQncPiKmt22wUCj/H+VE KIzm/7s0Wn1X+TMvNCBMTxUfo+Nj84nttMTzHptWW8KFyxUBzijJl/mVp4HJPzMvzFIhBtcvH mkZRHiw5Pex15Gy65tMuvUZYWGUZ2MtvohhlvjIWPocjiATM3ilvbAqoqlorYyU20J11i+VW4 p6Ol7/VIq540Xj73M6qb8p/E6v9NSKqNQATrf9w== Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.2 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmx.net header.s=badeba3b8450 header.b=PoOa+kee; dmarc=none; spf=pass (aspmx1.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-Spam-Score: 2.49 X-TUID: jyWGqe13mTOW Hi Tanguy! Tanguy Le Carrour writes: > * gnu/packages/patches/python-slugify-depend-on-unidecode.patch: Delete = file. > * gnu/local.mk (dist_patch_DATA): Adjust accordingly. > * gnu/packages/python-web.scm (python-slugify): Update to 4.0.1. [source= ] Drop patch. > --- > gnu/local.mk | 1 - > .../python-slugify-depend-on-unidecode.patch | 22 ------------------- > gnu/packages/python-web.scm | 6 ++--- > 3 files changed, 2 insertions(+), 27 deletions(-) > delete mode 100644 gnu/packages/patches/python-slugify-depend-on-unidec= ode.patch > > diff --git a/gnu/local.mk b/gnu/local.mk > index f2a7b6b984..bb9b03bb6f 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -1478,7 +1478,6 @@ dist_patch_DATA =3D \ > %D%/packages/patches/python-pygpgme-fix-pinentry-tests.patch \ > %D%/packages/patches/python-robotframework-honor-source-date-epoch.pa= tch \ > %D%/packages/patches/python-shouldbe-0.1.2-cpy3.8.patch \ > - %D%/packages/patches/python-slugify-depend-on-unidecode.patch \ > %D%/packages/patches/python2-subprocess32-disable-input-test.patch \ > %D%/packages/patches/python-tinycss2-flake8-compat.patch \ > %D%/packages/patches/python-unittest2-python3-compat.patch \ > diff --git a/gnu/packages/patches/python-slugify-depend-on-unidecode.pat= ch b/gnu/packages/patches/python-slugify-depend-on-unidecode.patch > deleted file mode 100644 > index 5ac749c19d..0000000000 > --- a/gnu/packages/patches/python-slugify-depend-on-unidecode.patch > +++ /dev/null > @@ -1,22 +0,0 @@ > -diff --git a/setup.py b/setup.py > -index 4800173..6bdd77f 100755 > ---- a/setup.py > -+++ b/setup.py > -@@ -14,8 +14,7 @@ url =3D 'https://github.com/un33k/python-slugify' > - author =3D 'Val Neekman' > - author_email =3D 'info@neekware.com' > - license =3D 'MIT' > --install_requires =3D ['text-unidecode>=3D1.3'] > --extras_require =3D {'unidecode': ['Unidecode>=3D1.1.1']} > -+install_requires =3D ['Unidecode'] > - > - classifiers =3D [ > - 'Development Status :: 5 - Production/Stable', > -@@ -67,7 +66,6 @@ setup( > - author_email=3Dauthor_email, > - packages=3Dfind_packages(exclude=3DEXCLUDE_FROM_PACKAGES), > - install_requires=3Dinstall_requires, > -- extras_require=3Dextras_require, > - classifiers=3Dclassifiers, > - entry_points=3D{'console_scripts': ['slugify=3Dslugify.slugify:mai= n']}, > - ) I remember adding this patch, without it csvkit doesn't build with the following error: ``` starting phase `check' running "python setup.py" with command "test" and parameters () running test Searching for text-unidecode>=3D1.3 Reading https://pypi.org/simple/text-unidecode/ Download error on https://pypi.org/simple/text-unidecode/: [Errno -2] Name= or service not known -- Some packages may not be found! Couldn't find index page for 'text-unidecode' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -2] Name or service not= known -- Some packages may not be found! No local packages or working download links found for text-unidecode>=3D1.= 3 error: Could not find suitable distribution for Requirement.parse('text-un= idecode>=3D1.3') command "python" "-c" "import setuptools, tokenize;__file__=3D'setup.py';f= =3Dgetattr(tokenize, 'open', open)(__file__);code=3Df.read().replace('\\r\= \n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed= with status 1 builder for `/gnu/store/1dmzhmc1miszbwy84s5bvn2pw2zjzgkv-csvkit-1.0.5.drv'= failed with exit code 1 build of /gnu/store/1dmzhmc1miszbwy84s5bvn2pw2zjzgkv-csvkit-1.0.5.drv fail= ed View build log at '/var/log/guix/drvs/1d/mzhmc1miszbwy84s5bvn2pw2zjzgkv-cs= vkit-1.0.5.drv.bz2'. guix build: error: build of `/gnu/store/1dmzhmc1miszbwy84s5bvn2pw2zjzgkv-c= svkit-1.0.5.drv' failed ``` I'm not familiar enough with the python build/test process to know for sure if this is an issue with csvkit or python-slugify. We could just package the python-text-unidecode package, but AFAIU the python-unidecode package we already have is equivalent so it should be OK. But somehow csvkit's check procedure doesn't see that. Should we keep this patch around? Or maybe somebody has a better idea of what's going on? I realise now I should have added a comment here :-). Thanks! Pierre