Path: csiph.com!aioe.org!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: Wed, 02 Aug 2017 21:40:01 +0200 Message-ID: References: X-Original-To: barry@debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Aug 2 19:35:08 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Mail-Followup-To: Steve Langasek , barry@debian.org, debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oyrl2z7jpykz4bkm" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Mailing-List: archive/latest/15061 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20170802193450.epjrlqbmvlzay5y7@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: Wed, 2 Aug 2017 12:34:50 -0700 X-Original-Message-ID: <20170802193450.epjrlqbmvlzay5y7@virgil.dodds.net> X-Original-References: <20170729233547.lku2tnhn666glaeo@bulldog.preining.info> <20170730054813.6xsn6up3uovmnlz2@virgil.dodds.net> <20170730061606.vqlixlfemwk7x3v4@bulldog.preining.info> <20170730064158.nwmry4crdfmjigbq@virgil.dodds.net> <017054E4-B702-42F0-A730-FB575F762FC2@debian.org> Xref: csiph.com linux.debian.maint.python:9680 --oyrl2z7jpykz4bkm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 02, 2017 at 12:10:05PM -0400, barry@debian.org wrote: > On Jul 30, 2017, at 02:41, Steve Langasek wrote: > >> https://wiki.debian.org/Python/LibraryStyleGuide where it states: > >> You'll want to have at least the following build dependencies: > >> ... > >> python3-all > >> but the > >> python[,3]-all-dev > >> are never mentioned. So sorry, I didn't know about them and searched > >> for the required header files, and added the respective packages. > > Ok, that was the first hit I got but I discounted it because it spoke of > > packaging "libraries", not modules or extensions. > =E2=80=9CLibraries=E2=80=9D is typically the term we=E2=80=99ve used to d= escribe things you import from other things. In Python, everything you imp= ort is a module, and packages are just special kinds of modules, whereas ex= tensions are module implemented in a compiled language instead of native Py= thon. It may not be the best nomenclature, but it=E2=80=99s what we=E2=80= =99ve been using for a long time. > > Perhaps someone should make this wiki page a redirect to the python pol= icy > > manual? https://www.debian.org/doc/packaging-manuals/python-policy/ > No, because LibraryStyleGuide *isn=E2=80=99t* policy, it=E2=80=99s an opi= nionated > collection of best practices, and it is better suited for a wiki because > those best practices do change over time. > Policy is what you MUST do, and the barrier for changing policy is =E2=80= =94 and > needs to be =E2=80=94 higher. Except the python packaging policy already mentions build dependencies: "The python3-all-dev should be used when building extensions for any or all Python 3 versions. The python-all-dev should be used when building extensions for any or all Python 2 versions." https://www.debian.org/doc/packaging-manuals/python-policy/ap-build_depen= dencies.html But this is then shadowed by the less precise/complete recommendation in the wiki. --=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 --oyrl2z7jpykz4bkm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJZgilUAAoJEFaNMPMhshM9iwgQALBRCIelo3pKo71kLoj7ZmU9 Dfpsy6JKCilAKTzr7bB3goIp/2kCPv8z15FnhV0KnG0biwy60TDkGQ2BWhTBxyBg 8ZZ/pRx/4nRiKMMzkeNXWbIkSqSWM3pOQsyrj0WZiaqQ3yZ5u0Ne40M2w8xcGj5p +Nj+e0by66OuoadIB9VQUQq3YGnAQgr+WihPGGDdO4WpcZ0yk4tLgY53rGCE4jo4 /9HUuNQbKmjW96uDFP1oDilEZAYBG1IS/6jqIrYpAAe3hcmSdc9RGzhWzx6fZdsS +QIYy78APpiMRoQnsq4vP+Th1iKetvhgzyRx8j1y8idwkZninkRg6znjBUsctuuD yKFLNyZSdRZQHhlqIbTdIowFPp3fWsYCR4VUNxyk17GLT8Yt5iG2i6IiZPsX2+m1 dEPI9WwiY0TgNq8C9YCk2SPar4/xbp0GPstZh6bi/AFu6CUKEwCbs+HgxPC+yRwC zXMLufCeDrtWL1jKteIC5zXxFKABpVwWg1klRb8mIRsrcXJW7SyAuZWpWpFcoE7Z 7EL6i2Z57nwxgWJk5DeNy5Tt1QOKrIx7YFKbhKE2gfdm4+eaVbIHyFaeVU4sSlG8 b0IsDnCz7rkIFKFuQPQgDamjKd5ZXYGuXS5ugetrakjEInvu9xwPQslSlPoq2ay4 Ts/BZqSpyiaq+gccMae/ =+OjS -----END PGP SIGNATURE----- --oyrl2z7jpykz4bkm--