Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11707
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Dmitry Shachnev <mitya57@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: updating mechanize - help concerning tests with pybuild |
| Date | Sat, 31 Aug 2019 18:10:02 +0200 |
| Message-ID | <yBe6S-3SK-13@gated-at.bofh.it> (permalink) |
| References | <yB2p3-4sn-9@gated-at.bofh.it> <yB6M1-7nS-5@gated-at.bofh.it> <yBdXc-3yj-9@gated-at.bofh.it> <yBdXc-3yj-13@gated-at.bofh.it> |
| X-Original-To | Norbert Preining <norbert@preining.info> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sat Aug 31 16:00:29 2019 |
| Old-Return-Path | <mitya57@gmail.com> |
| X-Amavis-Spam-Status | No, score=-9.907 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, NUMERIC_HTTP_ADDR=1.242, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, WEIRD_PORT=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lj1-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xX30GsVM4vgBkbTrGwDulKkd/4gohIK/QHBOW87LBQQ=; b=PGFz9g4+BUI7G0rEm56R8kIbp2OWxeAdZFHMs7wWPe39UdAP0FVP7HtOk3fx+FEa2Q zmr5NUJt9asrYws4bkoJvD7ol0UPW/LZmR4acS2B6ajzhGMZg8TajgxvvVP58HEr13v7 KU4IB4NumAxyLuDj+EVmpBurHtqfhCjgevjGt1NHd40YETouEIpnQa7tbi2RywoeIbJ0 BeooMs5NMvaXaQU+JnZ1FAoToQT56T+6zXdnoy3aGY6WbdaIuxpCOWrvDnnjqpksa/yI 60kz4FBN6cowl3E5+urT7rxDhSCwObpbfLa3rHETgzHSvANxuJ3X0Ohke54tNNOy9d/F GB5A== |
| X-Gm-Message-State | APjAAAUL6v5oIvqHkeFlw3l8snD/4rjZeImShFSDj0vrTivhe4sM8AOP w1EqCUn0ywkkAOQm0FF/rI+V2DCC |
| X-Google-SMTP-Source | APXvYqycbhJCzL052noAHFTvQ7QOmCaqq15U+zt8PNrNU5I5H6qJEcHjEdFh/YT9NziW7yKfWGIDXw== |
| X-Received | by 2002:a2e:9a41:: with SMTP id k1mr5635ljj.153.1567267214826; Sat, 31 Aug 2019 09:00:14 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17223 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20190831160011.GB21445@mitya57.me |
| Approved | robomod@news.nic.it |
| Lines | 52 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Sat, 31 Aug 2019 19:00:11 +0300 |
| X-Original-Message-ID | <20190831160011.GB21445@mitya57.me> |
| X-Original-References | <20190831023354.5x6lawa4gmy2nemy@bulldog.preining.info> <20190831081403.GB11010@mitya57.me> <20190831153402.jv2jui7a2tcc7jp6@bulldog.preining.info> <20190831155723.GA21445@mitya57.me> |
| Xref | csiph.com linux.debian.maint.python:11707 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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 this happens because pybuild exports http_proxy='http://127.0.0.1:9/',
> and this breaks the local http server used in tests.
>
> If you explicitly set http_proxy to empty string then pybuild won't do it.
>
> > Huuuu? Why does it use the original file directly in mechanize.git???
>
> Apparently you need to explicitly cd to build directory. So try this:
>
> http_proxy= dh_auto_test -- --system custom --test-args "cd {build_dir}; {interpreter} run_tests.py"
>
> With this command, only three tests are failing for me.
Ah, if you also add no_proxy= then all tests pass.
http_proxy= no_proxy= dh_auto_test -- --system custom --test-args "cd {build_dir}; {interpreter} run_tests.py"
--
Dmitry Shachnev
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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