Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11697

updating mechanize - help concerning tests with pybuild

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Norbert Preining <norbert@preining.info>
Newsgroups linux.debian.maint.python
Subject updating mechanize - help concerning tests with pybuild
Date Sat, 31 Aug 2019 05:40:01 +0200
Message-ID <yB2p3-4sn-9@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Aug 31 03:33:08 2019
Old-Return-Path <norbert@preining.info>
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 <debian-python@lists.debian.org> archive/latest/17210
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <pkg-zope-developers@lists.alioth.debian.org>, Fabio Tranchitella <kobold@debian.org>, Jérémy Bobbio <lunar@debian.org>, Matthias Klose <doko@ubuntu.com>, Arnaud Fontaine <arnau@debian.org>
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

Show key headers only | View raw


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 <pkg-zope-developers@lists.alioth.debian.org>
Uploaders: Brian Sutherland <brian@vanguardistas.net>,
           Fabio Tranchitella <kobold@debian.org>,
           Jérémy Bobbio <lunar@debian.org>,
           Matthias Klose <doko@ubuntu.com>,
           Arnaud Fontaine <arnau@debian.org>
(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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-08-31 05:40 +0200
  Re: updating mechanize - help concerning tests with pybuild Andrey Rahmatullin <wrar@debian.org> - 2019-08-31 09:00 +0200
  Re: updating mechanize - help concerning tests with pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-08-31 10:20 +0200
    Re: updating mechanize - help concerning tests with pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-08-31 18:00 +0200
      Re: updating mechanize - help concerning tests with pybuild Dmitry Shachnev <mitya57@debian.org> - 2019-08-31 18:10 +0200
        Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-08-31 18:50 +0200
    Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-08-31 18:00 +0200
  Re: updating mechanize - help concerning tests with pybuild Raphael Hertzog <hertzog@debian.org> - 2019-08-31 19:20 +0200
    Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-08-31 19:50 +0200
      Re: updating mechanize - help concerning tests with pybuild Raphael Hertzog <hertzog@debian.org> - 2019-08-31 21:00 +0200
        Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-09-01 02:20 +0200
          Re: updating mechanize - help concerning tests with pybuild Matthias Klose <doko@debian.org> - 2019-09-01 02:50 +0200
            Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-09-01 03:30 +0200
              Re: updating mechanize - help concerning tests with pybuild Raphael Hertzog <hertzog@debian.org> - 2019-09-01 10:10 +0200
                Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-09-01 13:50 +0200
                Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-09-01 15:40 +0200
    Re: updating mechanize - help concerning tests with pybuild Andrey Rahmatullin <wrar@debian.org> - 2019-08-31 19:50 +0200
  Re: updating mechanize - help concerning tests with pybuild Arnaud Fontaine <arnau@debian.org> - 2019-09-02 07:20 +0200
    Re: updating mechanize - help concerning tests with pybuild Norbert Preining <norbert@preining.info> - 2019-09-02 07:40 +0200

csiph-web