Hi Steve,

THe build has some problems with Python 2.7:


      - armhf 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=armhf&ver=3.11.2-3&stamp=1549975145&raw=0>

-mips 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=mips&ver=3.11.2-3&stamp=1549975936&raw=0>


      - mips64el 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=mips64el&ver=3.11.2-3&stamp=1549981968&raw=0>

- mipsel not tried yet


      - hppa 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=hppa&ver=3.11.2-3&stamp=1549976581&raw=0>

-hurd-i386 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=hurd-i386&ver=3.11.2-3&stamp=1549974878&raw=0>

-riscv64 
<https://buildd.debian.org/status/fetch.php?pkg=pyparted&arch=riscv64&ver=3.11.2-3&stamp=1549976277&raw=0>


https://buildd.debian.org/status/package.php?p=pyparted


I am going home to see this.


The patch in Debian package seems right:

--- pyparted.orig/tests/test__ped_ped.py
+++ pyparted/tests/test__ped_ped.py
@@ -48,7 +48,7 @@ class PartitionFlagGetNameTestCase(unitt
             self.assertNotEqual(_ped.partition_flag_get_name(attr), "", "Could 
not get name for flag _ped.%s" % f)
 
         self.assertRaises(ValueError, _ped.partition_flag_get_name, -1)
-        self.assertRaises(ValueError, _ped.partition_flag_get_name, 1000)
+        self.assertRaises(_ped.PartedException, _ped.partition_flag_get_name, 
1000)
 
 class PartitionFlagGetByNameTestCase(unittest.TestCase):
     def runTest(self):
@@ -82,7 +82,7 @@ class DiskFlagGetNameTestCase(unittest.T
             self.assertNotEqual(_ped.disk_flag_get_name(f), "", "Could not get 
name for flag %s" % f)
 
         self.assertRaises(ValueError, _ped.disk_flag_get_name, -1)
-        self.assertRaises(ValueError, _ped.disk_flag_get_name, 1000)
+        self.assertRaises(_ped.PartedException, _ped.disk_flag_get_name, 1000)
 
 class DiskFlagGetByNameTestCase(unittest.TestCase):
     def runTest(self):

-ValueError

+_ped.PartedException


And complete remove unknow_parttition_flag.patch.


Did you run tests against Python2.7?




Regards,

Herbert










http://incoming.debian.org/debian-buildd/pool/main/p/pyparted/





Reply via email to