Your message dated Wed, 07 Jan 2009 18:17:03 +0000
with message-id <[email protected]>
and subject line Bug#510901: fixed in foolscap 0.3.2.dfsg-2
has caused the Debian Bug report #510901,
regarding python-foolscap: should advertise [secure_connections] feature to 
setuptools
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
510901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-foolscap
Version: 0.3.2.dfsg-1
Severity: normal

[note: I'm the upstream author of Foolscap]

Hey there.. first off, thanks for getting foolscap into debian!

I'm running into a problem that results from differences between the .deb
package that I used to build locally (which uses the packaging rules in the
foolscap mercurial repository in the misc/sid/debian/ directory) and the new
package that just arrived in sid.

Our "Tahoe" project uses setuptools and pkg_resources to declare its
dependencies. When it announces a dependency on foolscap, it also requires an
"extra feature" named [secure_connections]. Foolscap announces that it
provides this extra feature, but only when the pyOpenSSL package is
available. We use this combination to make sure that everything gets built
from source correctly.

The foolscap 'setup.py' makes this announcement by adding an extra argument
to the call to setup():

  setup_args['extras_require'] = { 'secure_connections' : ["pyOpenSSL"] }

The problem is that the package that is currently in sid does not make this
announcement, so Tahoe fails to build against it. There's a one-line shell
command you can use to see if the installed foolscap package provides this
feature or not:

  python -c 'from pkg_resources import require; 
require("foolscap[secure_connections]")'

When run against my old package, it exits silently. When run against the new
package from sid, it complains:

 % python -c 'from pkg_resources import require; 
require("foolscap[secure_connections]")'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in 
require
     needed = self.resolve(parse_requirements(requirements))
   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 529, in 
resolve
     requirements.extend(dist.requires(req.extras)[::-1])
   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2115, in 
requires
     "%s has no such extra feature %r" % (self, ext)
 pkg_resources.UnknownExtra: foolscap 0.3.2 has no such extra feature 
'secure_connections'


Since the extras_require= argument in the foolscap setup.py is
conditionalized upon the availability of setuptools (so it can run even
without setuptools), the problem might simply be that the sid package was
built in an environment where setuptools was unavailable. If so, the simplest
fix is probably to add python-setuptools to the "Build-Depends:" line.

I noticed that the sid package installs fewer egg-related files than my old
package did, but I think that's related to the lack of setuptools during the
build. When I debuild the package on a setuptools-capable machine, there are
more .egg-info files in the .deb, including a
foolscap-0.3.2.egg-info/requires.txt which mentions the [secure_connections]
feature.


thanks!
 -Brian


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-foolscap depends on:
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt
ii  python-twisted-core           8.1.0-4    Event-based framework for internet
ii  python-twisted-web            8.1.0-1    An HTTP protocol implementation to
ii  python-zopeinterface          3.3.1-7    The implementation of interface de

Versions of packages python-foolscap recommends:
hi  python-openssl                0.6-5      Python wrapper around the OpenSSL 
ii  python-twisted-names          8.1.0-1    A DNS protocol implementation with

python-foolscap suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: foolscap
Source-Version: 0.3.2.dfsg-2

We believe that the bug you reported is fixed in the latest version of
foolscap, which is due to be installed in the Debian FTP archive:

foolscap_0.3.2.dfsg-2.diff.gz
  to pool/main/f/foolscap/foolscap_0.3.2.dfsg-2.diff.gz
foolscap_0.3.2.dfsg-2.dsc
  to pool/main/f/foolscap/foolscap_0.3.2.dfsg-2.dsc
python-foolscap_0.3.2.dfsg-2_all.deb
  to pool/main/f/foolscap/python-foolscap_0.3.2.dfsg-2_all.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephan Peijnik <[email protected]> (supplier of updated foolscap 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 07 Jan 2009 00:04:08 +0100
Source: foolscap
Binary: python-foolscap
Architecture: source all
Version: 0.3.2.dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Stephan Peijnik <[email protected]>
Description: 
 python-foolscap - object-capability-based RPC system for Twisted Python
Closes: 510901
Changes: 
 foolscap (0.3.2.dfsg-2) unstable; urgency=low
 .
   * Fixed missing build dependency on python-setuptools (Closes: #510901).
Checksums-Sha1: 
 3706b53fc6b80e0f97873ef44ddfe5dd3b01d113 1407 foolscap_0.3.2.dfsg-2.dsc
 7f9205f9780edd6e6cac7ced3418d8f32cc53c02 2902 foolscap_0.3.2.dfsg-2.diff.gz
 8441cae57f87ac26f2e2e1fb25744fadef8d4e10 383504 
python-foolscap_0.3.2.dfsg-2_all.deb
Checksums-Sha256: 
 e45c7a7bbe39854d4fedbea19076e24166b7ed04c76b7f7d78c8ec21e8f5a4c6 1407 
foolscap_0.3.2.dfsg-2.dsc
 b206312bf7078617551e04ccf67c4a5a944c2d0d78a7f0b3918dfeb4b82fc96b 2902 
foolscap_0.3.2.dfsg-2.diff.gz
 4b1c89664e82f780574cfebd29e23fc2aa7854c46c915a1990b94b19c985a742 383504 
python-foolscap_0.3.2.dfsg-2_all.deb
Files: 
 07e08f3f1db02728f27e76e0e72eb25b 1407 python optional foolscap_0.3.2.dfsg-2.dsc
 79af8f94136d78d683b2320eea2b70e5 2902 python optional 
foolscap_0.3.2.dfsg-2.diff.gz
 cd2aa44747aef464107cb3e606cd3308 383504 python optional 
python-foolscap_0.3.2.dfsg-2_all.deb

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

iEYEARECAAYFAklk75QACgkQB01zfu119ZlX7gCdFsZb2vbJhl7HbQ53tiuWGx1R
XcMAnjvNGtV3lPvIRG0ah6jGyKYsDUwD
=X6fo
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to