Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11704
| Path | csiph.com!weretis.net!feeder7.news.weretis.net!news.dns-netz.com!news.freedyn.net!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:00:02 +0200 |
| Message-ID | <yBdXc-3yj-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> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sat Aug 31 15:57:41 2019 |
| Old-Return-Path | <mitya57@gmail.com> |
| X-Amavis-Spam-Status | No, score=-10.313 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, RCVD_IN_MSPIKE_H2=-0.406, 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-lf1-f41.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=3pmSo0NI7ZXWI2LGlS7H7qkMA0ZIREJ7m6+nDOOLres=; b=KNE9Av3yw3gkFwao7pp6Dnm7RS4RXsYKXh7OdnDWWacgAXFKHlOgqG9UDsZdmrz8p/ Qt6wnBqFYfn94UpdW37ANz/dkzIcZ/Ke2Dbfx7yQWC0cY2AQmFZVCd7OrBuWSwMca0k9 uORPFZ4PQggkUn4bGeu7FYmujYx0FT9nrx4lNUlqvnAYeDfKHn329XO/QSv4m8E8XnOk C9HKDtpb3LkD1x4+zh4ehPSmLAkt+dWLPMN30Uymbbw8fZ0u/ES4+aOK86TT0cX6anGw oj4w2z+HG9pNjCEBzFd46UQq6ng1Wb5HTIIVjVUDJMT1kHeP0ckynsZipQZFRKfEvswl VQSg== |
| X-Gm-Message-State | APjAAAWuPO/U2bKEARL5AxYSIv8uMWCBW4BHCvhL0kZgIqfC9Pr2eSzi zAYmtaAfYeyzfToUaLhzlErUpbZn |
| X-Google-SMTP-Source | APXvYqzJwBqdiwlGSvZ3YdcJ/lvM5H+6dtd4z6MkhkS3CpQkbxIFfvOXCrDwDb2+7vG1qIPSWzsw7w== |
| X-Received | by 2002:ac2:51a3:: with SMTP id f3mr12196092lfk.94.1567267047050; Sat, 31 Aug 2019 08:57:27 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17222 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20190831155723.GA21445@mitya57.me |
| Approved | robomod@news.nic.it |
| Lines | 47 |
| 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 18:57:23 +0300 |
| X-Original-Message-ID | <20190831155723.GA21445@mitya57.me> |
| X-Original-References | <20190831023354.5x6lawa4gmy2nemy@bulldog.preining.info> <20190831081403.GB11010@mitya57.me> <20190831153402.jv2jui7a2tcc7jp6@bulldog.preining.info> |
| Xref | csiph.com linux.debian.maint.python:11704 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
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.
--
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