Path: csiph.com!aioe.org!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Steve Langasek Newsgroups: linux.debian.maint.python Subject: Re: packaging problems with python3.5 and python 3.6 Date: Sun, 30 Jul 2017 07:50:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Jul 30 05:48:32 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Mail-Followup-To: Steve Langasek , Norbert Preining , debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4ywr2jsocal5jcjk" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/15030 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20170730054813.6xsn6up3uovmnlz2@virgil.dodds.net Approved: robomod@news.nic.it Lines: 80 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sat, 29 Jul 2017 22:48:13 -0700 X-Original-Message-ID: <20170730054813.6xsn6up3uovmnlz2@virgil.dodds.net> X-Original-References: <20170729233547.lku2tnhn666glaeo@bulldog.preining.info> Xref: csiph.com linux.debian.maint.python:9649 --4ywr2jsocal5jcjk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 30, 2017 at 08:35:47AM +0900, Norbert Preining wrote: > Dear all >=20 > (please Cc) >=20 > to satisfy a dependency of the next Calibre package I have packaged > html5-parser > https://github.com/kovidgoyal/html5-parser > see=20 > Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/html5-parser.git > Vcs-Git: git://anonscm.debian.org/collab-maint/html5-parser.git > Unfortunately I have given up providing python3 modules, since it seems > that either python3.5 or python3.6 breaks when adding the respective=20 > line as explained in the python packaging guide. Which "python packaging guide" do you refer to? A search for "debian python packaging guide" does not return unambiguous results. Your difficulties almost certainly stem from you having set wrong build-dependencies. The correct build-dependencies here are 'python-all-dev, python3-all-dev' - plus the python2 and python3 versions of any other modules needed at build time. You should, e.g., never be build-depending on python2.7-dev without a very good reason, and if you build-depend on libpython3.6-dev this will obviously not give you python3.5 support. If there is a python packaging guide suggesting that these sort of build dependencies are appropriate, we should certainly get that corrected. Since this package is in collab-maint, I've gone ahead and pushed fixed python3 support to the repo. > For now I have uploaded the package with python2 support, only, as this a= lso > the only one needed for Calibre (which is python2 application). > If you have any suggestion concerning the python3 packaging part, please > let me know how this should be done. You can see what I have done wrt > python3 in the following commit > https://anonscm.debian.org/cgit/collab-maint/html5-parser.git/commit/?id= =3D4a8e02b20698e35e577482f96efdeb17826d797f > which I reverted afterwards. > Thanks a lot and all the best Thanks, --=20 Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org --4ywr2jsocal5jcjk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJZfXMWAAoJEFaNMPMhshM9IOEQAK42o5t+Y3S04W4ZblBDz3Zr yk6ns753oEPaksMlGR6QzqVGBU6uxmmV3UAPXenGkWo4QmkAJ17aTKB73/7lcIPD IQU/45ukNxmNpI/fQS4ejF4lQWUh14z89nddPkA/AXu+gNaVRzFPGLAviQVklu1J XN4DP+cVcmePXP9vbm5z4o/qz9qj6+58rlOAqUizLei59/Ndhram17JrFc3RI7CE aM6LLEgOH4BAPAYlOjQNm0s1c3pAnEn7xp1a/4mPsAtVUCD1gRXCjRt5ib1B7OA5 yYb6smy55JGSt9cl8aoQUtwajlg1W0G10/KEMDe7u+cfp/oQp6oIlQxDBOd3Zl2L zmzfWe+0f+s3bj9TbEEoNOnkG9J4USDXI73Blm8Uua5Gjq0wmcaRgenVKjE/XN/i 7q2Agj3xjNU54RhglbxbXD8tAFG2DxMU6CWuCT+QvpsT4QRQaiAxy3mTUZjb38zP HrsyM7gRbNjMmzJdF5iimIhuB4bMVNZ1RFTcHGZRcjPt6l9PGBEEbalTbUwOy0JO s/Obh9WhPdgQK/xG9Jb0fEOBqZIjuQEikk8TiX7QDZx4OAucIwB9uKGUPqAhnVTg OkVwdDlz2A0blS0/lfYQlP9FocXjh5ogjbT0vsgdHT7y2oJg7Yw26+yI2xjj5tiS Lz726sHCKlJxFDhCLbB2 =CDce -----END PGP SIGNATURE----- --4ywr2jsocal5jcjk--