Merge python-crypto 2.1.0-2 (main) from Debian unstable (main)

Bug #662883 reported by Stefano Rivera
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-crypto (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Please sync python-crypto 2.1.0-2 (main) from Debian unstable (main)

Required for the python-paramiko in natty.

Explanation of the Ubuntu delta and why it can be dropped:
All our changes have been incorporated in Debian / upstream, except for the
--install-layout deb change which is a noop.

Changelog entries since current natty version 2.0.1+dfsg1-4ubuntu2:

python-crypto (2.1.0-2) unstable; urgency=low

  * Added missing .install file (closes: #576478)
  * Added myself to Uploaders.

 -- Andreas Rottmann <email address hidden> Wed, 07 Apr 2010 17:24:11 +0200

python-crypto (2.1.0-1) unstable; urgency=low

  * New upstream version. (closes: #561306).
    - 2.1.0 includes fix for 160-bit DSS key issue (closes: #433563).
    - The following patches have been obsoleted (fixed by upstream):
      errata-2.0.1.patch
      dfsg-adjust.patch
      aes256-55bytes.patch
      arc2-buffer-overflow.patch
      run-tests.patch
    - The following patches have been updated:
      no-usr-local.patch:
        Remove #!/usr/local/bin/python shebang line.
  * New patches:
    - doc.patch:
        Build doc with local source directory.

 -- James Cook <email address hidden> Sun, 28 Feb 2010 10:17:19 +0800

python-crypto (2.0.1+dfsg1-5) unstable; urgency=low

  * Added python-old-doctools to Build-Depends (closes: #568047).
  * Bumped Standards-Version to 3.8.4 (no changes).

 -- Andreas Rottmann <email address hidden> Thu, 11 Feb 2010 00:45:34 +0100

Changed in python-crypto (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Matthias Klose (doko) wrote :

rejected.

--install-layout deb isn't a noop, and you should file a bug report for debian.

Changed in python-crypto (Ubuntu):
status: New → Incomplete
Revision history for this message
Stefano Rivera (stefanor) wrote :

> --install-layout deb isn't a noop, and you should file a bug report for debian.

It's effectively a no-op, because dh_pycentral will move the modules back from local. Is this not what's supposed to happen? I've always thought that --instal-layout=deb isn't necessary any more.

Build log attached, the resultant debs seem fine to me.

Changed in python-crypto (Ubuntu):
status: Incomplete → New
Revision history for this message
Scott Moser (smoser) wrote :

i'm moving this to medium. The uec-images have python-paramiko and thus as things are right now, they're failing to build.

Changed in python-crypto (Ubuntu):
importance: Wishlist → Medium
Revision history for this message
Stefano Rivera (stefanor) wrote :

Here's a merge that will port the module to dh_python2 for a static symlink farm (without dumping CDBS).

It also retains --install-layout=deb

Note that dh_python2 has a bug: It will complain that the package isn't being build with --install-layout=deb, even though it is.

summary: - Sync python-crypto 2.1.0-2 (main) from Debian unstable (main)
+ Merge python-crypto 2.1.0-2 (main) from Debian unstable (main)
Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 662883] Re: Merge python-crypto 2.1.0-2 (main) from Debian unstable (main)

I thought it was our policy to keep a minimal diff and not change things like
build systems from what's in Debian?

Revision history for this message
Stefano Rivera (stefanor) wrote :

> I thought it was our policy to keep a minimal diff and not change things like
> build systems from what's in Debian?

I definitely prefer minimal diffs, but doko requested a static symlink farm on IRC. I suppose it could also be done with pycentral + INCLUDE_LINKS.

Revision history for this message
Matthias Klose (doko) wrote :

On 20.10.2010 23:29, Stefano Rivera wrote:
>> I thought it was our policy to keep a minimal diff and not change things like
>> build systems from what's in Debian?

not if we want to implement a spec.

> I definitely prefer minimal diffs, but doko requested a static symlink
> farm on IRC. I suppose it could also be done with pycentral +
> INCLUDE_LINKS.

yes, but pycentral is so yesterday.

Revision history for this message
Scott Kitterman (kitterman) wrote :

I think before we start changing build systems from Debian, we need a general
consensus on the policy. It's not just about this package.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Well, if anyone is in a hurry with this and doesn't want to wait for the UDS discussion on Python policy for natty - here's a merge that retains pycentral.

Note that while the dbg package is build with --install-layout=deb, the main package isn't, CDBS doesn't do that, instead it does:

--install-purelib=/usr/lib/python$buildver/site-packages/ --install-platlib=/usr/lib/python$buildver/site-packages/ --prefix=/usr

Which is mostly the same, except for site-packages instead of dist-packages. Again pycentral clears this up.

This is what dh_python2 was complaining about which I mistook for a dh_python2 bug.

Revision history for this message
Scott Moser (smoser) wrote :

Could we please just get a fix in so this can get into the archive?

My list of rdepends for python-crypto here is 31 packages.

We can discuss it at UDS and then solve it correctly later. I'll open a bug to track the "right fix" if needed.

Changed in python-crypto (Ubuntu):
status: New → Confirmed
Revision history for this message
Barry Warsaw (barry) wrote :

Agreed with Scott that this package should be fixed expediently, *if* another bug is opened for the right fix post-UDS. Note that currently we do not have a session planned at UDS-N for Python update policy in Natty. There is a new thread on debian-python though.

Do we need a UDS-N session on this?

Revision history for this message
Scott Kitterman (kitterman) wrote :

Confirmed for sponsorship bugs means it's approved by a sponsor. Please don't set such bugs to confirmed unless you are sponsoring it. I'll look at the pycentral version tomorrow or Saturday if no one else gets to it first.

Changed in python-crypto (Ubuntu):
status: Confirmed → New
Revision history for this message
Scott Kitterman (kitterman) wrote :

@Barry - If we are planning build system changes without coordinating with Debian, then I think we need a session about this.

Revision history for this message
Barry Warsaw (barry) wrote :

@Scott: here is where we're starting to coordinate build system changes with Debian:

http://lists.debian.org/debian-python/2010/10/msg00026.html

The question is, do we need specific Ubuntu policy decisions to move forward now in Natty?

Revision history for this message
Scott Moser (smoser) wrote :

@Scott,
  apologies for incorrectly setting 'confirmed'.
@Barry,
  I opened bug 664648 to track "fix it right"

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-crypto - 2.1.0-2ubuntu1

---------------
python-crypto (2.1.0-2ubuntu1) natty; urgency=low

  * Merge from Debian unstable (LP: #662883). Remaining changes:
    - Install the -dbg build using --install-layout=deb.
  * Droppped changes, superseded in Debian:
    - The md5 module is deprecated in Python 2.6, use hashlib when possible.
    - Explicitly use python2.5 to build the docs; the old doc tools are not
      included in python2.6 anymore.

python-crypto (2.1.0-2) unstable; urgency=low

  * Added missing .install file (closes: #576478)
  * Added myself to Uploaders.

python-crypto (2.1.0-1) unstable; urgency=low

  * New upstream version. (closes: #561306).
    - 2.1.0 includes fix for 160-bit DSS key issue (closes: #433563).
    - The following patches have been obsoleted (fixed by upstream):
      errata-2.0.1.patch
      dfsg-adjust.patch
      aes256-55bytes.patch
      arc2-buffer-overflow.patch
      run-tests.patch
    - The following patches have been updated:
      no-usr-local.patch:
        Remove #!/usr/local/bin/python shebang line.
  * New patches:
    - doc.patch:
        Build doc with local source directory.

python-crypto (2.0.1+dfsg1-5) unstable; urgency=low

  * Added python-old-doctools to Build-Depends (closes: #568047).
  * Bumped Standards-Version to 3.8.4 (no changes).
 -- Stefano Rivera <email address hidden> Sun, 24 Oct 2010 23:12:48 +0200

Changed in python-crypto (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.