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


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

Bug#777089: Preconditions for python-moto finished - help needed to build package itself

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Lumin <cdluminate@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#777089: Preconditions for python-moto finished - help needed to build package itself
Date Tue, 06 Feb 2018 16:40:02 +0100
Message-ID <vgdvI-it-7@gated-at.bofh.it> (permalink)
References <oQgVH-680-5@gated-at.bofh.it>
X-Original-To Andreas Tille <andreas@fam-tille.de>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Feb 6 15:30:23 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.699
Reply-To Lumin <cdluminate@gmail.com>, 777089@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc wnpp@debian.org
X-Debian-Pr-Message followup 777089
X-Debian-Pr-Package wnpp
X-Spam-Bayes score:0.0000 Tokens: new, 26; hammy, 150; neutral, 83; spammy, 0. spammytokens: hammytokens:0.000-+--sk:python3, 0.000-+--dhpython, 0.000-+--dh-python, 0.000-+--debuild, 0.000-+--pythonall
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=stHV4f3UqQk3LDXq4u2vsdlErPTTwr8igBi3lRNKI9U=; b=sdi3+5OVcweLRmYuYo/8i4s+xqvDSRhWdO8GM0GkbHz7nmszNjhnubQxTLj5LYJSoK iWxlL7lTetJ58iZxZYz6m1TOmXT/K+YVKLYaZ3a0V3OOCUYdaRvc7zxJRSAEUR35ZM6B aYdTrdDj4H0H0BR5cPiFBWxXW8yu+1djwXLbDl+rqgxKehupMBzTysttgKi48EHrB2gn nKhb0tpGkh4p1c+lXN8MIzgQe8JdDLyxI3UGulWWmZeMRfOoFN6Neo+RklTbPknudafi c/d0JFLId4UMx6dUic8uHeP/q6zrCSaw1MZJeBU/Fs3PFkQf/Ss7TtkwJapaFof7X52x 6yGg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=stHV4f3UqQk3LDXq4u2vsdlErPTTwr8igBi3lRNKI9U=; b=I+NJPKPcv8r3YPAJS0ZcC7Tx9cg7oR0feU4krUdzOugTLtaT8rKfO74sRNWK9b7FBK o2HopYWFHEwgn9i/EFy/1GMjkYs8mkpxH91ng4mOUV7hnFLf27kfWjGlG/OffGCBD3m5 CHXi52f3NZXJx+zeXsPI9BZHu7p04ZodlSJmIPqNWwsOP8xkh8oi47kX0cZsCdSk4XzI Se+RRoRKPQyQvcbVTeBZ5udlY7830zrWX2ihIErMVQecAiUnpr5dMrI6lev6R6DXvQMW 5uExq4br9Z4UTew4h7pE/DiqVhXY01xg8XqH6eAFfhnlMGgMcC1evjKmbLmmW6Dhz0vN ILPQ==
X-Gm-Message-State APf1xPDvyXbCNSOdgLOqAey3OnLZRN/+f2E6Piwktm+Qv1qJcHrj1qvc hF9xy2Uo6Mdm9gL4ELe92dFBhTMUyQYKdBMNVf4=
X-Google-SMTP-Source AH8x227VFwfpjoyAZkb5Y7piDOs/w2XmxsuwLyuoHnkWXzx/xdePLJ9FxvYNzMlvwLAN51+RA5/b3jSO5LiJFIqdrMA=
X-Received by 10.223.166.7 with SMTP id k7mr2497953wrc.242.1517930863380; Tue, 06 Feb 2018 07:27:43 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1438958
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 89
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 777089@bugs.debian.org, debian-python@lists.debian.org, Debian Science List <debian-science@lists.debian.org>
X-Original-Date Tue, 6 Feb 2018 15:27:22 +0000
X-Original-Message-ID <CAGX5NraRH5-5tBfj5KqQoU9VoPJFDk9fJNqXbj2Q2qGVQUJv7Q@mail.gmail.com>
X-Original-References <20150204224226.5389.46796.reportbug@lothlorien.eyrie.local>
Xref csiph.com linux.debian.bugs.dist:880105 linux.debian.maint.python:10101

Cross-posted to 2 groups.

Show key headers only | View raw


Hi Andreas,

I checked the packaging, and my debuild ended up with an
error different from

   > AttributeError: 'module' object has no attribute 'backport_assert_raises'

According to a quick investigation on this problem, I'm sure there
are still some missing B-Ds in control file.

With patch [1] dpkg-buildpackage can go a bit further while building
this package.
See requirements-dev.txt. And new problems arose:

1. $ make test  # python2

ImportError: No module named vendored

2. $ make test_server  # python2

ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max
retries exceeded with url:

3. $ nosetests3 -sv --with-coverage --cover-html ./tests/

ModuleNotFoundError: No module named 'botocore.vendored'
AttributeError: module 'botocore' has no attribute 'vendored'

It seems that the "vendored" is from botocore package. I'm not
sure which package or script to blame. Further investigation needed.

4. $ debuild

A bunch of errors. e.g.
error: [Errno 111] Connection refused


I don't know whether it helps to add all the dependencies specified by
requirements-dev.txt to control.


[1] as follows.

diff --git a/debian/control b/debian/control
index d950b12..5418dd3 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 11),
                dh-python,
+               flake8,
                python-all,
                python-setuptools,
                python-aws-xray-sdk,
@@ -15,11 +16,14 @@ Build-Depends: debhelper (>= 11),
                python-botocore (>= 1.7.12),
                python-cookies,
                python-cryptography (>= 2.0.0),
+               python-freezegun,
                python-jinja2,
                python-jsondiff,
+               python-nose,
                python-requests,
                python-xmltodict,
                python-six,
+               python-sure,
                python-werkzeug,
                python-dateutil,
                python-mock,
@@ -36,11 +40,14 @@ Build-Depends: debhelper (>= 11),
                python3-botocore (>= 1.7.12),
                python3-cookies,
                python3-cryptography (>= 2.0.0),
+               python3-freezegun,
                python3-jinja2,
                python3-jsondiff,
+               python3-nose,
                python3-requests,
                python3-xmltodict,
                python3-six,
+               python3-sure,
                python3-werkzeug,
                python3-dateutil,
                python3-mock,


-- 
Best,

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


Thread

Bug#777089: Preconditions for python-moto finished - help needed to build package itself Lumin <cdluminate@gmail.com> - 2018-02-06 16:40 +0100
  Bug#777089: Preconditions for python-moto finished - help needed to build package itself Andreas Tille <andreas@fam-tille.de> - 2018-02-06 17:10 +0100
    Bug#777089: Preconditions for python-moto finished - help needed to build package itself Lumin <cdluminate@gmail.com> - 2018-02-06 17:20 +0100
  Bug#777089: Preconditions for python-moto finished - help needed to build package itself Andreas Tille <andreas@an3as.eu> - 2018-02-07 16:00 +0100

csiph-web