Re: Test suite errors with Python3 (Was: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: ...))

2019-08-31 Thread Andreas Tille
On Sat, Aug 31, 2019 at 04:47:42PM -0400, Sandro Tosi wrote: > burrito.util.ApplicationError: Could not open "/tmp/fixed.txt" > > is the file there? No, that file does not exist. $ grep -R /tmp/fixed.txt burrito/tests/test_util.py:f = open('/tmp/fixed.txt','w') burrito/tests/test_util.py:

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Norbert Preining
Dear Matthias Thanks, I interpret this a go ahead with the adoption. Thanks for your and the teams work. At all: anything you want to see before I upload the new version? Best Norbert On September 1, 2019 9:43:33 AM GMT+09:00, Matthias Klose wrote: >On 01.09.19 01:59, Norbert Preining wrote

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Matthias Klose
On 01.09.19 01:59, Norbert Preining wrote: Hi Raphael, @Matthias, please read on. On Sat, 31 Aug 2019, Raphael Hertzog wrote: https://salsa.debian.org/python-team/modules/python-mechanize Thanks, that is perfect. I pushed my work there, changed control VCS, maintainer, and uploader. ATM I o

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Norbert Preining
Hi Raphael, @Matthias, please read on. On Sat, 31 Aug 2019, Raphael Hertzog wrote: > https://salsa.debian.org/python-team/modules/python-mechanize Thanks, that is perfect. I pushed my work there, changed control VCS, maintainer, and uploader. ATM I only put me into the uploaders. Please, those

Test suite errors with Python3 (Was: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: ...))

2019-08-31 Thread Andreas Tille
Control: tags -1 help On Sat, Aug 31, 2019 at 11:50:16AM +0200, Ondrej Novy wrote: > > I see that python-all is still present in Build-Depends (line 9). > > yep, that's reason. pybulid detects python{,-all} in B-D and if they are > present, it runs clean for Python 2. Thanks for pointing this ou

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Raphael Hertzog
Hi, On Sun, 01 Sep 2019, Norbert Preining wrote: > Fine with me. If you could give me DPMT membership on salsa I can push > my current work there. I can't grant you the right to the whole group (I'm not an owner) but I created the repository and granted you the rights on this repository at least:

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Norbert Preining
Hi Raphael, On Sat, 31 Aug 2019, Raphael Hertzog wrote: > Thus I would suggest to go ahead and take over the package in the DPMT > team. Fine with me. If you could give me DPMT membership on salsa I can push my current work there. Do we go through package salvaging? https://wiki.debian.org/Packa

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Andrey Rahmatullin
On Sat, Aug 31, 2019 at 07:10:43PM +0200, Raphael Hertzog wrote: > Looking at the status of the packages in the team, it's quite clear that > the team is MIA as a whole: > https://qa.debian.org/developer.php?email=pkg-zope-develop...@lists.alioth.debian.org > > The only recent upload is from TANIG

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Raphael Hertzog
Hello, On Sat, 31 Aug 2019, Norbert Preining wrote: > 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. I would like to see the package in the python modu

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Norbert Preining
On Sat, 31 Aug 2019, Dmitry Shachnev wrote: > http_proxy= no_proxy= dh_auto_test -- --system custom --test-args "cd > {build_dir}; {interpreter} run_tests.py" Cool, thanks a big lot BTW, why isn't that mentioned anywhere in the pybuild docs ... Thanks Norbert -- PREINING Norbert

Re: Webpage to track py2removal bugs & packages

2019-08-31 Thread Andrey Rahmatullin
On Sat, Aug 31, 2019 at 11:50:33AM -0400, Scott Kitterman wrote: > > > I definitely think it will be helpful. Thanks for putting it together. > > > It's the best thing I've seen yet for answering the question of what can > > > we try to kill off now. > > > > > > Please keep it updated. > > > >

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Dmitry Shachnev
On Sat, Aug 31, 2019 at 06:57:23PM +0300, Dmitry Shachnev wrote: > On Sun, Sep 01, 2019 at 12:34:02AM +0900, Norbert Preining wrote: > > Now, the interesting thing are the error messages. One of them is > > [...] > > httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt > > Maybe

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Dmitry Shachnev
On Sun, Sep 01, 2019 at 12:34:02AM +0900, Norbert Preining wrote: > Now, the interesting thing are the error messages. One of them is > [...] > httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt Maybe this happens because pybuild exports http_proxy='http://127.0.0.1:9/', and

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Norbert Preining
Dear Dmitry thanks for your email! On Sat, 31 Aug 2019, Dmitry Shachnev wrote: > - Add run_tests.py and the tests themselves to debian/pybuild.testfiles, > to make pybuild copy them to the build directory. > > - Add override_dh_auto_test target with a command like this: > dh_auto_test -- --s

Re: Webpage to track py2removal bugs & packages

2019-08-31 Thread Scott Kitterman
On Saturday, August 31, 2019 11:09:33 AM EDT Andrey Rahmatullin wrote: > On Sat, Aug 31, 2019 at 10:20:32AM -0400, Scott Kitterman wrote: > > I definitely think it will be helpful. Thanks for putting it together. > > It's the best thing I've seen yet for answering the question of what can > > we

Re: Webpage to track py2removal bugs & packages

2019-08-31 Thread Andrey Rahmatullin
On Sat, Aug 31, 2019 at 10:20:32AM -0400, Scott Kitterman wrote: > I definitely think it will be helpful. Thanks for putting it together. It's > the best thing I've seen yet for answering the question of what can we try to > kill off now. > > Please keep it updated. Please note though that all

Re: Webpage to track py2removal bugs & packages

2019-08-31 Thread Scott Kitterman
On Saturday, August 31, 2019 2:31:36 AM EDT Sandro Tosi wrote: > Hello, > i've prepared a small website, > http://sandrotosi.me/debian/py2removal/index.html, to keep track of > the bugs user-tagged `py2removal`. > > * i'm sure there are bugs > * it's pretty brutal html, but should provide useful i

dh-python and pylint

2019-08-31 Thread PICCA Frederic-Emmanuel
Hello, I am preparing the new spyder package. since the removal of pylint3 from the src:pylint. I need to remove the Build-Depends: pylint3. Now dh_python3 still produce a pylint3 dependency for the binary packages. It seems that thsi is hard coded here[0] Is it a bug of dh-python ? Cheers F

Re: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)

2019-08-31 Thread Ondrej Novy
Hi, so 31. 8. 2019 v 10:06 odesílatel Dmitry Shachnev napsal: > I see that python-all is still present in Build-Depends (line 9). > yep, that's reason. pybulid detects python{,-all} in B-D and if they are present, it runs clean for Python 2. -- Best regards Ondřej Nový

Re: updating mechanize - help concerning tests with pybuild

2019-08-31 Thread Dmitry Shachnev
Hi Norbert, Let me try answering your second question, about tests. On Sat, Aug 31, 2019 at 11:33:54AM +0900, Norbert Preining wrote: > 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

Re: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)

2019-08-31 Thread Dmitry Shachnev
Hi Andreas, On Sat, Aug 31, 2019 at 09:57:16AM +0200, Andreas Tille wrote: > Hi, > > I have removed the Python2 package from d/control and all python-* > Build-Depends in Git[1]. I see that python-all is still present in Build-Depends (line 9). -- Dmitry Shachnev signature.asc Description: PGP

Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)

2019-08-31 Thread Andreas Tille
Hi, I have removed the Python2 package from d/control and all python-* Build-Depends in Git[1]. However, the build in a pbuilder chroot fails with: dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py clean Traceback (mos