[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Bug#651962: python-argparse redundant?



Hello Python Team,

Now that Python 2.7 is the default python interpreter, we can get rid off argparse.

Is there a process to follow or should I just request the FTP team for its removal?

-------- Original Message --------
Subject: Bug#651962: python-argparse redundant?
Resent-Date: Tue, 13 Dec 2011 16:09:02 +0000
Resent-From: Jameson Graef Rollins <jrollins@finestructure.net>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Ritesh Raj Sarraf <rrs@debian.org>
Date: Tue, 13 Dec 2011 08:05:29 -0800
From: Jameson Graef Rollins <jrollins@finestructure.net>
Reply-To: Jameson Graef Rollins <jrollins@finestructure.net>, 651962@bugs.debian.org
To: Debian Bug Tracking System <submit@bugs.debian.org>


Package: python-argparse
Version: 1.2.1-1
Severity: normal

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

When using a program that uses zope, I see the following error:

/usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
  import pkg_resources

Sure enough, it looks like python2.7 and python-argparse are both
providing argparse.py, and in different locations:

servo:~ 0$ dpkg -S /usr/lib/python2.7/argparse.py
python2.7: /usr/lib/python2.7/argparse.py
servo:~ 0$ dpkg -S /usr/lib/python2.7/dist-packages/argparse.py
python-argparse: /usr/lib/python2.7/dist-packages/argparse.py
servo:~ 0$ 

If argparse is being provided by python2.7, why is there a separate
argparse package?  Presumably one of these packages is installing the
module in the wrong place, which is why this conflict hasn't shown up
earlier.

Thanks.

jamie.

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
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 python-argparse depends on:
ii  python     2.7.2-9
ii  python2.6  2.6.7-4
ii  python2.7  2.7.2-8

python-argparse recommends no packages.

Versions of packages python-argparse suggests:
pn  python-argparse-doc  <none>

- -- no debconf information

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

iQIcBAEBCAAGBQJO53fHAAoJEO00zqvie6q8HyoP/1BI5lV5wFnw0bOAi7fPj0MB
TrrlD68eTITFQd81VRAQefqBxb8bOeg0z7i9DVo2d0eRWCgcU4rQE/Ompdo7IHi3
PjrXwDDXp7b/P7WhklEBe4HbpXph64pdhYiIY15TTkSshDyJo2oCIdbRg/8BfE8o
yz6g1BzGlUMcA0cR5FS/UFdQ53cJd9+HoXBmzB6J+rlXIhAwXP+s6sikf0xX/7fN
MPzcwBXj86ooAgiZH0I5xCfsH995OHCKDTta7tq4n11Fh6q8bCt7hutJuugs46j+
l7Bzty9iDCoG8KH96Z979rf1eTUD0rWeQv95G0HCgoMuotuYLO/+1IvuIbsb4X6R
6tQWqqD+EbyoUob9Kh7DHqnamCoxfD5zXBQTFryzzHErgCI+Lh0HbbjgWaCEFzka
zk6V9tqhvjb/1Pz1wMlpmMEYHMcqG5xTkK51N/PP5zMln4dQwnja7RUGxHOU9NP0
filYmplGermuPbkwpWUNp5pctV5mQqa03iVV+vOyNkZ7oKOwpp6R770QsoRqOE7D
9VEfpwyEzgqD0V2/soGCZGr6FNSaU8MYfLKEqv11dr+/mrrnKpULvotAcE17M8p0
YBw1XpHM03rOh7JKYp+3Esg/DaSFJeViMdA45Nfq9hOC4jHiYdey2P/cTJKjfHet
zpnT6QDUM9M/UEqq6MkG
=oGmi
-----END PGP SIGNATURE-----


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: