[Pkg-bazaar-maint] Bug#720003: bzr-builddeb: FTBFS: Test failure in bzrlib.plugins.builddeb.tests.test_import_dsc.OneZeroSourceExtractorTests.test_extract_format3_native

Andrew Starr-Bochicchio asb at debian.org
Sat Aug 17 17:25:15 UTC 2013


tags 720003 pending
thanks

Thanks for catching this change in behavior from dpkg.

-- Andrew Starr-Bochicchio

   Ubuntu Developer <https://launchpad.net/~andrewsomething>
   Debian Developer <http://qa.debian.org/developer.php?login=asb>
   PGP/GPG Key ID: D53FDCB1


=== modified file 'debian/changelog'
--- debian/changelog 2013-06-09 18:41:10 +0000
+++ debian/changelog 2013-08-17 17:19:42 +0000
@@ -4,6 +4,11 @@
    - Explicitly pass '--format=1.0' to dpkg-source inorder to
      silence "no source format specified" warnings printed to
      stderr (Closes: #711042).
+  * tests/test_import_dsc.py:
+   - As of dpkg 1.17.0, source format '3.0 (native)' strictly
+     enforces that native packages do not have a Debian revision.
+     Use "0.1" instead of "0.1-1" for the version number in
+     test_extract_format3_native (Closes: #720003).

  -- Andrew Starr-Bochicchio <asb at debian.org>  Sun, 09 Jun 2013 14:38:31 -0400


=== modified file 'tests/test_import_dsc.py'
--- tests/test_import_dsc.py 2012-03-02 14:19:19 +0000
+++ tests/test_import_dsc.py 2013-08-17 17:19:42 +0000
@@ -1963,7 +1963,7 @@
             extractor.cleanup()

     def test_extract_format3_native(self):
-        version = Version("0.1-1")
+        version = Version("0.1")
         name = "package"
         builder = SourcePackageBuilder(name, version, native=True,
                 version3=True)



More information about the Pkg-bazaar-maint mailing list