Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Norbert Preining Newsgroups: linux.debian.maint.python Subject: updating mechanize - help concerning tests with pybuild Date: Sat, 31 Aug 2019 05:40:01 +0200 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Aug 31 03:33:08 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.107 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -4.6 X-Greylist: delayed 2491 seconds by postgrey-1.36 at bendel; Sat, 31 Aug 2019 03:15:40 UTC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20180716 X-Spam_Score: -1.0 X-Spam_Bar: - X-Mailing-List: archive/latest/17210 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20190831023354.5x6lawa4gmy2nemy@bulldog.preining.info Approved: robomod@news.nic.it Lines: 72 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian/Ubuntu Zope Team , Fabio Tranchitella , =?utf-8?B?SsOpcsOpbXk=?= Bobbio , Matthias Klose , Arnaud Fontaine X-Original-Date: Sat, 31 Aug 2019 11:33:54 +0900 X-Original-Message-ID: <20190831023354.5x6lawa4gmy2nemy@bulldog.preining.info> Xref: csiph.com linux.debian.maint.python:11697 Dear all, here are two questions: one concerning adopting/updating mechanize and how to deal with rdepends, one concerning how to fix tests with special requirements in pybuild. For calibre and porting to python3, I need mechanize for python3. The current version of python-mechanize is from 2012 and version 0.2.5, while the latest version is 0.4.3 from a few days ago. The recent versions support python3, so I would like to update mechanize. I checked the rdepends of python-mechanize: python-twill zope2.13 python-zope.testbrowser calibre python-clientform zope2.13 is very old, removed from testing, unmaintained python-zope.testbrowser the same python-clientform is a transitional package build from mechanize python-twill has a last upload in 2016, but is lagging behind badly (current version 1.8 on pypi) calibre needs an updated mechanize. So I think it would be fine to simply update mechanize without too much troubles. The current maintainers/uploaders are Maintainer: Debian/Ubuntu Zope Team Uploaders: Brian Sutherland , Fabio Tranchitella , Jérémy Bobbio , Matthias Klose , Arnaud Fontaine (In CC, but Brian removed, he already declared he does not want to maintain the package anymore, see bug #869439) I would be interested in adopting mechanize if the current maintainers / uploaders are fine with it. Or we put it into the python modules team and I do the stuff there. All is fine for me. How could be proceed here? --------------- Now for the pybuild question: Current mechanize needs to set up a special environment for the tests. There is a dedicated script run_tests.py that would do the trick. I tried to use the pybuild before tests feature to export PYTHONPATH, but that didn't work. Is there a way to run a specific script instead of the built-in tests of pybuild? I thought about using PYTHON_DISABLE=tests and add a specific dh test target. WDYT? Thanks for any hints! All the best Norbert -- PREINING Norbert http://www.preining.info Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13