Debian Bug report logs - #672178
dh_python3: not ready for Python 3.3

version graph

Package: src:python3-defaults; Maintainer for src:python3-defaults is Matthias Klose <doko@debian.org>;

Reported by: Jakub Wilk <jwilk@debian.org>

Date: Tue, 8 May 2012 23:51:06 UTC

Severity: normal

Tags: experimental, sid

Found in versions python3-defaults/3.2.3~rc1-2, python3-defaults/3.2.3-5

Fixed in version python3-defaults/3.2.3-6

Done: Piotr Ożarowski <piotr@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, jwilk@debian.org, Matthias Klose <doko@debian.org>:
Bug#672178; Package src:python3-defaults. (Tue, 08 May 2012 23:51:08 GMT) (full text, mbox, link).


Message #3 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jakub Wilk <jwilk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dh_python3: not ready for Python 3.3
Date: Wed, 9 May 2012 01:48:40 +0200
Source: python3-defaults
Version: 3.2.3~rc1-2
Severity: normal
User: debian-python@lists.debian.org
Usertags: python3.3

README.derivatives contains some instructions how to change the list of 
supported Python versions or change the default one. However, if you 
follow the instructions to add python3.3 (and then possibly make it 
default), you won't get a working dh_python3.

At least these two things would have to be fixed (there might be more, I 
didn't check);

1) 

EXTENSION_TAG = 'cpython-%smu'
DBG_EXTENSION_TAG = 'cpython-%sdmu'

...but ABI flags for Python 3.3 are "m"/"dm", not "mu"/"dmu".

2)

    if vers == '3':
        # assume .so files without tag in /usr/lib/python3/ are build for Python 3.2
        vers = '32'

-- 
Jakub Wilk




Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#672178; Package src:python3-defaults. (Wed, 06 Jun 2012 18:47:31 GMT) (full text, mbox, link).


Acknowledgement sent to Barry Warsaw <barry@python.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Wed, 06 Jun 2012 18:47:35 GMT) (full text, mbox, link).


Message #8 received at 672178@bugs.debian.org (full text, mbox, reply):

From: Barry Warsaw <barry@python.org>
To: 672178@bugs.debian.org
Date: Wed, 6 Jun 2012 14:24:40 -0400
[Message part 1 (text/plain, inline)]
For #1, the change in flags makes sense.  Because Python 3.3 has flexible
string representations (PEP 393), the --with-wide-unicode configure flag has
gone away.  It's this flag that's represented by the 'u' in the .so file
name.

#2 is an unfortunate hack.  I had problems with this before.

I'm not sure what to do about these, but they are legitimate problems.
Probably the best thing to do is to remove the build flags from EXTENSION_TAG
and DBG_EXTENSION_TAG, and probably tagged_extname() needs to know whether
it's moving files for Python 3.3 or an earlier version.  I just took a cursory
look at the code but I think some refactoring is going to be necessary to
handle these problems.   I just don't have time right now to do that. :(

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) sid and experimental. Request was from Jakub Wilk <jwilk@debian.org> to control@bugs.debian.org. (Mon, 16 Jul 2012 11:57:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, barry@ubuntu.com, Matthias Klose <doko@debian.org>:
Bug#672178; Package src:python3-defaults. (Thu, 11 Oct 2012 22:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Barry Warsaw <barry@python.org>:
Extra info received and forwarded to list. Copy sent to barry@ubuntu.com, Matthias Klose <doko@debian.org>. (Thu, 11 Oct 2012 22:27:03 GMT) (full text, mbox, link).


Message #15 received at 672178@bugs.debian.org (full text, mbox, reply):

From: Barry Warsaw <barry@python.org>
To: Debian Bug Tracking System <672178@bugs.debian.org>
Subject: Re: dh_python3: not ready for Python 3.3
Date: Thu, 11 Oct 2012 18:23:21 -0400
[Message part 1 (text/plain, inline)]
Package: python3
Version: 3.2.3-5
Followup-For: Bug #672178

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

The attached patch fixes both bug 672178 and 690259.  It should allow
python3-defaults to be compatible with Python 3.3 now.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3 depends on:
ii  python3-minimal  3.2.3-5
ii  python3.2        3.2.3-2

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc  <none>
pn  python3-tk   <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQd0bXAAoJEBJutWOnSwa/51kP/2T6pYPY65NLDuON4VH8JlYy
uR017VxOGPbaLR++ahZorjawoiQxqtfWAsjnrB61of/xGt3ixz20/hDkB5TEyFF5
WOHv87cxTNaFMbKbetX6WDUg2FXI8pQtb2sLt9iBH7JjY5S6yp1pztfrG2L1q3ra
Relqi59ChmI2W5F1qSkVRDiMHtkGnag6J2um5+RJ09vFHdw+MlwrvO5gt/LJyFAB
qu5c1K0uIu744WQMdRbsz7O+Rq5QqAKqPmwcAzPLZ7tOC+iOJJE6V+vNdi32h2V6
HFyisGcIcEO0c+mrEy/wdqzhJRSRdsNgbvOFG+6PMhX/T2MOGP7BWfhPq61AvEGv
GsN+vlM3yEY5oRKG+bfHWhTKf76+6PDh8ET18YXw44YT2itTnQ3DU12dy1s8RZxg
lh/cRgagNE5ku7vIto7SPsO3QqotXN6zabrz5k4NTEjj0oR+TDjsbQftiRsNNOSj
A5515TGRK0l7yyeRTakWWU4jLbmTk1xmYhDHyEwNsgT9Sedq7R3BgE8MDONwXOt0
fXhAmaUXEQjbisLJCS76YCXeEVU0sO7cb+zMEXoLevX4jsglXFLIwGJ43LPSenZ8
PWGFBxwfs7XasH1YxKcHMJib395jUTrVdkc8YBSYiwZPB7jGQ8zG4DeTMydUjXIF
hJPgq9KZZHrAix5FIB63
=hf+j
-----END PGP SIGNATURE-----
[672178.txt (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#672178; Package src:python3-defaults. (Thu, 11 Oct 2012 22:57:08 GMT) (full text, mbox, link).


Acknowledgement sent to Barry Warsaw <barry@python.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Thu, 11 Oct 2012 22:57:09 GMT) (full text, mbox, link).


Message #20 received at 672178@bugs.debian.org (full text, mbox, reply):

From: Barry Warsaw <barry@python.org>
To: 672178@bugs.debian.org
Date: Thu, 11 Oct 2012 18:47:44 -0400
[Message part 1 (text/plain, inline)]
Apologies for the syntax error in the Closes text.
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) pending. Request was from Piotr Ożarowski <piotr@debian.org> to control@bugs.debian.org. (Sat, 13 Oct 2012 12:15:05 GMT) (full text, mbox, link).


Reply sent to Piotr Ożarowski <piotr@debian.org>:
You have taken responsibility. (Sun, 21 Oct 2012 22:06:03 GMT) (full text, mbox, link).


Notification sent to Jakub Wilk <jwilk@debian.org>:
Bug acknowledged by developer. (Sun, 21 Oct 2012 22:06:03 GMT) (full text, mbox, link).


Message #27 received at 672178-close@bugs.debian.org (full text, mbox, reply):

From: Piotr Ożarowski <piotr@debian.org>
To: 672178-close@bugs.debian.org
Subject: Bug#672178: fixed in python3-defaults 3.2.3-6
Date: Sun, 21 Oct 2012 22:03:21 +0000
Source: python3-defaults
Source-Version: 3.2.3-6

We believe that the bug you reported is fixed in the latest version of
python3-defaults, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 672178@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Ożarowski <piotr@debian.org> (supplier of updated python3-defaults package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Oct 2012 21:29:45 +0200
Source: python3-defaults
Binary: python3 python3-minimal python3-examples python3-dev idle3 python3-doc python3-dbg python3-all python3-all-dev python3-all-dbg
Architecture: source all
Version: 3.2.3-6
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Piotr Ożarowski <piotr@debian.org>
Description: 
 idle3      - IDE for Python using Tkinter (default version)
 python3    - interactive high-level object-oriented language (default python3
 python3-all - package depending on all supported Python 3 runtime versions
 python3-all-dbg - package depending on all supported Python 3 debugging packages
 python3-all-dev - package depending on all supported Python 3 development packages
 python3-dbg - debug build of the Python 3 Interpreter (version 3.2)
 python3-dev - header files and a static library for Python (default)
 python3-doc - documentation for the high-level object-oriented language Python
 python3-examples - examples for the Python language (default version)
 python3-minimal - minimal subset of the Python language (default python3 version)
Closes: 672178 685067 685167 686587 687060 690259
Changes: 
 python3-defaults (3.2.3-6) unstable; urgency=low
 .
   [ Piotr Ożarowski ]
   * dh_python3
     - ignore empty files while trying to normalize shebangs
     - mention the right file (debian/py3dist-overrides) while warning about
       guessed dependency - thanks to Sebastian Ramacher for the patch
       (Closes: #685067)
     - fix generating dependencies when maximum version is specified
       (Closes: #687060)
   * py3versions.py: fix parsing DEBPYTHON3_SUPPORTED env. variable
     (versions should be separated using comma, as in debian_defaults
     config file)
   * py3versions, debpython: close previously opened files - thanks to Dmitry
     Shachnev for the patch (Closes: #686587)
 .
   [ Dmitry Shachnev ]
   [ Barry Warsaw ]
   * py3clean: Don't remove everything in the __pycache__ directory for
     system site package directories. Prevents bogus cleaning of unrelated
     *.pyc files. Original patch by Dmitry, with review, clean up, small
     modifications, and additional comments by Barry. (Closes: #685167)
 .
   [ Barry Warsaw ]
   * dh_python3: Rework calculation of extension tags to add support for
     Python 3.3's different suffixes, and to allow for unadorned .so files
     to assume they are built with the default Python 3 version.
     Closes: 672178
   * README.derivatives: It is no longer necessary to edit
     debian/py3versions.py since the values are taken from
     debian_defaults. Also added some text on how to separate the
     specification when multiple versions are supported.
   * Makefile: Fix the nosetests3 command. Closes: 690259
Checksums-Sha1: 
 f159abbfdeaf73cb305179161c530ff6e0f7a532 2250 python3-defaults_3.2.3-6.dsc
 a04e3aeb1cdc0dfdd2cfbbe7c8ddca0fbf40a381 142250 python3-defaults_3.2.3-6.tar.gz
 bcdc00cbe0918c52991ac2c1297e4956b8619c17 43366 python3_3.2.3-6_all.deb
 1962245c42a83a6ae9239bfbf038aab321cdc6bd 20948 python3-minimal_3.2.3-6_all.deb
 dead844ec2ce82f3486aea045da6e839cfef19d4 856 python3-examples_3.2.3-6_all.deb
 1eb84f3ff0890145d8bd748972d7ef36eb8916cd 1062 python3-dev_3.2.3-6_all.deb
 25299c18e57a7c551993452fe12af8560325163a 3152 idle3_3.2.3-6_all.deb
 d0297693bc3f1ce492262934095591e986e506bd 20580 python3-doc_3.2.3-6_all.deb
 254ea0b8ed0f5727c74d9bfdc0682c898cb98fb1 1130 python3-dbg_3.2.3-6_all.deb
 8e4a671289c84011c19b1395b13c3579cf0b8dfc 866 python3-all_3.2.3-6_all.deb
 3ee1175a2b485e466e2e983b255ad4b38c362090 882 python3-all-dev_3.2.3-6_all.deb
 c1ee758eee0372864534f8831f6e54af5c8152c6 880 python3-all-dbg_3.2.3-6_all.deb
Checksums-Sha256: 
 bc0d268b4d47a45d02178e0fe873c5a3f63a5e483ef13309fa23c81bfd82e8e1 2250 python3-defaults_3.2.3-6.dsc
 a1545f5fd45994817f9cb7fc4fd7fe17dd1108377d9a6fc3e97ef41520565b4a 142250 python3-defaults_3.2.3-6.tar.gz
 00e1191bc68d1d6608cd9cba37ecab3065fd3b899b2467d2ad6e2c7a7e735b87 43366 python3_3.2.3-6_all.deb
 56acc5d4a86138ecac049c8edac41ab37e2f2ba18a6dc4f6b29be395e7b9e581 20948 python3-minimal_3.2.3-6_all.deb
 b6b649ac819e61ad2929230ec3a9717d42a09c4ff75fd746dd5d108c17a4e823 856 python3-examples_3.2.3-6_all.deb
 c4b5cd3897826a10a9881b863574f16e25438bdef16fa825f8bbfb5be4d17364 1062 python3-dev_3.2.3-6_all.deb
 056cd90178b8fc07c6f100cf1f13467e258ed8671bd809500531e88279f614c6 3152 idle3_3.2.3-6_all.deb
 512cc66b7ba522d3641172dcc904c04b03f0ec3388d123573fd2cdeb5ffd5793 20580 python3-doc_3.2.3-6_all.deb
 619b974df2b61a3473fa807f4168de3b7b7824c303dfe153d42865a00c2b3683 1130 python3-dbg_3.2.3-6_all.deb
 a4eaed140d01801ec827a932791785c7db1c2c18245c2682d05c465d09c5e3e8 866 python3-all_3.2.3-6_all.deb
 0ecae0fbb2276620d03ad6c573f18f1eba38d3b0060bb17e2ac82409c4a7cd3e 882 python3-all-dev_3.2.3-6_all.deb
 acd5dd7bec7b31bfd2ec1a37e35d46f5e3a8284882992ba76887ac2b31a01b4c 880 python3-all-dbg_3.2.3-6_all.deb
Files: 
 93ccda45b7f0c2e6bfe3ca52b5884f5b 2250 python optional python3-defaults_3.2.3-6.dsc
 f9fca037e3defc4340bcd90aa38d3afb 142250 python optional python3-defaults_3.2.3-6.tar.gz
 973374176f0bb2866fb597d9ece712b2 43366 python optional python3_3.2.3-6_all.deb
 5149d291609b63e114250a13737ad2f1 20948 python optional python3-minimal_3.2.3-6_all.deb
 c00da7e14a521509df7a1ed395178402 856 python optional python3-examples_3.2.3-6_all.deb
 c44d171fa1bbcd0ef7237b7834e380e9 1062 python optional python3-dev_3.2.3-6_all.deb
 4ed213ae07af26798928b4aadc177fb7 3152 python optional idle3_3.2.3-6_all.deb
 7d06b3075d9d9a9e1b36db20a1cf2eb9 20580 doc optional python3-doc_3.2.3-6_all.deb
 1c54c7c1d78f83c5134a241e26abcce1 1130 debug extra python3-dbg_3.2.3-6_all.deb
 c71ebd5303008b2f062f2bd913f84ae4 866 python optional python3-all_3.2.3-6_all.deb
 a56e15f6fa51626f9a99ca8e86c9f8a1 882 python optional python3-all-dev_3.2.3-6_all.deb
 b94553e282b33595434d1aa32e8f3398 880 debug extra python3-all-dbg_3.2.3-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJQhG6UAAoJEK728aKnRXZFSIQP/jLSB3zJe7gDTGDY1tlMJ/ZS
cQ5GX0T47cMrA+jgsW4dKN4i5eY2bzgwxzyxVpcRFNyqQZUa73Cuu2FdupGuiHTt
tMjDWn1v2OCtjTFJNbuodXJs6hyIGLkumXWKOG7xhOtgSmT5rJ72XsTgwmTnSylW
f17QsCeOaa4fdWeCKlACOAXpEfn2fE8SMYKO7hzSvw1PamF3nKbhX8mZ3LLASdfB
Q0H8zUzdwCUeEb/RJjBdZVuTiTUjMO9KUm8WELS8a4PBqFxjYyJdzRIs/2Tp4Isa
UFVDluR3+qAC3jE4+lfjfKk2azJodlSpaiP7Hemd/t+nxN91AY8i/nrlOM+EpvHG
3wFcCC2ebietQmSf4PEpO0HGH9yVrnciFLmjfaHv9geA/7iYI5Ray95ubN7T6OiN
IMDihDCKsAZPyCPAu6suH4wKCFx1GMstbUqWb3aechPgWHxUFUK3q36QAdgJnI52
qbb7+QEiKX2wNFughf0gmp2mFTjZk/SIpSEGG4KpyfQEkyJHxfXj58TcrROvjCin
bDEvtM+A1RJaohZfdwwN69ATBpC7RSrqr9NE8yR/OhffdMfDnmX6uX3pvzCT6AQN
5bug8oNYTDfRjqDzYtmSm80KGbSVvsLsmno6Bq3+32JYGibvZ7t67zTZOG+CDA0X
y8U+DrpBsiEooqEbwd7Z
=hHhM
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 19 Nov 2012 07:26:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 02:29:19 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.