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

From Norbert Preining <norbert@preining.info>
Newsgroups linux.debian.maint.python
Subject updating mechanize - help concerning tests with pybuild
Date 2019-08-31 05:40 +0200
Message-ID <yB2p3-4sn-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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