Path: csiph.com!4.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python Subject: Re: TypeError: ord() expected a character, but string of length 3 found (Was: Updated python-uncertainties) Date: Tue, 16 Oct 2018 09:10:01 +0200 Message-ID: References: X-Original-To: PICCA Frederic-Emmanuel X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Oct 16 07:09:03 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/16447 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20181016070843.tqaywov6rvsgtehl@an3as.eu Approved: robomod@news.nic.it Lines: 50 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: "debian-python@lists.debian.org" X-Original-Date: Tue, 16 Oct 2018 09:08:43 +0200 X-Original-Message-ID: <20181016070843.tqaywov6rvsgtehl@an3as.eu> X-Original-References: <1539343938.2065153.1539680744.792D0909@webmail.messagingengine.com> <20181012124426.37nixbp2qupadu4o@an3as.eu> <20181012141757.lpt5lmh4dhuzdsb3@an3as.eu> <20181012161900.q4eama42xml7ppo7@sar0.p1otr.com> <20181015093737.wfrvaixo2bdmwvav@an3as.eu> <20181015111318.3fiskt3vduf2hcqo@an3as.eu> Xref: csiph.com linux.debian.maint.python:11014 Hi Fred, On Mon, Oct 15, 2018 at 06:51:09PM +0000, PICCA Frederic-Emmanuel wrote: > Hello Andreas, > > > Patches are welcome (I have no idea what the construct is doing neither > > how to replace it with something valid). > > > Patch welcome as well - preferably as commit to Git. > > done but now, we need to understand why lintian complain about python module at the wrong place before uploading. > I amnot sure thet the test run as installed... I can reproduce the wrongly placed / duplicated modules. Its the same observation I made with lmfit-py[1]. While lintian recommends the usage of dh_python3 W: python3-uncertainties: python-module-in-wrong-location usr/lib/python3.7/dist-packages/uncertainties/ usr/lib/python3/dist-packages/uncertainties/ N: N: The package installs a Python module or debug information for a Python N: module in the wrong location for the given version of Python. N: N: dh_python3 can be used to fix this for Python 3 modules. N: N: Refer to Debian Python Policy section 2.5 (Module Path) and N: https://bugs.debian.org/576012 for details. N: N: Severity: normal, Certainty: possible N: N: Check: files, Type: binary, udeb I need to admit I have not found out how to use it properly and thus I simply removed the module in question manually[1]. I admit I'd prefer a better solution as well and since it seems to happen systematically I wonder whether dh-python might have some flaw? Kind regards Andreas. PS: I'd also love to see those useless "fork me on github" privacy breaches go away. It seems these are not part of the uncertainties source but injected by sphinx somehow. [1] https://salsa.debian.org/science-team/lmfit-py/commit/36f5f0456365f59a488a479233aebbf45dd48b05 -- http://fam-tille.de