Path: csiph.com!news.redatomik.org!weretis.net!feeder7.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.python Subject: Re: Build test failure for python-easydev Date: Tue, 22 Jan 2019 22:00:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Jan 22 20:50:19 2019 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/16717 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20190122205005.gthvxpn2dy3mb43j@an3as.eu Approved: robomod@news.nic.it Lines: 32 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 22 Jan 2019 21:50:05 +0100 X-Original-Message-ID: <20190122205005.gthvxpn2dy3mb43j@an3as.eu> X-Original-References: <20190115185501.atbbyriryylzvlua@an3as.eu> <20190116093407.2gzt5qznpnmhp5th@sar0.p1otr.com> Xref: csiph.com linux.debian.maint.python:11263 Hi Piotr, On Wed, Jan 16, 2019 at 10:34:07AM +0100, Piotr Ożarowski wrote: > > pkg_resources.DistributionNotFound: The 'easydev' distribution was not found and is required by the application > > there are many ways to fix it (by creating egg-info data during build, > not only during install stage), but if upstream is updating __version__ > in each version, then definitely the best option is to patch out lines > 23-31 from easydev/__init__.py file (i.e. not use pkg_resources) Thanks for the hint. I decided for the removal of lines 23-31. Unfortunately this did not brought me way further: dh_auto_test -O--buildsystem=pybuild I: pybuild base:217: cd /build/python-easydev-0.9.37/.pybuild/cpython2_2.7_easydev/build; python2.7 -m pytest test usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] pytest.py: error: unrecognized arguments: --cov=easydev --cov-report=term-missing inifile: /build/python-easydev-0.9.37/setup.cfg rootdir: /build/python-easydev-0.9.37 E: pybuild pybuild:338: test: plugin distutils failed with: exit code=4: cd /build/python-easydev-0.9.37/.pybuild/cpython2_2.7_easydev/build; python2.7 -m pytest test dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13 make: *** [debian/rules:7: build] Error 25 Also here I have no idea what to do next. Kind regards Andreas. -- http://fam-tille.de