Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.maint.python Subject: Re: help with FTBFS bug due to python3.8/3.9 confusion Date: Mon, 26 Oct 2020 11:00:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Oct 26 09:57:59 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=jMRSMZJm3CpQipLIu/3XKpLGuooZiVdwxQtWcIC+6wU=; b=q9VjwiOpMOsJsJkAxO8VIChS7j rKJJ59ngf29HCs24SzXU5yXfAoZBI8BbGNBmi4yqN/Q2cqbq0uTtILRyeCH3Bm8qdwR4RiNgs4ieW 63APh6/GQFPNDWoDFO2rOo4/oCZ1x7jFdXNkpmUsqNkVOJgC70WUYB2Q3zap3yfq5R3U=; MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline X-Mailing-List: archive/latest/18731 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20201026095744.GA2060918@belkar.wrar.name Approved: robomod@news.nic.it Lines: 60 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2020 14:57:44 +0500 X-Original-Message-ID: <20201026095744.GA2060918@belkar.wrar.name> X-Original-References: Xref: csiph.com linux.debian.maint.python:12968 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 26, 2020 at 08:54:37AM +0100, Stephen Sinclair wrote: > The recommendations are to change the build-dep on "python-dev" to > "python-all-dev", and I can confirm that this does allow the package > to build. (Is this the right thing to do?) Building a module for all supported Python versions is a right thing to do. > However, autopkgtest tests still fail. The commenter in that bug > report claims, "the lack of 3.8 modules in the package also explains > your problem." However, I do not understand that claim -- wouldn't it > be counter-productive to specify which minor version of Python the > package depends on? I would need to update this manually when the > default switches to Python 3.9. If you are packaging a public module you need to provide it for all supported Python versions. Not sure which tests fail and how, I don't think this is described anywhere? > Although the CMake build is quite complicated and therefore I can > expect such problems, but I am nonetheless confused why it would > select the wrong Python version, as I do specify the Python executable > via the command, >=20 > > -DPYTHON_EXECUTABLE=3D$(shell which python3)" >=20 > Is there a better way to find the path to the default python interpreter? When building a public module you don't need to care about the default version. --=20 WBR, wRAR --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAl+WnZEtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh /PMP/Rjlv2PeGHcqEl4JPzZ1FelRgq+bzqcgtLvFY4sOGEnh8gCrxgnqFjUlJodD V4F3GxqaCxt86ltEzSTjKEPRB+B+O+bukq2BHTgnvrxisUQv21qPoAK5d6rvmK83 AqfWvGZucLM1tOhqgSieG13kdP0PYgjh9w7p6oYi13F5E1FVYtF36Hku2YP8p5Ch rmqOqCvY4OkcG+8VF+p6khBODQL9a9cbWjWLaI29p2xctePquVb7DERxv+84+TKW FXoU7iIVqSUrS+Mr7uk1rhTuaQoknbi+JHiXV295TxrIFcMXJLBBjPloRTvxjC+O E1uR3zliPpPqXCCWYFqmP7WpTHX+UVH2BAmOW/ksnFUFONGDvX5Rws8s8xmJ8244 Lu6BROz910YddnyA8b4A3CcwX0E33HqT0Vyx2C7w1eleklx3mSiCQrKLQWjLnKKB 1tt4A64DON/XVl7dA+J2Vcj9kD/TqZxueuWKuHDehmhFBQk6vmaRWtTtVw4bLQGH ozTThS1Dcf+G8BEylucqbkx8TmLRJ4j+1SpBUpJvSx9P2fvyctVe7S8bSFlSqRAu MnmtpZtVh2XbMOon2EMgGl9FJ8PZhx4XTcedoWoPnlJ4TDAakLym7ZhiIKIwEta6 5CW9YOpUoJ10NALNYmddPMkM4Cay6oqUb7SOtLnEcKRP6mST =vSoe -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--