1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
|
python-apt (2.9.0) unstable; urgency=medium
* Revert "2.8.y: Run CI in noble and point gbp.conf at 2.8.y branch"
* Update pre-commit hooks and run them
-- Julian Andres Klode <jak@debian.org> Thu, 02 May 2024 10:06:29 +0200
python-apt (2.8.0) unstable; urgency=medium
* pre-build.sh: Run pre-commit instead of black directly
* 2.8.y: Run CI in noble and point gbp.conf at 2.8.y branch
* Update the mirrors
-- Julian Andres Klode <jak@debian.org> Wed, 17 Apr 2024 12:21:58 +0200
python-apt (2.7.7) unstable; urgency=medium
* Remove obsolete python3-distutils build-depends (Closes: #1065922)
-- Julian Andres Klode <jak@debian.org> Fri, 22 Mar 2024 23:25:32 +0100
python-apt (2.7.6) unstable; urgency=medium
[ Ravi Kant Sharma ]
* Expose the phased updates APIs in apt 2.7.11
-- Julian Andres Klode <jak@debian.org> Wed, 21 Feb 2024 19:01:25 +0100
python-apt (2.7.5) unstable; urgency=medium
* Improve development workflow and CI with pre-commit hooks:
- Remove obsolete .travis.yml
- Setup pre-commit with various formatting and mypy hooks and run it
- Add mypy.ini
- pre-commit: mypy: Only filter out sourceslist and distro in aptsources
* Build fixes:
- setup.py: Strip whitespace in version
* Fixes to deb822 support:
- Make sure we don't construct SourceEntry for .sources file
- Figure out file to add before deciding between deb822 and legacy
- Ensure deb822 keys are case-insensitive
- Pass parent for deb-src entries too
* Fixes to the test suite:
- tests: Ensure we parsed the correct main and child sources
- tests: Adjust test suite to pass all arguments to get_distro()
Fixing the test suite regressions that plagued (random) executions.
* Fixes for aptsources.distinfo to improve error handling for mirror files:
- data: Blankon: Use relative mirror file location
- distinfo: Include file name if we can't read mirror file
* Deprecations:
- aptsources: get_distro: Warn if only some arguments are provided. This
caused the test suite failures. It will soon become a ValueError.
-- Julian Andres Klode <jak@debian.org> Fri, 12 Jan 2024 17:59:34 +0100
python-apt (2.7.4) unstable; urgency=medium
* aptsources: Fix path to Dir::Etc::SourcesList
-- Julian Andres Klode <jak@debian.org> Fri, 22 Dec 2023 12:14:54 +0100
python-apt (2.7.3) unstable; urgency=medium
* Handle null pointer deference in error handler (Closes: #1058904)
* Actually register apt_pkg.Warning object
* apt_inst: Import apt_pkg.Warning and export it again (Closes: #1058657)
* d/tests/control: Add allow-stderr Restriction
-- Julian Andres Klode <jak@debian.org> Thu, 21 Dec 2023 16:00:06 +0100
python-apt (2.7.2) unstable; urgency=medium
* Convert from type comments to type annotations (Closes: #1058118)
* Run pyupgrade
* Run pyupgrade --py311-plus
* Run autoflake
* Run isort
-- Julian Andres Klode <jak@debian.org> Wed, 13 Dec 2023 16:37:57 +0100
python-apt (2.7.1) unstable; urgency=medium
[ Aristo Chen ]
* apt/package.py: fix typo from 'unkown' to 'unknown'
[ Julian Andres Klode ]
* Issue warnings as apt_pkg.Warning instead of discarding when there is no error
* deb822: Allow copying a section by constructor
* aptsources.distro: Order parent components predictable when adding
* Added exploded views to deb822 sources to support aptsources.distro which
will manage potentially only parts of a single paragraph:
- Initial support for exploded views of deb822 entries
- sourceslist: add parent argument to add() to copy fields
- sourceslist: Allow merging official distro sources
- ExplodedDeb822SourceEntry: Add file property
- Draft: sourceslist: add: Check for matches in the exploded list
- sourceslist: Add SourcesList.index() method to index items
- sourceslist: Fix merging of entries
- distro: add_source: Insert new source after last official source
- distro: Handle .comps being a property, not updatable in-place
- sourceslist: Skip sourceslist, sourcesparts being /dev/null
- deb822: Improve parsing of section separators
- deb822: Fix File.__str__() to not include 2 empty lines
- tests: deb822: Check enable/disable component layout behavior
- SourcesList.index: Return int in index(), not bool
- tests: deb822: Check enabling proposed and disabling it
[ Jeroen Dekkers ]
* Do not return the empty string in installed_files
[ Bruce Duncan ]
* Remove abandoned debugging messages
* Remove unused debugging
[ Max-Julian Pogner ]
* FIX: write snake_case in documentation, as this is the documented method name.
[ Alexandre Detiste ]
* remove Python2 crumbs
-- Julian Andres Klode <juliank@ubuntu.com> Wed, 13 Dec 2023 14:15:56 +0100
python-apt (2.7.0) unstable; urgency=medium
[ Cory Todd ]
* Add version fallback for non-dpkg builds
[ Julian Andres Klode ]
* sourceslist: add deb822-compatibility properties to legacy
* tests: Fix Python 3.12 compatibility by not using utcfromtimestamp()
(Closes: #1056456)
* Use sphinx-build directly, sphinx.setup_command is no more
* Update translation template
* Update mirror lists
-- Julian Andres Klode <jak@debian.org> Wed, 22 Nov 2023 15:36:46 +0100
python-apt (2.6.0) unstable; urgency=medium
* The Debian bookworm stable release
* Update mirror lists
* Fix FileLock docstring to say FileLock not SystemLock
-- Julian Andres Klode <jak@debian.org> Mon, 22 May 2023 16:14:05 +0200
python-apt (2.5.3) unstable; urgency=medium
[ Nick Rosbrook ]
* deb822: allow initializing a Deb822SourceEntry from string
* all: fix PEP8 formatting
* .gitlab-ci.yml: update typing stage to use venv
-- Julian Andres Klode <jak@debian.org> Thu, 23 Feb 2023 21:38:02 +0100
python-apt (2.5.2) unstable; urgency=medium
[ Jelmer Vernooij ]
* Allow sources.list.d to not exist
[ Julian Andres Klode ]
* Fix Debian templates to fix FTBFS/test failure.
We copied the URI regex from the templated section, so they had
{{0,1}}, but these sections had a fixed codename, so there's no
expansion, so it needs to be {0,1} here.
* Update mirror lists
-- Julian Andres Klode <jak@debian.org> Mon, 23 Jan 2023 10:51:16 +0100
python-apt (2.5.1) unstable; urgency=medium
[ Julian Andres Klode ]
* aptsources: distinfo: type annotations
* Reformat code with black
* aptsources: Initial deb822 reading, use SourcesList(..., deb822=True) to opt in.
The .distro matcher code has not been fully ported yet, and you will
experience issues trying to match distro entries to a deb822 source entry
with multiple values in the Types, URIs, Suites field, but this should
work for most use cases.
* Mirror list updates
[ Matthias Klumpp ]
* Update Debian template information
* trivial: Fix Debian changelog URI template
-- Julian Andres Klode <jak@debian.org> Mon, 16 Jan 2023 18:44:09 +0100
python-apt (2.5.0) unstable; urgency=medium
[ Jelmer Vernooij ]
* Fix attribute name in indexfile.py.
* Expose MetaIndex.type.
[ Michael Vogt ]
* debian: remove `python3-*-dbg` packages (Closes: #994348)
* apt: fix mypy in apt.progress.text.AcquireProgress
[ Julian Andres Klode ]
* AcquireFile: Handle large files (LP: #1998265)
* apt/progress/base.py: Return False in default cdrom change
* Code style fixes
* Mirror list updates
* d/t/control: Depend on binutils for ar
* Untrack all GC tracked objects before freeing them (LP: #1997036)
[ Steve Langasek ]
* Drop references to archive.canonical.com (LP: #1959343)
-- Julian Andres Klode <jak@debian.org> Wed, 30 Nov 2022 17:35:59 +0100
python-apt (2.3.0) unstable; urgency=medium
[ Edmund Blomley ]
* Fix pages deploy job only statement.
* Fix URL to python-apt Repository in Documentation.
[ Julian Andres Klode ]
* Python 3.10 fixes:
- SourceRecordFiles: Set exception in __getitem__
Fixes a regression with Python 3.10 in debug mode
- test_all: Avoid using deprecated distutils package
- test_tagfile: Avoid leaking file descriptor
-- Julian Andres Klode <jak@debian.org> Fri, 22 Oct 2021 12:21:54 +0200
python-apt (2.2.1) unstable; urgency=medium
[ Debian Janitor ]
* Apply multi-arch hints
- python-apt-common: Add Multi-Arch: foreign (Closes: #968458)
[ Julian Andres Klode ]
* Updated mirror lists (and mirror list location for Debian)
-- Julian Andres Klode <jak@debian.org> Sun, 04 Jul 2021 13:57:51 +0200
python-apt (2.2.0) unstable; urgency=medium
[ Helmut Grohne ]
* Annotate test dependencies with <!nocheck> (Closes: #980719)
[ Julian Andres Klode ]
* debian/rules: Re-enable PIE hardening
* Mirror list updates
* debfile: Pass `Name` instead of `Binary` to ExtractTar.
Passing the binary causes it to fail trying to find the `false`
compressor when a binary for a given compressor is not installed.
(LP: #1926437)
* debian/gbp.conf: Branch name is main
-- Julian Andres Klode <jak@debian.org> Thu, 29 Apr 2021 09:49:08 +0200
python-apt (2.1.7) unstable; urgency=medium
* SECURITY UPDATE: various memory and file descriptor leaks (LP: #1899193)
- python/arfile.cc, python/generic.h, python/tag.cc, python/tarfile.cc:
fix file descriptor and memory leaks
- python/apt_instmodule.cc, python/apt_instmodule.h, python/arfile.h:
Avoid reference cycle with control,data members in apt_inst.DebFile
objects
- tests/test_cve_2020_27351.py: Test cases for DebFile (others not easily
testable)
* Regression fixes for the updates merged too:
- arfile.cc: Fix segmentation fault when opening fd, track lifetime correctly
(Closes: #977000)
- arfile: Regression: Collect file<->deb/ar reference cycles
-- Julian Andres Klode <jak@debian.org> Thu, 10 Dec 2020 15:35:32 +0100
python-apt (2.1.6) unstable; urgency=medium
[ Julian Andres Klode ]
* Rename Cdrom and Disc to Installation medium (LP: #1849406)
* hashes: Release GIL while hashing stuff
[ Niels Thykier ]
* Correct error message in hashes.cc
-- Julian Andres Klode <jak@debian.org> Wed, 25 Nov 2020 12:47:37 +0100
python-apt (2.1.5) unstable; urgency=medium
* Do not require hardcoding release names in distro info, cleanup Debian and Ubuntu
(LP: #1727470)
* Debian: use -security instead of /updates for >= 11
-- Julian Andres Klode <jak@debian.org> Tue, 27 Oct 2020 21:27:56 +0100
python-apt (2.1.4) unstable; urgency=medium
[ Debian Janitor ]
* Trim trailing whitespace.
* Wrap long lines in changelog entries: 1.9.9, 1.7.0~alpha1,
1.1.0~alpha1, 0.9.4, 0.9.3.4.
* Update standards version to 4.5.0, no changes needed.
[ Dave Jones ]
* Fix ftbfs with sphinx 3.x (Closes: #963655)
[ Julian Andres Klode ]
* Make pycodestyle happy
* Pacify mypy 0.790 for NotImplemented returns
* gitlab-ci: Pull debian:unstable, not ubuntu:focal
-- Julian Andres Klode <jak@debian.org> Thu, 15 Oct 2020 14:25:06 +0200
python-apt (2.1.3) unstable; urgency=medium
* data/templates/Ubuntu.info.in: Add groovy (LP: #1874880)
-- Julian Andres Klode <jak@debian.org> Sat, 25 Apr 2020 13:05:50 +0200
python-apt (2.1.2) unstable; urgency=medium
* Use pybuild to split out -dbg stuff, avoid .install/.files (Closes: #958118)
* Remove Python 2 and old pyflakes hacks
-- Julian Andres Klode <jak@debian.org> Mon, 20 Apr 2020 18:16:28 +0200
python-apt (2.1.1) unstable; urgency=medium
* Make python-apt-dev depend on python3-apt, not python-apt
-- Julian Andres Klode <jak@debian.org> Thu, 16 Apr 2020 09:54:42 +0200
python-apt (2.1.0) unstable; urgency=medium
[ Gordon Ball ]
* Use pyflakes3 instead of (python 2) pyflakes
[ Julian Andres Klode ]
* Stop building for Python 2 (Closes: #937579)
* Remove Python 2 autopkgtests
-- Julian Andres Klode <jak@debian.org> Thu, 16 Apr 2020 09:46:49 +0200
python-apt (2.0.0) unstable; urgency=medium
[ Valters Jansons ]
* aptsources: Allow non-existent `source.list` file
[ Julian Andres Klode ]
* Workaround mypy 0.770
* whatsnew: Move 1.9 development series to 2.0
* Update mirror lists
* Add redundant python{,3}-all build depends for lintian
[ Simon Poirier ]
* Decode locale-encoded descriptions.
-- Julian Andres Klode <jak@debian.org> Thu, 09 Apr 2020 09:16:18 +0200
python-apt (1.9.10) unstable; urgency=medium
* Improve type annotations for apt_pkg.TagFile and apt_pkg.TagSection.
Thanks to Stuart Prescott for the report that object was ... wrong
* Break broken kthresher and apt-xapian-index versions
-- Julian Andres Klode <jak@debian.org> Sun, 08 Mar 2020 15:16:44 +0100
python-apt (1.9.9) unstable; urgency=medium
[ Julian Andres Klode ]
* Upload to unstable
[ Dan Streetman ]
* distinfo: correct subprocess usage
* sourceslist: in __find() rstrip / from uri when comparing
* test: add test to verify identical entries except trailing slash are
considered equal
-- Julian Andres Klode <jak@debian.org> Sat, 07 Mar 2020 21:26:04 +0100
python-apt (1.9.8) experimental; urgency=medium
* Fix build against apt 1.9.11 (Index -> MapPointer)
-- Julian Andres Klode <jak@debian.org> Wed, 26 Feb 2020 21:32:54 +0100
python-apt (1.9.7) experimental; urgency=medium
* debian/tests/run-tests: Use py{3,}versions -s, not py{,3}versions -r;
fixes regression in autopkgtest due to stderr output.
-- Julian Andres Klode <jak@debian.org> Sat, 22 Feb 2020 17:51:04 +0100
python-apt (1.9.6) experimental; urgency=medium
[ dann frazier ]
* Drop remaining references to pep8
[ Dan Streetman ]
* when comparing SourceEntries, rstrip '/' from uris
[ Julian Andres Klode ]
* gitlab-ci: pull from focal
* Use debhelper-compat (= 12) instead of debian/compat 9
* Use pybuild for building
* gitlab-ci.yml: Publish html doc build by package, do not rebuild
* Correctly install dbg variants of modules for python 3.8
* gitlab-ci: Add daily built apt PPA
* Switch from removed Summation classes to Hashes class
* policy: Add set_priority(PackageFile, int)
* policy: If no candidate version could be found, return None.
This used to return an invalid Version object, pointing to 0,
leading to crashes.
[ Dan Ryan ]
* Add conditional import guards in `setup.py`
* Migrate build and install to `setuptools`
* Remove -Wstrict-prototypes compiler flag
-- Julian Andres Klode <jak@debian.org> Fri, 21 Feb 2020 17:45:55 +0100
python-apt (1.9.5) experimental; urgency=medium
[ Marc Deslauriers ]
* SECURITY REGRESSION: crash with ubuntu-release-upgrader (LP: #1860606)
- apt/cache.py: make allow_unauthenticated argument to
fetch_archives() optional.
[ Julian Andres Klode ]
* Really bump aptdaemon break (to 1.1.1+bzr982-0ubuntu31)
-- Julian Andres Klode <jak@debian.org> Thu, 23 Jan 2020 10:55:46 +0100
python-apt (1.9.4) experimental; urgency=medium
* SECURITY UPDATE: Check that repository is trusted before downloading
files from it (LP: #1858973)
- apt/cache.py: Add checks to fetch_archives() and commit()
- apt/package.py: Add checks to fetch_binary() and fetch_source()
- CVE-2019-15796
* To work around the new checks, the parameter allow_unauthenticated=True
can be passed to the functions. It defaults to the value of the
APT::Get::AllowUnauthenticated option.
- Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2), as it will have
to set that parameter after having done validation.
* Revert "apt.Cache: cache apt.package.Origin objects by id"
* InstallProgress: Move set_inheritable into if pid == 0
-- Julian Andres Klode <jak@debian.org> Wed, 15 Jan 2020 16:46:29 +0100
python-apt (1.9.3) experimental; urgency=medium
[ Dave Jones ]
* aptsources: Fix comment handling in add (regression from 1.9.1)
-- Julian Andres Klode <jak@debian.org> Fri, 13 Dec 2019 18:42:26 +0100
python-apt (1.9.2) experimental; urgency=medium
* SECURITY UPDATE: Check that we have trusted hashes when downloading
in fetch_binary() / fetch_source() (1.9.1 regression) (Closes: #946597)
-- Julian Andres Klode <jak@debian.org> Thu, 12 Dec 2019 18:27:02 +0100
python-apt (1.9.1) experimental; urgency=medium
[ Julian Andres Klode ]
* Install type information according to PEP561
* Temporarily perform CI on eoan only
* Adjust to mypy 0.710
* doc/examples: Convert to Python 3
* Convert all shebangs to python3
* gitlab-ci: Run 3 separate test stages
* pep8: Fix overindent issues
* ./doc/examples/dependant-pkgs.py: Make it work again
* Fix segmentation fault for apt_pkg.Cache.policy
* test_policy: Fix pyflakes issue
* apt.Cache: cache apt.package.Origin objects by id
* Adjust for PY_SSIZE_T_CLEAN (Closes: #944091)
* Turn InstallProgress into a context manager to avoid leaking files
* AcquireFile: Remove md5 parameter
* AcquireFile: Accept HashStringList in hash parameter
* apt/package.py: Use all hashes when fetching packages
* Remove leftover MD5 use in Version.fetch_binary() (Closes: #944696)
* Fix type hints
* typehinting: Override TagSection.get()
* debian/control: Rules-Requires-Root: no, Standards-Version upgrade
* Update po template
* Fix pre-build script to actually work in Python 3
* Run the pre-build script
* lintian fixes
- fix typo in changelog error
- remove use of extra priority
- override uses-dpkg-database-directly for the root location switching magic
* Remove spurious python-debian test dependency (see bug #937579)
* Build-Depend on pycodestyle, not pep8
[ Raphaël Hertzog ]
* Add Kali templates
[ Colomban Wendling ]
* Fix InstallProgress for installing .deb files on Python >= 3.4
* Add a test case for checking the communication with dpkg works
[ Michael Vogt ]
* apt, python: make `mypy --strict` clean
[ Matthias Klose ]
* data/templates/Ubuntu.info.in: Add focal
[ Dave Jones ]
* Don't duplicate disabled sources during add() (LP: #1311056)
-- Julian Andres Klode <jak@debian.org> Wed, 11 Dec 2019 16:17:24 +0100
python-apt (1.9.0) experimental; urgency=medium
* python/pkgsrcrecords.cc: Improve readability of ...BuildDepends
* Port to APT 1.9.0; incompatible changes:
- Remove install_protect() methods
- Remove Package.section attributes
- Remove apt_pkg.rewrite_section()
- Remove unnecessary sptr includes
- apt_pkg.Hashes: remove md5, sha1, sha256 members
- Port install progress to APT::Progress::PackageManagerProgressFd
- apt_pkg.SourceRecords: Set md5 to None in tuple compat
- Remove apt_pkg.Policy(: Package) variant
- Remove Policy.get_match() method
- Add apt_pkg.TagSection.write() method
- apt_pkg.Hashes:
+ Make comparable
+ add hashvalue attribute
- debian/control: Bump libapt-pkg-dev b-d to 1.9.0~
* data/templates/Ubuntu.info.in: Add Eoan Ermine
* Bug fixes:
- apt_pkg.TagRemove: Terminate keyword list array in constructor
- apt_pkg.HashStringList: Avoid nullptr dereference on no result
-- Julian Andres Klode <jak@debian.org> Mon, 24 Jun 2019 15:54:56 +0200
python-apt (1.8.5) unstable; urgency=medium
* SECURITY UPDATE: Check that repository is trusted before downloading
files from it (LP: #1858973)
- apt/cache.py: Add checks to fetch_archives() and commit()
- apt/package.py: Add checks to fetch_binary() and fetch_source()
- CVE-2019-15796
* SECURITY UPDATE: Do not use MD5 for verifying downloadeds
(Closes: #944696) (#LP: #1858972)
- apt/package.py: Use all hashes when fetching packages, and
check that we have trusted hashes when downloading
- CVE-2019-15795
* To work around the new checks, the parameter allow_unauthenticated=True
can be passed to the functions. It defaults to the value of the
APT::Get::AllowUnauthenticated option.
- Bump Breaks aptdaemon (<< 1.1.1+bzr982-0ubuntu21.2), as it will have
to set that parameter after having done validation.
* Automatic changes and fixes for external regressions:
- Adjustments to test suite and CI to fix CI regressions
- Automatic mirror list update
- d/tests/control: Add "Restrictions: allow-stderr" (Closes: #947794)
-- Julian Andres Klode <jak@debian.org> Wed, 15 Jan 2020 16:46:29 +0100
python-apt (1.8.4) unstable; urgency=medium
* apt.Cache: Fix (un)locking in various places
- Fix (un)locking of archives (Closes: #922416)
- Use explicit, more safe locking in update()
* Update mirror lists
-- Julian Andres Klode <jak@debian.org> Mon, 11 Mar 2019 12:49:18 +0100
python-apt (1.8.3) unstable; urgency=medium
* test_aptsources: Fix test if current distribution does not exist
-- Julian Andres Klode <jak@debian.org> Mon, 04 Feb 2019 12:50:31 +0100
python-apt (1.8.2) unstable; urgency=medium
* Add a init_defaults() method to apt_pkg.Policy
* Document what's new in 1.8
-- Julian Andres Klode <jak@debian.org> Fri, 01 Feb 2019 17:09:15 +0100
python-apt (1.8.1) unstable; urgency=medium
* python/arfile.cc: Fix FTBFS due to copying of FileFd
* Revert "debian/rules: Build with pybuild"
* Adjust typing for mypy 0.660
-- Julian Andres Klode <jak@debian.org> Fri, 25 Jan 2019 20:40:39 +0100
python-apt (1.8.0) unstable; urgency=medium
[ Julian Andres Klode ]
* templates: Add Ubuntu 19.04 'Disco Dingo'
* travis: Disable CI on debian:stretch and ubuntu:bionic
* Switch to python3-distutils-extra from python2 one
* Drop unnecessary python3-distutils build-depend workaround
* debian/rules: Build with pybuild
* travis: Test on disco
[ Jeremy Bicha ]
* data/templates/Debian.info.in: Add Buster and Bullseye
(Closes: #919613, #919615)
-- Julian Andres Klode <jak@debian.org> Fri, 18 Jan 2019 13:41:16 +0100
python-apt (1.7.0) unstable; urgency=medium
* Fix escaping in regular expressions and ignore some pep8 warnings
* as usual; updated mirror lists
-- Julian Andres Klode <jak@debian.org> Wed, 10 Oct 2018 17:39:25 +0200
python-apt (1.7.0~rc1) unstable; urgency=medium
* Release to unstable
-- Julian Andres Klode <jak@debian.org> Thu, 20 Sep 2018 21:15:13 +0200
python-apt (1.7.0~alpha3) experimental; urgency=medium
* Fix __iter__ yielding different Packages than __getitem__
* apt.Cache: Reinstate locks in a finally / run dpkg inside try
* travis: Run tests on ubuntu:cosmic too
* Revert "debian/control: Drop obsolete Python-Versions fields"
* Accept Version objects in apt_pkg.Policy.get_priority(), deprecate Package
* Return correct pin in apt.package.Version.policy_priority
* typehinting: apt_pkg.PackageFile is not an iterable
* Introduce frontend locking
* Convert apt.Cache.commit and apt_pkg.DepCache.commit to FE lock
-- Julian Andres Klode <jak@debian.org> Wed, 29 Aug 2018 10:30:22 +0200
python-apt (1.7.0~alpha2) experimental; urgency=medium
* gitlab-ci: Set DEBIAN_FRONTEND=noninteractive
* Add more extensive test cases for cache remapping
* Do not override __hash__ in apt.package.Package (LP: #1780099)
* debian/python-apt.docs: README is README.md since some time
* apt.Cache: Avoid unnecessary double weakref checks for __getitem__
* apt.Cache: Use weakref.setdefault to find existing Package objects
* debian/control: Point to salsa instead of anonscm
* debian/control: Drop obsolete Python-Versions fields
* Switch to python3-sphinx
-- Julian Andres Klode <jak@debian.org> Mon, 09 Jul 2018 15:02:41 +0200
python-apt (1.7.0~alpha1) experimental; urgency=medium
[ Julian Andres Klode ]
* data/templates/Ubuntu.info.in: Add cosmic cuttlefish template
* apt.Cache: Fix error in apt.Package caching
* apt: Correctly annotate Optional types
* apt: Fix typing error related to apt_pkg
* tests/test_pep484.py: Check everything
* Correctly handle missing candidate in Package.get_changelog
* types: Don't make apt_pkg.Cache a dict, and fix apt.Cache.__contains__
* apt.package.Dependency: Fix __init__ type annotation
* Add all possible annotations that were FIXME
* Various type fixes
* Fix some more type annotations for apt_pkg, complete apt.utils typing
* apt.Cache: Remap objects when reopening cache
(LP: #1773316)
* apt_pkg.DepCache: Raise CacheMismatchError if argument belongs to diff.
cache
* apt.Cache: Complete types
* Completely type apt.progress
* typehinting: Add missing type hints for unattended-upgrades
* Complete typing for apt.auth
* apt.debfile: Avoid exception in replaces_real_pkg for no-candidate packages
* apt.debfile.DebPackage: Handle no-candidate package in
_maybe_append_multiarch_suffix
* Completely type apt.debfile
* utils/get_debian_mirrors.py: Get data from salsa
* apt.package: Add almost complete typing
* tests/test_pep484.py: Pass --strict --implicit-optional to mypy
* apt.Cache: Introduce fix_broken() binding
* Add support for custom fields to apt_pkg.PackageRecords
* Introduce gitlab ci
* Document whatsnew in 1.6 and 1.7
* apt.Cache: Keep / Re-establish the system lock in commit()
* apt.Cache: Keep archive locked during commit()/ in fetch_archives()
[ Evgeni Golov ]
* fix SourceRecordsFile class reference
-- Julian Andres Klode <jak@debian.org> Mon, 25 Jun 2018 11:29:01 +0200
python-apt (1.6.0) unstable; urgency=medium
* Final release, no further changes.
-- Julian Andres Klode <jak@debian.org> Wed, 18 Apr 2018 15:54:47 +0200
python-apt (1.6.0~rc3) unstable; urgency=medium
* Revert change to make apt.Cache subclass of dict
* Fix get_changelog() to correctly decode non-unicode changelogs
* Try to work around memory corruption in PackageRecords.*_hash
* apt/auth.py: Protect against race with gpg when removing tmpdir
(Closes: #871585)
* Document Architecture: all handling in Package.{fullname,architecture()}
(Closes: #863193)
* python/tag.cc: Fix invalid read in TagFileNext
* Raise ValueError if objects passed to DepCache are from different cache
(LP: #1737441)
* DepCache: Check that candidate we are setting belongs to package
* debian/gbp.conf: Default branch is master now
-- Julian Andres Klode <jak@debian.org> Fri, 13 Apr 2018 13:06:37 +0200
python-apt (1.6.0~rc2) unstable; urgency=medium
* Add some weird python3-distutils build-depends (Closes: #893837)
* Document apt_pkg.SourceRecordsFile
-- Julian Andres Klode <jak@debian.org> Fri, 23 Mar 2018 09:27:27 +0100
python-apt (1.6.0~rc1) unstable; urgency=medium
[ Michael Vogt ]
* add info how to run the tests
* Fix the remaining pep8 erorrs
* README: add intro how to use python-apt with mypy
* tests/old: update to py3
* apt: make Version.fetch_binary() less noisy
* README: make markdown and add info about building/testing
* apt: add support for pep484 (type hints)
* fix tests
* python: add pkgsrcrecord.Files.{hashes,size,path,type} getters
* python: stop using deprecated hash access (and drive by indent fixes)
[ Julian Andres Klode ]
* pkgsrcrecords: Fix off-by-one error in OR group handling
* data/templates/Ubuntu.info.in: Add bionic template
* apt/cache.py: Fix pep8
* Switch travis to use Docker based tests
* tests: Make test_sourcerecords.py more reliable
-- Julian Andres Klode <jak@debian.org> Fri, 23 Mar 2018 00:41:08 +0100
python-apt (1.4.0~beta3) unstable; urgency=medium
* apt.auth: Fix check of fingerprint length
* data/templates/Ubuntu.info.in: Add artful template
* Debian template: Adopt MatchUri to match base, switch BaseUri to CDN
(Closes: #859672)
* Update translation template
-- Julian Andres Klode <jak@debian.org> Sun, 23 Apr 2017 21:02:14 +0200
python-apt (1.4.0~beta2) unstable; urgency=medium
[ Julian Andres Klode ]
* templates: Debian: Add stretch
* Skip os-release test for now (Closes: #851039)
[ Martin Pitt ]
* data/templates/Ubuntu.info.in: Add zesty template
-- Julian Andres Klode <jak@debian.org> Sun, 22 Jan 2017 15:00:44 +0100
python-apt (1.4.0~beta1) unstable; urgency=medium
[ Harald Sitter ]
* add fancy os-release support to pick up its ID_LIKE feature
[ Julian Andres Klode ]
* Add optional 'architecture' argument to parse_src_depends()
* Allow keyword arguments for parse_depends() and parse_src_depends()
* Migrate python-apt priority from standard to optional
* Bump version number, we require APT 1.4 series for the architecture
thing above.
-- Julian Andres Klode <jak@debian.org> Thu, 05 Jan 2017 20:56:51 +0100
python-apt (1.1.0~beta5) unstable; urgency=medium
* apt.auth: Set APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE
NOTE: apt.auth is about to be deprecated, do not use it. It will
be removed in a later version.
* Fix gpg breakage (Closes: #835465)
- Use --fixed-list-mode for apt-key gpg invocations.
Thanks to Daniel Kahn Gillmor for the initial patch
- test_auth: Normalize public key blocks before comparing
- Adjust dependencies for apt.auth on gnupg and dirmngr
- Work around broken debfile multiarch test cases
-- Julian Andres Klode <jak@debian.org> Thu, 01 Sep 2016 16:34:43 +0200
python-apt (1.1.0~beta4) unstable; urgency=medium
* Fix test failures causing FTBFS (Closes: #830995)
- tests/test_lp659438.py: Set allow-insecure
- tests: Completely reset config environment in setUp
-- Julian Andres Klode <jak@debian.org> Sat, 16 Jul 2016 02:05:35 +0200
python-apt (1.1.0~beta3) unstable; urgency=medium
[ Adam Conrad ]
* data/templates/Ubuntu.info.in: Add Yakkety Yak (16.10) template
[ Julian Andres Klode ]
* Set allow-unauthenticated for our local sources
* Update Vcs-Git and Vcs-Browser fields to https
* copyright: Update to copyright-format 1.0
* Drop the XS-Testsuite control field, not needed anymore
* copyright: Remove nonexisting files
* Bump Standards-Version to 3.9.8
* Build with full hardening enabled
* Fix typo classes reported by lintian
* rules: Do not use pie
-- Julian Andres Klode <jak@debian.org> Fri, 08 Jul 2016 10:52:21 +0200
python-apt (1.1.0~beta2) unstable; urgency=medium
[ Julian Andres Klode ]
* tests/test_all.py: Only use test files starting with test_
* tests: Rename test_pep8 to testmanual_pep8
* pre-build.sh: Run PEP8 check
* apt/README.apt: Drop it, we cannot pretend unstable API anymore
* depcache: Call SetLog() and GetLock on Acquire instead of Setup
* Fix regression from previous commit WRT Py_None reference count
* pkgsrcrecords: Use Files2 instead of Files, part1: Size
* Introduce apt_pkg.HashStringList()
* pkgrecords: Use hashes instead of deprecated MD5Hash and friends
* whatsnew: 1.1: Document HashStringList and PackageRecords changes
* hashstring: Constify where possible
* Drop deprecated uses of Hashes, add hashes attribute
* HashStringList: Check for negative index, fix signed vs unsigned
* acquire: Call SetLog() instead of Setup()
* apt_pkg: Deprecate rewrite_section
* arfile, tarfile: Decode member names using filesystem encoding
(Closes: #806596)
* CppPyString: Use an const std::string reference instead of value
* Make Safe_FromString an overloaded version of CppPyString
* Use CppPyString instead of PyString_FromString everywhere
* Drop compat macros for python2 (< 2.6)
* Drop deprecation-ignore macros, use APT ones instead
* Use CppPyPath for returning (hopefully) all paths
* apt_inst: Do not mention deprecated functions, except for porting
(Closes: #807103)
* control: Suggest apt, so reportbug reports apt version
* Drop binding for SmartTargetPkg() (Closes: #791345)
* debfile: Mention dpkg --add-architecture when arch is wrong
(Closes: #725720)
* Introduce apt_pkg.Error class replacing SystemError
* CppPyObject_NEW: Make template variadic
* Revert "CppPyObject_NEW: Make template variadic"
* Add apt_pkg.Tag and subclasses (one per kind of tag)
* TagSection: Check for NUL bytes in the tag section input
* python-apt-common: Drop python | python3 depends (Closes: #812099)
* apt.Cache: Provide get()
[ Felix Dietrich ]
* doc: Fix typo (Closes: #807105)
* Use print function from __future__ in examples (Closes: #807104)
[ Brian Murray ]
* Fix typo regarding upgradeable packages.
-- Julian Andres Klode <jak@debian.org> Sun, 13 Mar 2016 15:48:44 +0100
python-apt (1.1.0~beta1) unstable; urgency=medium
* Upload to unstable
[ Michael Vogt ]
* Do not show pulse progress when the output is not a tty
* Fix build-dependencies parsing from debian/control
* Print the failed function name in PyPkgManager::res()
[ Julian Andres Klode ]
* test_paths.py: Catch the IndexRecords warning
* Release 1.0.1
* changelog: Fix up the uploader name and close Barry's bug
* doc: tutorials: contribution: Rewrite for git and other changes
(Closes: #802084)
* Build with cleaner headers
* Use pkgCache::Version::No instead of pkgCache::Version::None
* apt.utils: Support parsing InRelease files (LP: #1503979)
Thanks to Brian Murray <brian@ubuntu.com> for the initial patch.
* apt.utils: Open the release files using a 'with' statement
[ Jakub Wilk ]
* apt/debfile.py: Fix typo
* apt/debfile.py: Fix typo
[ Martin Pitt ]
* ./data/templates/Ubuntu.info.in: Add Xenial template.
* doc/source/examples/apt-cdrom.py: Fix PEP-8 errors.
-- Julian Andres Klode <jak@debian.org> Thu, 26 Nov 2015 17:32:28 +0100
python-apt (1.1.0~alpha3) experimental; urgency=medium
[ Michael Schaller ]
* apt.Cache: Add Cache._rawpkg_to_pkg method to consolidate duplicated code
* apt.Version: Compare against package name and version (if available)
* apt/package.py: Add target_versions method to [Base]Dependency
* Add helpers/filters for installed packages/versions
[ Julian Andres Klode ]
* Document the new additions in 1.0
* doc/source/conf.py: Do not set html_style, broken with recent sphinx
* Merge 1.0.0
* Keep apt_pkg.IndexRecords dropped
-- Julian Andres Klode <jak@debian.org> Sat, 12 Sep 2015 15:13:08 +0200
python-apt (1.1.0~alpha2) experimental; urgency=medium
* Fix a typo in a member access.
-- Julian Andres Klode <jak@debian.org> Tue, 18 Aug 2015 15:25:13 +0200
python-apt (1.1.0~alpha1) experimental; urgency=medium
[ Michael Vogt ]
* apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a
.dsc file
[ Julian Andres Klode ]
* Drop apt_pkg.IndexRecords, it has been dropped in experimental
* Support APT_PKG_MAJOR >= 5
* test_paths: Drop the indexrecord test
* Fix pep8 1.6.2 issues
* setup.py: Pass -std=c++11 and -Wno-write-strings to the compiler
* Convert from SPtr and SPtrArray to unique_ptr and array
* Replace pkgDistUpgrade and friend with APT::Upgrade::Upgrade
* AcquireItem: Deprecate mode and introduce active_subprocess
[ John R. Lenton ]
* Discard stderr when calling system-image-cli (LP: #267935)
-- Julian Andres Klode <jak@debian.org> Tue, 18 Aug 2015 14:44:51 +0200
python-apt (1.0.1) unstable; urgency=medium
[ Michael Vogt ]
* Do not show pulse progress when the output is not a tty
* Fix build-dependencies parsing from debian/control
[ Julian Andres Klode ]
* test_paths.py: Catch the IndexRecords warning (Closes: #800624)
-- Julian Andres Klode <jak@debian.org> Thu, 01 Oct 2015 22:10:22 +0200
python-apt (1.0.0) unstable; urgency=medium
[ Julian Andres Klode ]
* Fix pep8 1.6.2 issues
* setup.py: Pass -std=c++11 and -Wno-write-strings to the compiler
* Convert from SPtr and SPtrArray to unique_ptr and array
* Replace pkgDistUpgrade and friend with APT::Upgrade::Upgrade
* AcquireItem: Deprecate mode and introduce active_subprocess
* APT 1.1: Fix a typo in a member access.
* Deprecate IndexRecords
* Document the new additions in 1.0
* doc/source/conf.py: Do not set html_style, broken with recent sphinx
* Revert the temporary build-deps on APT 1.0.10 and the new gcc,
as they are not needed anymore.
[ John R. Lenton ]
* Discard stderr when calling system-image-cli (LP: #267935)
[ Michael Schaller ]
* apt.Cache: Add Cache._rawpkg_to_pkg method to consolidate duplicated code
* apt.Version: Compare against package name and version (if available)
* apt/package.py: Add target_versions method to [Base]Dependency
* Add helpers/filters for installed packages/versions
-- Julian Andres Klode <jak@debian.org> Sat, 12 Sep 2015 14:35:27 +0200
python-apt (1.0.0~beta3.1) unstable; urgency=medium
[ Michael Vogt ]
* fix py3 issue with auto .gz decompression and add test
* updated for the gcc5 transition
[ Julian Andres Klode ]
* doc/source/conf.py: Reproducibility: Set html_last_updated_fmt = None
[ Michael Schaller ]
* BaseDependency.__repr__: Replace pre_depend with rawtype
* apt/package.py: Add rawtype property to Dependency class
* Add dependency comparison (aka. relation) type in Debian notation
* apt/package.py: Add missing __str__ and __repr__ methods
* doc/source/library/apt_pkg.rst: Remove trailing whitespace
* apt_pkg.Dependency.all_targets: Fix the documentation
[ Barry Warsaw ]
* python-apt: Python 3.5 and PEP 479 support (Closes: #792606)
-- Michael Vogt <mvo@debian.org> Fri, 24 Jul 2015 17:51:25 +0200
python-apt (1.0.0~beta3) unstable; urgency=medium
* tests/test_paths.py: Catch and assert the DeprecationWarning
* setup.py: If no version is in the environment, return None
* doc/source/library/apt_pkg.rst: Fix an example from old API to new API
* apt.cache.FilteredCache: Fix multi-arch package lookups
* apt.Cache: Introduce a connect2() callback connector
* Break the FilteredCache <-> Cache reference cycle
* apt.Cache: Issue a RuntimeWarning in connect()
* doc: whatsnew: Document what's new in beta3
-- Julian Andres Klode <jak@debian.org> Wed, 17 Jun 2015 18:28:44 +0200
python-apt (1.0.0~beta2) unstable; urgency=low
* debian/control: Build-Depend on apt (>= 1.0.9.4) for Files2()
* Handle the symlink to directory transition correctly (Closes: #788571)
-- Julian Andres Klode <jak@debian.org> Sat, 13 Jun 2015 00:41:30 +0200
python-apt (1.0.0~beta1) unstable; urgency=low
[ Julian Andres Klode ]
* tests/test_tagfile.py: Close files we opened to prevent leakage
(Closes: #785337)
* doc/source/c++/api.rst: Upgrade syntax to use the new domain stuff
* doc/source/library/apt_pkg.rst: Fix indentation (Closes: #736119)
* sphinx docs: Fix remaining instances of old C syntax to use domains
* python/cache.cc: Handle deprecation of pkgCache::PkgIterator::Section()
* doc: Prepare for 1.0 release
* TagFile: Provide close() and context manager (Closes: #748922)
* doc: Document apt_pkg.TagFile additions
* doc: templates: layout: Remove invalid icon links
* debian/control: Build-Depend on dh-python
* Do not link documentation from Architecture: all to Architecture: any
* Use ${python:Depends} and friends for the debug packages
* apt.debfile: Fix splitting of multi-lines Binary fields in dsc files
(Closes: #751770)
* Remove apt.progress.gtk2
* apt_pkg.Package: Drop the unset 'auto' attribute (Closes: #565364)
* Update POTFILES.in and the pot
* apt/cache.py: Work around a cyclic reference from Cache to its methods
(Closes: #745487)
* apt/debfile.py: Arch-qualify in compare_to_version_in_cache()
(Closes: #750189)
* apt.package: Only reference Launchpad for missing changelogs on Ubuntu
(Closes: #781270)
* apt/cache.py: Support :all and other special architecture specifies
* apt/debfile: Stop special-casing all when looking for a package in the cache
* apt/debfile.py: Allow downgrading packages in check() with a parameter
(Closes: #613974)
* Acquire: Document that items may have transient errors on run() success
(Closes: #680997)
* Large file support (Closes: #742885)
- python/arfile.cc: Do not allow files larger than SIZE_MAX to be mapped
- python/arfile.cc: LFS: Use long long instead of long for file sizes
- python/tarfile.cc: LFS: Handle too large file
* setup.py: Translate version number from Debian to PEP0440 (LP: #1445949)
[ Michael Vogt ]
* apt_pkg.rst: improve documentation for AcquireFile() hash and add
sha512 to the documentation
* rename "md5" keyword argument in AcquireFile() to "hash" and add
backward compatiblity
* Fix apt.Package.installed_files for multi-arch packages (LP: #1313699)
[ von ]
* Remove the "-Wstrict-prototypes" compiler option (Closes: #785261)
* Set Standards-Version to 3.9.6 (Closes: #785431)
* Fix indentation and docstring problems (Closes: #784910)
[ Michael Schaller ]
* Fixed docstring of BaseDependency.version property.
* Improved docstring of the Version.get_dependencies method.
-- Julian Andres Klode <jak@debian.org> Thu, 11 Jun 2015 22:38:31 +0200
python-apt (0.9.4) unstable; urgency=medium
[ Michael Vogt ]
* add apt_pkg.sha512sum()
* Add binding for apt_pkg.maybe_open_clear_signed_file()
* apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a
.dsc file
* Update doc/example/action.py for py3 and latest API (closes: #782335)
* Add MULTI_ARCH_NO constant and deprecate MULTI_ARCH_NONE (closes: #782802)
* Fix dead links in python-apt documentation (Closes: #779426)
[ Martin Pitt ]
* ./data/templates/Ubuntu.info.in: Add Wily template. Don't copy extras.u.c.
stanza as that's gone since 15.04.
[ von ]
* Update the print_uris.py example to use the new API (Closes: #779217)
-- Michael Vogt <mvo@debian.org> Thu, 07 May 2015 18:18:29 +0200
python-apt (0.9.3.11) unstable; urgency=low
[ Colin Watson ]
* Add template for the "Ubuntu-RTM" derived distribution.
* Detect whether a system is running Ubuntu-RTM by way of
"system-image-cli -i". Not perfect but close enough.
[ Julian Andres Klode ]
* Embed changelog entry date and time instead of build date and time
(Closes: #762674)
[ Michael Vogt ]
* python/tarfile.cc: use long long in Process() for APT >= 4.14
* Merged UbuntuRTMDistribution detection from ubuntu
* Add Ubuntu 15.04 (Vivid Vervet) to the template
-- Michael Vogt <mvo@debian.org> Fri, 24 Oct 2014 10:16:01 -0400
python-apt (0.9.3.10) unstable; urgency=medium
* python/tag.cc: ensure that the final \n is there when
duplicating section data
* apt/debfile.py:
- Stop reading after the "Format" stanza in a .dsc file
- Add support for apt.debfile.DscSrcPackage.filelist
- Read all tags from a dsc file and improve tests
* fix tests when gnupg is < 1.4.18
* update python-apt.pot
-- Michael Vogt <mvo@debian.org> Thu, 04 Sep 2014 18:07:41 +0200
python-apt (0.9.3.9) unstable; urgency=medium
[ Michael Vogt ]
* fix another pep8 failure
[ Julian Andres Klode ]
* doc/source/tutorials/apt-get.rst: Remove -s from --print-uris invocation
(LP: #1308670)
[ Mauricio Faria de Oliveira ]
* tests/test_pep8.py: --ignore E129 too (fix FTBFS with pep8 >= 1.5)
* tests/test_auth.py: update for gnupg 1.4.18 (Closes: #755342)
-- Michael Vogt <mvo@debian.org> Thu, 28 Aug 2014 14:46:57 -0700
python-apt (0.9.3.8) unstable; urgency=medium
* pep8 fixes to fix autopkgtest failure with the most recent
pep8 package
-- Michael Vogt <mvo@debian.org> Mon, 30 Jun 2014 13:31:29 +0200
python-apt (0.9.3.7) unstable; urgency=medium
* Include "Blankon" template (Closes: #747498)
* Add apt_pkg.SourceRecords.step() to step through all SrcRecords
* debian/control:
- update build-dependency for libapt-pkg-dev to 1.0.4 for
pkgSourceRecords::Step()
-- Michael Vogt <mvo@debian.org> Tue, 10 Jun 2014 18:23:33 +0200
python-apt (0.9.3.6) unstable; urgency=medium
[ Johannes Schauer ]
* Add support for build profiles (Closes: 744243)
[ Michael Vogt ]
* debian/control:
- update build-depends on libapt-pkg-dev for build-profile support
* data/templates/Ubuntu.info.in:
- add ubuntu utopic
-- Michael Vogt <mvo@debian.org> Fri, 25 Apr 2014 13:00:08 +0200
python-apt (0.9.3.5) unstable; urgency=medium
* utils/get_ubuntu_mirrors.py: Drop, its unused and broken
* doc/source/conf.py: Do not use 'u' and 'r' prefixes together
* tests: Drop some more Python 2.6 cruft
* debian/control: Drop X{B,S}-Python-Version and use X-Python-Version
* debian/pycompat: Drop, it's not used anymore
* python/tag.cc: Ignore missing 'encoding' attribute in file objects
* apt/package.py: Do not shadow _
-- Julian Andres Klode <jak@debian.org> Wed, 02 Apr 2014 00:37:27 +0200
python-apt (0.9.3.4) unstable; urgency=medium
* python/progress.cc: Fix InstallProgress to set child_pid (LP: #1177720)
* python/progress.cc: Remove invalid checks for mixedCase methods
* utils/get_*_mirrors*.py: Ensure failure if no mirrors were read
* utils/get_*_mirrors*.py: Use sys.stderr.write instead of print
* Support all compressors for data.tar/control.tar (Closes: #718330)
* Revert "aptsources/sourceslist.py: ensure that our sources are opened with
UTF-8" (Closes: #742118)
-- Julian Andres Klode <jak@debian.org> Thu, 20 Mar 2014 16:48:12 +0100
python-apt (0.9.3.3) unstable; urgency=medium
[ Steve Langasek ]
* aptsources/sourceslist.py: ensure that our sources are opened with UTF-8
encoding, regardless of the current locale, and handle the sources lines
as Unicode internally for consistency between python2 and python3.
LP: #1069019.
[ Brian Murray ]
* Fix pep8 error.
-- Julian Andres Klode <jak@debian.org> Sat, 15 Mar 2014 18:53:58 +0100
python-apt (0.9.3.2) unstable; urgency=high
* Revert "* apt/cache.py:" (rootdir change) (Closes: #741251) (LP: #1288171)
We cannot reset the configuration when rootdir is specified in
apt.Cache(). This reopens: #728274.
-- Julian Andres Klode <jak@debian.org> Mon, 10 Mar 2014 14:32:53 +0100
python-apt (0.9.3.1) unstable; urgency=medium
* debian/rules: Do not run dh_sphinxdoc -a
-- Julian Andres Klode <jak@debian.org> Sat, 22 Feb 2014 20:33:06 +0100
python-apt (0.9.3) unstable; urgency=medium
* doc/source/conf.py: Python 3 support
* debian/rules: Use dh_sphinxdoc integration
* utils/doclint.py: Drop, not working anymore.
* python/generic.h: Fix MkPyNumber to work if char is unsigned.
* data: Add Tanglu distribution information
* debian/python3-apt-dbg.files: Fix pattern for kFreeBSD
* tests/test_policy.py: Disable, uses system state (FTBFS on ppc64)
* tests/data/aptsources/sources.list.testDistribution: Add tanglu
* tests/test_policy.py: Fix comment to conform to PEP8
-- Julian Andres Klode <jak@debian.org> Sat, 22 Feb 2014 19:05:48 +0100
python-apt (0.9.2) unstable; urgency=medium
[ Michael Vogt ]
* apt/cache.py:
- when using apt.Cache(rootdir=/some/dir) only read the APT
configuration from this rootdir instead of /etc (closes: #728274)
* make pep8 test part of the unittests
* add pyflakes test
* add .travis.yml & update python3 dependency to 3.3
[ Barry Warsaw ]
* debian/tests/control: Add python-all and python3-all as Depends for the
autopkgtests so all the supported Python versions are pulled in.
(closes: #734500)
[ Michael Schaller]
* apt/cache.py:
- Fixed PEP8 issues
- Fixed pyflakes issue: Removed unused local variable 'transient'
* apt/package.py:
- Fixed PEP8 issues
- Fixed pyflakes issue: Removed unused import 'warnings'
- Improved readability and documentation of BaseDependency.__dstr().
[ Julian Andres Klode ]
* apt/cache.py: Call os.path.abspath() on a supplied rootdir (LP: #792295)
* apt/package.py: Fix BaseDependency.__dstr.__ne__()
* apt/package.py: Pass an apt_pkg.Dependency to BaseDependency
* tests: Add back test_hashsums from old and update
* Style fixes:
- Style fix: Do not use "is True" / "is False"
- debian/control: Replace a tab with spaces
- tests/test_deps.py: Remove an invalid blank line
* Use a single code base for Python 2 and 3
- Use print_function everywhere
- Drop support for Python 2.6
- tests: Remove checks for Python older than 2.7
* Documentation fixes:
- apt, doc: Fix the list of comp_type values
- Unify list of comparison type values everywhere
* Static analysis fixes:
- (cppcheck) python/pkgmanager.cc: Do not create temporary CppPyRef
* Packaging changes:
- debian/README.source: Drop it, it's useless bzr
- debian/gbp.conf: Set sign-tags = True
- debian/control: Set Standards-Version to 3.9.5
- debian/control: Drop python-{unittest2,debian} build deps
-- Julian Andres Klode <jak@debian.org> Sat, 25 Jan 2014 18:18:38 +0100
python-apt (0.9.1) unstable; urgency=low
* data/templates/Ubuntu.info.in: It's 'Tahr', not 'Thar'
* data/templates/Debian.info.in: Add jessie
* data/templates/Debian.info.in: Change wheezy version from 7.0 to 7
* python/*.cc: Get rid of the easy-to-replace deprecated APT functions
* python/{depcache.cc,string.cc}: Ignore deprecation warnings for some calls
* python/depcache.cc: Add more error handling to PkgDepCacheCommit
* python/cache.cc: Remove a check for an unsigned long value < 0
* python/arfile.cc: (C++11) Explicitly cast unsigned long to time_t in {}
* python/apt_instmodule.cc: Make RETURN(x) be return on Python 2
* python/policy.cc: (scan-build): Fix a dead assignment
* python/progress.cc: (scan-build): Fix some uninitialized values
* debian: Upgrade to debhelper 9 (and dpkg-buildflags)
* debian/python-apt-doc.links: Replace bundled underscore.js by symlink
* po: Update the template
-- Julian Andres Klode <jak@debian.org> Wed, 23 Oct 2013 20:32:40 +0200
python-apt (0.9.0) unstable; urgency=low
[ Michael Vogt ]
* some fixes from the "coverity" scan
* merge from Ubuntu:
- data/templates/Ubuntu.info.in: add "Saucy Salamander" to
- debian/control: add "Multi-Arch: allowed"
[ Julian Andres Klode ]
* Completely remove all old-API support code
* Accept bytes object for file names (Closes: #680971)
* aptsources/sourceslist.py
- Document correct use of uniq and hide it using __all__ (Closes: #723815)
- Correctly parse multiple options (LP: #1103200)
* python/apt_pkgmodule.cc:
- Fix documentation of version_compare (Closes: #680891)
* python/cache.cc:
- Set NoDelete=true when creating Policy, fixes segfault in destructor
* apt/package.py:
- Add a Package.has_config_files property (Closes: #712749)
* tests:
- Do not set dir::etc::sourceparts to /tmp
* apt, aptsources:
- Only call init_config() if not already initialized (Closes: #686403)
* apt/debfile.py:
- Pass strip_multi_arch=False to parse_depends. Patch by Michael, tests
derived from the ones provided by the reporter.
Closes: #717859. Closes: #717861.
* doc/source/examples/dpkg-info.py:
- Use apt_inst.DebFile (Closes: #671784)
* doc/examples/*.py:
- Update examples to the new API (Closes: #639022)
* tests/old/*.py:
- Update to new API as well
* data/templates/Ubuntu.info.in:
- Add "Trusty Thar"
* debian/control:
- Set Standards-Version to 3.9.4
[ Jeremy Bicha ]
* data/templates/Ubuntu.info.in: add 'devel' series (Closes: #722961)
[ Jakub Wilk ]
* python-apt: formatting error in library/index.rst (Closes: #692484)
[ Daniel Hartwig ]
* apt/package.py:
- mark_upgrade misuses FromUser to set auto-installed (Closes: #686726)
-- Julian Andres Klode <jak@debian.org> Mon, 21 Oct 2013 20:53:17 +0200
python-apt (0.8.9.1) unstable; urgency=low
[ Michael Vogt ]
* debian/control:
- updated Vcs field to point to
http://git.debian.org/git/apt/python-apt.git
* replace .bzr-builddeb/default.conf with debian/gbp.conf
[ Julian Andres Klode ]
* Update the Vcs fields to use Vcs-Git with git protocol, and gitweb
for Vcs-Browser
[ Colin Watson ]
* add support for "key in apt.debfile.DebPackage" (closes: #710541)
-- Michael Vogt <mvo@debian.org> Thu, 06 Jun 2013 18:32:14 +0200
python-apt (0.8.9) unstable; urgency=low
* upload previous experimental upload to sid
-- Michael Vogt <mvo@debian.org> Wed, 08 May 2013 18:23:36 +0200
python-apt (0.8.9~exp2) experimental; urgency=low
* apt/package.py:
- export codename in apt.package.Origin as well
(closes: #703401)
-- Michael Vogt <mvo@debian.org> Tue, 19 Mar 2013 16:57:40 +0100
python-apt (0.8.9~exp1) experimental; urgency=low
[ Michael Vogt ]
* python/tag.cc:
- make TagSecString_FromStringAndSize, TagSecString_FromString
static, thanks to jcristau
* python/cache.cc:
- add "Codename" to PackageFile object
* add dep8 style autopkgtest support
* build fixes for python3.3
* data/templates/Ubuntu.info.in:
- add raring
* tests/test_all.py, aptsources/distro.py:
- python2.6 compat fixes
[ Jason Conti ]
* lp:~jconti/python-apt/closeable-cache:
- add apt.Cache.close() method
[ Martin Pitt ]
* tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that with
an unintelligible crash.
* tests/test_auth.py: In test_add_key_from_server_mitm(), show the exception
if it does not match the expectation, so that this becomes possible to
debug.
* aptsources/distro.py: Replace the deprecated getiterator() ElementTree
method with iter(), to avoid raising a PendingDeprecationWarning.
* tests/test_auth.py: Temporarily disable $http_proxy for the tests, as
gnupg does not get along with proxies (LP #789049)
[ Colin Watson ]
* tests/test_apt_cache.py, tests/test_lp659438.py, tests/test_progress.py:
- Clear out APT::Update::Post-Invoke and
APT::Update::Post-Invoke-Success in tests that call cache.update to
avoid pollution from the host system.
* tests/test_auth.py:
- Discard stderr from gpg.
- Try successive keyserver ports if 19191 is already in use.
* aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py,
tests/test_apt_cache.py, tests/test_debfile_multiarch.py:
- Use logging.warning rather than the deprecated logging.warn.
* tests/test_debfile_multiarch.py:
- Don't log warnings when skipping tests; the resulting stderr output
causes autopkgtest to fail.
* tests/test_all.py:
- Write general test status output to stdout, not stderr.
* tests/test_aptsources.py:
- Clean up file object in test_enable_component.
* tests/test_lp659438.py:
- Add an Architecture: line to the test Packages file so that apt
doesn't get upset with it.
* data/templates/Ubuntu.info.in:
- Fix descriptions of quantal and raring.
-- Michael Vogt <mvo@debian.org> Wed, 13 Mar 2013 18:36:37 +0100
python-apt (0.8.8.2) unstable; urgency=low
[ David Prévot ]
* po/no.po: Remove useless translation (superseded by nb.po)
[ Julian Andres Klode ]
* apt/package.py: Try both filenames for package file lists
(Closes: #700715)
-- Julian Andres Klode <jak@debian.org> Thu, 14 Mar 2013 21:25:25 +0100
python-apt (0.8.8.1) unstable; urgency=low
* python/tag.cc:
- make TagSecString_FromStringAndSize, TagSecString_FromString
static, thanks to jcristau
* tests/test_lp659438.py:
- fix missing architecture to make the tests pass again during
build with the latest apt
-- Michael Vogt <mvo@debian.org> Thu, 15 Nov 2012 09:55:24 +0100
python-apt (0.8.8) unstable; urgency=low
[ Program translation updates ]
* po/pl.po: Polish (Michał Kułach) (closes: #684308)
* po/da.po: Danish (Joe Hansen) (closes: #689827)
[ Michael Vogt ]
* merged lp:~sampo555/python-apt/fix_1042916 reuse existing but
disabled sources.list entries instead of duplicating them.
Thanks to "sampo555", LP: #1042916
* lp:~mvo/python-apt/fix-debfile-crash:
- fix crash on missing candidates in the multiarch check
* lp:~mvo/python-apt/recv-key-lp1016643:
- Only support long (v4) keyids when downloading keys and
check the keys fingerprint before importing. This avoids
man-in-the-middle attacks (LP: #1016643)
* consolidate tests/test_lp1030278.py into the new
tests/test_size_to_str.py
* apt/auth.py:
- support importing long keyids with leading 0x and mixed case
* debian/control:
- build-depend on python-unittest2 to get "with TestCase.assertRaises"
support in python2.6
[ Barry Warsaw ]
* python/string.cc, tests/test_lp1030278.py: Fix StrSizeToStr() so that
1) it first checks for PyLong-ness so that in Python 3 on i386, it
will be able to convert larger numbers (via doubles rather than ints);
2) before doing the conversions through the apt API, check to see if a
Python exception occurred, e.g. OverflowError, and return an error
condition in that case instead of masking it. (LP: #1030278)
[ James Hunt ]
* python/cache.cc: PkgCacheGetIsMultiArch(): Return calculated
value rather than a random one.
* lp:~jamesodhunt/python-apt/test-for-size_to_str:
- add test for size_to_str() to help with finding LP: #1030278
-- Michael Vogt <mvo@debian.org> Fri, 12 Oct 2012 10:47:11 +0200
python-apt (0.8.7) unstable; urgency=low
[ Translation updates ]
* po/es.po: Spanish translation updated by Omar Campagne (closes: #679285)
* po/ja.po: Japanese translation updated by Kenshi Muto (closes: #679652)
[ Jakub Wilk ]
* Fix typos: the the -> the (closes: #679432)
[ Julian Andres Klode ]
* apt/auth.py:
- Do not merge stdout and stderr (Closes: #678706)
- Forward stderr from apt-key to our stderr if non-empty
-- Julian Andres Klode <jak@debian.org> Mon, 30 Jul 2012 13:29:17 +0200
python-apt (0.8.6) unstable; urgency=low
[ Michael Vogt ]
* debian/control:
- add build-dep for apt (>= 0.9.6) to make test_auth.py test
work reliable
[ Julian Andres Klode ]
* apt/auth.py:
- Use tempfile.NamedTemporaryFile to create temporary file
- Use Popen.communicate() instead of stdin, stdout
* tests/fakeroot-apt-key:
- exec apt-key, otherwise we ignore the return value
* debian/control:
- Build-depend on fakeroot, needed for the apt.auth tests
* data/templates/Debian.info.in:
- Add wheezy
- Add wheezy-updates as Recommended Updates
- Order wheezy-proposed-updates after wheezy/updates and wheezy-updates
* po:
- Fixup the translations for wheezy again
-- Michael Vogt <mvo@debian.org> Fri, 29 Jun 2012 15:57:20 +0200
python-apt (0.8.5) unstable; urgency=low
[ Michael Vogt ]
* python/cache.cc:
- ensure that pkgApplyStatus is called when the cache is opened
(thanks to Sebastian Heinlein for finding this bug), LP: #659438
[ Stéphane Graber ]
* data/templates/Ubuntu.info.in:
- add quantal
[ Steve Langasek ]
* utils/get_ubuntu_mirrors_from_lp.py: move this script to python3
* pre-build.sh: call dpkg-checkbuilddeps with the list of our
source-build-dependencies; this may save someone else an hour down the
line scratching their head over gratuitous test-suite failures...
[ Sebastian Heinlein ]
* lp:~glatzor/python-apt/auth:
- this is a port of the software-properties AptAuth module to python-apt
with some cleanups. It provides a wrapper API for the apt-key command
[ David Prévot ]
* po/*.po: update PO files against current POT file
* po/be.po: Belarusian translation by Viktar Siarheichyk (closes: #678286)
* po/de.po: German translation updated by Holger Wansing (closes: #677916)
* po/el.po: Greek translation updated by Thomas Vasileiou (closes: #677331)
* po/en_GB.po: Remove useless file <20120610190618.GA1387@burratino>
* po/eo.po: Esperanto translation by Kristjan Schmidt and Michael Moroni
* po/fi.po: Finnish translation updated by Timo Jyrinki
* po/fr.po: French translation updated (closes: #567765)
* po/hu.po: Hungarian translation updated by Gabor Kelemen
* po/id.po: Indonesian translation by Andika Triwidada (closes: #676960)
* po/nl.po: Dutch translation updated by Jeroen Schot (closes: #652335)
* po/pt_BR.po: Brazilian translation updated by Sérgio Cipolla
* po/ru.po: incomplete Russian translation updated by Andrey
* po/sk.po: Slovak translation updated by Ivan Masár (closes: #676973)
* po/sl.po: Slovenian translation updated by Matej Urbančič
* po/sr.po: incomplete Serbian translation updated by Nikola Nenadic
* po/tl.po: Tagalog translation updated by Ariel S. Betan
* po/am.po po/br.po po/et.po po/eu.po po/fa.po po/fur.po po/hi.po
po/mr.po po/ms.po po/nn.po po/pa.po po/ps.po po/qu.po po/rw.po po/ta.po
po/ur.po po/xh.po: remove useless (empty) translations
[ Julian Andres Klode ]
* Merge patch from Colin Watson to handle non-UTF8 tag files in
Python 3, by using bytes instead of str when requested; and
document this in the RST documentation (Closes: #656288)
* debian/control:
- Drop Recommends on python2.6 (Closes: #645970)
- Replace xz-lzma Recommends by xz-utils (Closes: #677934)
* python/configuration.cc:
- Handle the use of "del" on configuration values. Those are represented
by calling the setter with NULL, which we did not handle before, causing
a segmentation fault (Closes: #661062)
* python/tag.cc:
- Correctly handle file descriptor 0 aka stdin (Closes: #669458)
* python/acquire.cc:
- Use pkgAcquire::Setup() to setup the acquire class and handle errors
from this (Closes: #629624)
* debian/control:
- Set Standards-Version to 3.9.3
* utils/get_ubuntu_mirrors_from_lp.py:
- Revert move to Python 3, python3-feedparser is not in the archive yet
* tests:
- Fix new tests from Sebastian to work with Python 2.6
-- Julian Andres Klode <jak@debian.org> Fri, 22 Jun 2012 10:37:23 +0200
python-apt (0.8.4) unstable; urgency=low
[ Michael Vogt ]
* doc/examples/build-deps.py:
- update the build-deps.py example to use the apt API more
* add support for apt_pkg.Policy.get_priority(PkgFileIterator)
* apt/debfile.py:
- use apt_inst for reading the control_filelist
* debian/control:
- remove no longer needed dependency on python-debian
* tests/test_tagfile.py:
- add test for apt_pkg.TagFile() both for compressed/uncompressed
files
* python/tag.cc, tests/test_tagfile.py:
- add support a filename argument in apt_pkg.TagFile() (in addition
to the file object currently supported)
* apt/package.py:
- if there is no Version.uri return None
* apt/cache.py:
- fix _have_multi_arch flag (thanks to Sebastian Heinlein)
* build against apt 0.9.0
[Julian Andres Klode ]
* python/apt_pkgmodule.cc:
- Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had Suggests value previously
-- Michael Vogt <mvo@debian.org> Mon, 16 Apr 2012 19:06:48 +0200
python-apt (0.8.4~exp1) experimental; urgency=low
* tests/test_apt_cache.py:
- fix tests on kfreebsd/ia64
* apt/debfile.py:
- fix crash in dep multiarch handling
-- Michael Vogt <mvo@debian.org> Tue, 24 Jan 2012 14:02:46 +0100
python-apt (0.8.3ubuntu9) UNRELEASED; urgency=low
[ Steve Langasek ]
* Don't leak file descriptors.
[ Colin Watson ]
* aptsources/*.py, setup.py: Make aptsources modules work directly in
either Python 2 or 3, and exclude the "future" 2to3 fixer so that 2to3
doesn't need to modify them. This makes life a little easier for the
strange tricks update-manager plays with its dist-upgrader tarball.
-- Evan Dandrea <ev@ubuntu.com> Mon, 11 Jun 2012 17:00:37 +0100
python-apt (0.8.3) unstable; urgency=low
[ Alexey Feldgendler ]
* handle architecture-specific conflicts correctly (LP: #829138)
[ Michael Vogt ]
* lp:~mvo/python-apt/debfile-multiarch:
- add multiarch support to the debfile.py code
* tests/test_apt_cache.py:
- add additional check if provides test can actually be run
-- Michael Vogt <mvo@debian.org> Thu, 08 Dec 2011 20:31:52 +0100
python-apt (0.8.2) unstable; urgency=low
[ Michael Vogt ]
* merged from ubuntu:
- use logging instead of print
- update distro template Ubuntu.info.in
- add xz compression support
* po/python-apt.pot:
- refreshed
* po/pt_BR.po:
- updated, thanks to Sergio Cipolla (closes: #628398)
* po/da.po:
- updated, thanks to Joe Dalton (closes: #631309)
* po/sr.po:
- updated, thanks to Nikola Nenadic (closes: #638308)
* python/apt_pkgmodule.cc:
- add apt_pkg.get_architectures() call
* apt/cache.py:
- remove "print" when creating dirs in apt.Cache(rootdir=dir),
thanks to Martin Pitt
- add __lt__ to apt.Package so that sort() sorts by name
on list of package objects
* debian/control:
- add recommends to xz-lzma to ensure we have the unlzma command
* apt/cache.py:
- set Dir::bin::dpkg if a alternate rootdir is given
(LP: #885895)
* build fixes for the apt in experimental
* apt/debfile.py:
- raise error when accessing require_changes and
missing_deps without calling check() before, thanks to
Tshepang Lekhonkhobe (closes: #624379)
* apt/package.py:
- add new "suggests" property, thanks to Christop Groth
- allow Dependency object to be iteratable, this allows to write
code like:
for or_dep_group in pkg.candidate.dependencies:
for dep in or_dep_group:
do_something()
(thanks to Christop Groth)
* apt/progress/base.py:
- write exception text to stderr to avoid hidding exceptions
like "pre-configure failed" from libapt (thanks to Jean-Baptiste
Lallement)
[ Tshepang Lekhonkhobe ]
* rm usage of camelcase in cache.py doc (closes: #626617)
* grammar fix in the cache.py doc (closes: #626610)
[ Nikola Pavlović ]
* fixed a typo, changed "Open Source software" to
"free and open-source software" (LP: #500940)
-- Michael Vogt <mvo@debian.org> Thu, 01 Dec 2011 14:14:42 +0100
python-apt (0.8.1) unstable; urgency=low
[ Julian Andres Klode ]
* Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512)
[ Michael Vogt ]
* python/arfile.cc:
- use APT::Configuration::getCompressionTypes() instead of duplicating
the supported methods here
* tests/test_debfile.py:
- add test for raise on unknown data.tar.xxx
* tests/test_aptsources_ports.py, tests/test_aptsources.py:
- use tmpdir during the tests to fix test failure with apt from
experimental
* tests/test_apt_cache.py:
- fix test by providing proper fixture data
- fix test if sources.list is not readable (as is the case on some
PPA buildds)
* apt/package.py:
- fix py3 compatiblity with print
* tests/test_all.py:
- skip all tests if sources.list is not readable (as is the case on
some builds)
- packages in marked_install state can also be auto-removable
* add concept of "ParentComponent" for e.g. ubuntu/multiverse
that needs universe enabled as well (plus add test)
* apt/progress/gtk2.py:
- update to the latest vte API for child-exited (LP: #865388)
-- Michael Vogt <mvo@debian.org> Wed, 19 Oct 2011 16:39:13 +0200
python-apt (0.8.0) unstable; urgency=low
* Upload to unstable
[ Julian Andres Klode ]
* Increase Breaks for update-notifier to 0.99.3debian9
* utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls
* debian/control: Standards-Version 3.9.2
* Fix Lintian overrides
* Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)
* po/urd.po: Remove, ur.po is the correct file
* debian/source/format: Add, set it to "3.0 (native)"
[ Tshepang Lekhonkhobe ]
* Fix get_changelog in Python 3 (Closes: #626532)
* apt/package.py: fix a few typos [formated->formatted] (Closes: #597054)
* doc/source/tutorials/contributing.rst: minor improvements (Closes: #625225)
- one typo [2to => 2to3], one broken link [pep8.py link]
[ Translation updates ]
* Esperanto (Closes: #626430)
-- Julian Andres Klode <jak@debian.org> Fri, 27 May 2011 16:12:46 +0200
python-apt (0.8.0~exp4) experimental; urgency=low
* apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485)
* apt_pkg: Add subclassing fun to PackageManager, for #623485 as well
* apt.cache: Emit change signals in ProblemResolver
* apt.Cache: Add a _changes_count member for later use
-- Julian Andres Klode <jak@debian.org> Fri, 29 Apr 2011 13:57:30 +0200
python-apt (0.8.0~exp3) experimental; urgency=low
[ Stéphane Graber ]
* Update enable_component to also apply to -src entries (LP: #758732)
[ Julian Andres Klode ]
* apt_pkg: Add apt_pkg.Version.multi_arch and friends
-- Julian Andres Klode <jak@debian.org> Thu, 21 Apr 2011 15:33:38 +0200
python-apt (0.8.0~exp2) experimental; urgency=low
* aptsources: Parse multi-arch sources.list files correctly
* aptsources: Allow insertion of new multi-arch entries
* aptsources: Various cleanup work
* all: Fix all instances of ResourceWarning about unclosed files
* tests/test_apt_cache.py: Use assertTrue() instead of assert_()
* apt_pkg: Raise error when parse_commandline gets empty argv (LP: #707416)
* apt_pkg: Fix time_to_str, time_rfc1123 to accept more correct values
(time_to_str accepts unsigned long, time_rfc1123 long long, y2k31-correct).
* apt.progress: Use long for ETA, natural type for size (LP: #377375)
* aptsources/sourceslist.py: s/aptsource.py/sourceslist.py/ (LP: #309603)
* doc/examples: Add example on how to get architecture names (LP: #194374)
* apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820)
* apt.cache: Document that update() may need an open() (Closes: #622342)
* apt.cache: Add a fetch_archives() method (Closes: #622347)
* doc: Fix a minor formatting error, patch by Jakub Wilk (Closes: #608914)
* apt.package: Add 'tasks' to Version, improve doc (Closes: #619574)
* doc: Fix documentation of BaseDependency.relation (Closes: #607031)
-- Julian Andres Klode <jak@debian.org> Tue, 12 Apr 2011 15:25:38 +0200
python-apt (0.8.0~exp1) experimental; urgency=low
* Disable the old-style API, and break all packages using it
* Add an 'is_multi_arch' attribute to apt_pkg.Cache
* Add apt_pkg.Group class, wrapping pkgCache::GrpIterator
* Change apt_pkg.Cache() so that passing None for 'progress' results in
no progress output
* Support (name, arch) tuples in apt_pkg.Cache mappings, wrapping
FindPkg() with two string parameters.
* Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_count
* Fix debian/rules to work correctly with tilde in version number
-- Julian Andres Klode <jak@debian.org> Tue, 05 Apr 2011 16:21:45 +0200
python-apt (0.7.100.3) unstable; urgency=low
[ Barry Warsaw ]
* PyFetchProgress::Pulse(): When ignoring a false return value from
PyArg_Parse() after running the simple callback pulse(), there can be
an exception on the stack, which must be cleared. (LP: #711225)
[ Michael Vogt ]
* python/arfile.cc, apt/debfile.py:
- add support for .xz archives
* tests/test_debfile.py:
- add test for xz compression
* update priority of python3-apt to match the archive
[ Julian Andres Klode ]
* python/cache.cc:
- Add Package.get_fullname() and Package.architecture
* apt/cache.py, apt/package.py:
- Add architecture property to apt.Package (LP: #703472)
- Change apt.Package.name to use get_fullname(pretty=True) (LP: #740072)
* tests/test_debfile.py:
- Disable multi-arch for the test, it fails when run via test_all.py
- Fix mixed tab/spaces indentation in xz test
* tests/test_apt_cache.py:
- Package records 'Package' field now corresponds to shortname
* debian/python3-apt-dbg.install
- Do not try to install old-style debugging files.
* debian/rules:
- Support the nocheck build option and ignore test failures on hurd
(Closes: #610448)
- Move Python 3 debug files before installing other files (Closes: #619528)
[ Scott Kitterman ]
* Removed ${python:Breaks} - No longer used in dh_python2
-- Julian Andres Klode <jak@debian.org> Mon, 04 Apr 2011 12:52:03 +0200
python-apt (0.7.100.2) unstable; urgency=low
* apt/progress/text.py:
- only run ioctl for termios.TIOCGWINSZ if the fd is a tty
* apt/debfile.py, tests/test_debfile.py:
- strip "./" from _get_content and add tests, this fixes a control
file extraction bug in gdebi
* python/depcache.cc:
- when using the actiongroup as a contextmanager incref/decref
on enter and leave. this should fix the instablity issues
that aptdaemon runs into (LP: #691134)
* debian/python3-apt.install:
- fix py3 extension module install location (thanks to
Barry)
* python/depcache.cc:
- provide bindings for new libapt SetCandidateRelease()
* debian/control:
- require new libapt-pkg-dev SetCandidateRelease()
* py3 compatible exception handline
* debian/control:
- bump minimal python version to >= 2.6
* python/apt_pkgmodule.cc:
- strip multiarch by default in RealParseDepends
- add optional parameter to allow parse_depends() to keep the
multiarch parameter
* tests/test_deps.py:
- add test forapt_pkg.parse_depends(strip_multiarch=True)
-- Michael Vogt <mvo@debian.org> Mon, 21 Mar 2011 14:56:01 +0100
python-apt (0.7.100.1) unstable; urgency=low
[ Julian Andres Klode ]
* python/generic.h: Fix a memory leak (leaking on every unicode string).
* debian/control: add Replaces to python-apt-common, python3-apt; to
avoid file conflicts with files previously in python-apt (Closes: #605136).
[ Michael Vogt ]
* python/generic.h:
- set Object to NULL in CppDeallocPtr
* python/depcache.cc:
- don't run "actiongroup.release()" if the object was already
deallocated
* tests/test_apt_cache.py:
- fix tests to work if apt compressed indexes are enabled
-- Julian Andres Klode <jak@debian.org> Sun, 12 Dec 2010 14:30:33 +0100
python-apt (0.7.100) unstable; urgency=low
* Final 0.7.100 release; targeted at Squeeze.
* apt/debfile.py:
- Replace (undocumented) use of python-debian debfile.DebFile API with
the equivalent apt_inst.DebFile API (Closes: #603043)
* apt/package.py:
- Fix docstring of Package.mark_delete() (Closes: #599042)
* doc:
- Various documentation updates.
- The C++ API/ABI is stable now.
* po
- Update sl.po (Closes: #603359)
-- Julian Andres Klode <jak@debian.org> Wed, 17 Nov 2010 16:53:55 +0100
python-apt (0.7.98.1) unstable; urgency=low
[ Piotr Ozarowski ]
* Use dh_python3 to handle Python 3 files
- bump minimum required versions of python-central and python3-all-dev
- add new python3-apt, python3-apt-bdg and python-common binary packages
* Replace python-central with dh_python2
-- Michael Vogt <mvo@debian.org> Wed, 29 Sep 2010 20:38:25 +0200
python-apt (0.7.98) unstable; urgency=low
[ Michael Vogt ]
* python/acquire.cc:
- return long long when calling TotalNeeded(), FetchNeeded() and
PartialPresent() from pkgAcquire(). This follows the change
in libapt.
* apt/debfile.py:
- add missing init for _installed_conflicts (LP: #618597)
* add "provides" property to the apt.Version objects
* apt/debfile.py:
- fix error when reading binary content and add regresion test
* merged patch from Samuel Lidén Borell to fix crash if there utf8
in the control file (LP: #624290) and add test
* apt/cache.py:
- add "sources_list" parameter to cache.update() to force updating
a single sources.list entry only
* debian/control:
- add missing build-depends on python-debian (needed to run the
tests for apt.debfile.DebPackage()
* data/templates/Ubuntu.info.in:
- add extras.ubuntu.com and archvie.canonical.com to the
templates
* aptsources/distinfo.py, aptsources/distro.py:
- support non-official templates (like extras.ubuntu.com)
* fix return type of DebSize() and UsrSize(), thanks to
Sebastian Heinlein, LP: #642936
* merge fix from Steven Chamberlain <steven@pyro.eu.org> for
crash in unattended-upgrades, many many thanks (closes: #596408)
* python/acquire-item.cc:
- fix two more int -> long long change to follow the changes
from libapt
- do use PyString_FromFormat(), in python versions below 2.7 it
does not support long long (%llu), use strprintf() from libapt
instead
[ Kiwinote ]
* apt/debfile:
- don't fail if we conflict with the pkgs we are reinstalling
-- Michael Vogt <mvo@debian.org> Tue, 28 Sep 2010 15:47:51 +0200
python-apt (0.7.97.1) unstable; urgency=low
* tests/test_apt_cache.py:
- Do not insert ".." into sys.path, fixes FTBFS
-- Julian Andres Klode <jak@debian.org> Thu, 26 Aug 2010 14:08:01 +0200
python-apt (0.7.97) unstable; urgency=low
[ Julian Andres Klode ]
* python/tag.cc:
- Support gzip compression for control files (Closes: #383617),
requires APT (>> 0.7.26~exp10) to work.
* doc/conf.py:
- Correctly handle non-digit characters in version (ignore everything
after them).
* python/apt_pkgmodule.cc:
- Bind pkgAcquire::Item::StatTransientNetworkError (Closes: #589010)
* doc/library/apt_pkg.rst:
- Document Configuration.dump().
* debian/control:
- Adapt to new Python 3 handling (Closes: #593042)
- Build-depend on APT >= 0.8 to get gzip compression enabled (optional,
can be reverted for backports)
- Set Standards-Version to 3.9.1
[ Michael Vogt ]
* python/configuration.cc:
- add binding for the "dump()" method to configruation objects
* apt/debfile.py:
- fix crash in DscFile handling and add regression test
* po/pt_BR.po:
- updated, thanks to Sergio Cipolla (Closes: #593754)
-- Julian Andres Klode <jak@debian.org> Thu, 26 Aug 2010 12:32:54 +0200
python-apt (0.7.96.1) unstable; urgency=low
* tests/test_debfile.py:
- properly setup fixture data to make debfile test pass
(closes: #588796)
-- Michael Vogt <mvo@debian.org> Mon, 12 Jul 2010 14:14:51 +0200
python-apt (0.7.96) unstable; urgency=low
[ Michael Vogt ]
* data/templates/gNewSense.info.in,
data/templates/gNewSense.mirrors:
- add gNewSense template and mirrors, thanks to Karl Goetz
* data/templates/Ubuntu.info.in,
data/templates/Ubuntu.mirrors:
- updated for Ubuntu maverick
* doc/source/conf.py:
- do not fail on non-digits in the version number
* utils/get_debian_mirrors.py:
- ignore mirrors without a county
* apt/cache.py:
- add new "dpkg_journal_dirty" property that can be used to
detect a interrupted dpkg (the famous
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a'")
* merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port the
DebPackage class fixes from gdebi into python-apt so that gdebi can
use the class from python-apt directly
* apt/debfile.py:
- check if the debfiles provides are in conflict with the systems
packages
- fix py3 compatibility
* tests/test_debs/*.deb, tests/test_debfile.py:
- add automatic test based on the test debs from gdebi
* python/progress.cc:
- deal with missing return value from the acquire progress in pulse()
[ Martin Pitt ]
* tests/test_apt_cache.py: Test accessing the record of all packages during
iteration. This both ensures that it's well-formatted and structured, and
also that accessing it does not take an inordinate amount of time. This
exposes a severe performance problem when using gzip compressed package
indexes.
* apt/cache.py: When iterating over the cache, do so sorted by package name.
With this we read the the package lists linearly if we need to access the
package records, instead of having to do thousands of random seeks; the
latter is disastrous if we use compressed package indexes, and slower than
necessary for uncompressed indexes.
[ Julian Andres Klode ]
* Re-enable Python 3 support for latest python-default changes (hack).
-- Michael Vogt <mvo@debian.org> Mon, 12 Jul 2010 08:58:42 +0200
python-apt (0.7.95) unstable; urgency=low
[ Julian Andres Klode ]
* apt/cache.py:
- Make Cache.get_changes() much (~35x) faster (Closes: #578074).
- Make Cache.req_reinstall_pkgs much faster as well.
- Make Cache.get_providing_packages() about 1000 times faster.
- Use has_versions and has_provides from apt_pkg.Package where possible.
* apt/package.py:
- Decode using utf-8 in installed_files (LP: #407953).
- Fix fetch_source() to work when source name = binary name (LP: #552400).
- Merge a patch from Sebastian Heinlein to make get_changelog() only
check sources where source version >= binary version (Closes: #581831).
- Add Version.source_version and enhance Sebastian's patch to make use
of it, in order to find the best changelog for the package.
* python:
- Return bool instead of int to Python where possible, looks better.
- Document every class, function, property.
* python/cache.cc:
- Check that 2nd argument to Cache.update() really is a SourceList object.
- Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource.
- Add Package.has_versions to see which packages have at least one version,
and Package.has_provides for provides.
- Add rich compare methods to the Version object.
* python/generic.cc:
- Fix a memory leak when using old attribute names.
- Map ArchiveURI property to archive_uri
* python/progress.cc:
- Do not pass arguments to InstallProgress.wait_child().
* doc:
- Update the long documentation.
* debian/control:
- Change priority to standard, keep -doc and -dev on optional.
* utils/migrate-0.8.py:
- Open files in universal newline support and pass filename to ast.parse.
- Add has_key to the list of deprecated functions.
- Don't abort if parsing failed.
- do not require files to end in .py if they are passed on the command
line or if they contain python somewhere in the shebang line.
[ Michael Vogt ]
* apt/cache.py:
- make cache open silent by default (use apt.progress.base.OpProgress)
* tests/data/aptsources_ports/sources.list:
- fix ports test-data
* tests/test_apt_cache.py:
- add simple test for basic cache/dependency iteration
-- Julian Andres Klode <jak@debian.org> Wed, 19 May 2010 15:43:09 +0200
python-apt (0.7.94.2) unstable; urgency=low
* Revert 0.7.93.3 and just set APT::Architecture to i386 for
test_aptsources; fixes FTBFS on powerpc.
-- Julian Andres Klode <jak@debian.org> Fri, 12 Mar 2010 19:22:57 +0100
python-apt (0.7.94.1) unstable; urgency=low
* Pass --exclude=migrate-0.8.py to dh_pycentral; in order to not depend
on python2.6; but recommend python2.6.
* Use dh_link instead of ln for python-apt-doc (Closes: #573523).
* Pass --link-doc=python-apt to dh_installdocs.
* Install examples to python-apt-doc instead of python-apt.
* tests/test_all.py: Write information header to stderr, not stdout.
* Build documentation only when needed (when building python-apt-doc).
-- Julian Andres Klode <jak@debian.org> Fri, 12 Mar 2010 14:36:48 +0100
python-apt (0.7.94) unstable; urgency=low
* Move documentation into python-apt-doc (Closes: #572617)
* Build documentation only once on the default Python version.
* python/acquire-item.cc:
- Add AcquireItem.partialsize member.
* python/apt_pkgmodule.cc:
- Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667).
* python/generic.cc:
- Map UntranslatedDepType to dep_type_untranslated.
* python/tag.cc:
- Hack the TagFile iterator to not use shared storage (Closes: #572596):
Scan once, duplicate the section data, and scan again.
* apt/package.py:
- Create a string class BaseDependency.__dstr which makes '>' equal to
'>>' and '<' equal to '<<' (compatibility).
- Use the binary package version in Version.fetch_source() if the
source version is not specified (i.e. in the normal case).
- Always return unicode strings in Package.get_changelog (Closes: #572998).
* apt/progress/text.py:
- Drop InstallProgress, it's useless to keep this alias around.
* apt/progress/old.py:
- Let the new method call the old one; e.g. status_update() now calls
self.statusUpdate(). This improves compatibility for sub classes.
* Merge with Ubuntu:
- util/get_ubuntu_mirrors_from_lp.py:
+ rewritten to use +archivemirrors-rss and feedburner
- pre-build.sh: update ubuntu mirrors on bzr-buildpackage (and also do this
for Debian mirrors)
- add break for packagekit-backend-apt (<= 0.4.8-0ubuntu4)
* tests:
- test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep,
apt_pkg.parse_depends and apt_pkg.parse_src_depends.
* tests/data/aptsources/sources.list.testDistribution:
- change one mirror which is not on the mirror list anymore.
* utils/get_debian_mirrors.py:
- Parse Mirrors.masterlist instead of the HTML web page.
* utils/get_ubuntu_mirrors_from_lp.py:
- Sort the mirror list of each country.
-- Julian Andres Klode <jak@debian.org> Wed, 10 Mar 2010 16:10:27 +0100
python-apt (0.7.93.3) unstable; urgency=low
* data/templates/Ubuntu.info.in:
- Use generic MirrorsFile key instead of per-architecture ones in
order to fix FTBFS on !amd64 !i386 (Closes: #571752)
-- Julian Andres Klode <jak@debian.org> Sat, 27 Feb 2010 23:26:45 +0100
python-apt (0.7.93.2) unstable; urgency=low
[ Julian Andres Klode ]
* Fix some places where the old API was still used:
- apt/utils.py: Completely ported, previous one was old-API from Ubuntu.
- apt/cache.py: Use the new progress classes instead of the old ones.
- apt/package.py: Various smaller issues fixed, probably caused by merge.
* utils/migrate-0.8.py:
- Improve C++ parsing and add apt.progress.old to the modules, reduces
false positives.
- Ship the list of deprecated things in the apt_pkg and apt_inst modules
inside the script itself, so we don't have to parse the source code
anymore.
* python:
- Handle deprecated attributes and methods in the tp_gettattro slot, this
allows us to easily warn if a deprecated function is used.
* python/tagfile.cc:
- Implement the iterator protocol in TagFile.
* python/cache.cc:
- Implement Cache.__len__() and Cache.__contains__() (Closes: #571443).
* data/templates/Debian.info.in:
- Replace the MatchURI with one that really matches something.
* aptsources/distro.py:
- Call lsb_release with -idrc instead of --all.
* tests:
- Fix aptsources tests to use local data files if available.
- test_all.py: Use local modules instead of system ones if possible.
* data/templates/*.in: Switch MirrorsFile to relative filenames.
- setup.py: Copy the mirror lists to the build directory
- aptsources/distinfo.py: Support relative filenames for MirrorsFile.
* debian/rules:
- Run tests during build time.
* debian/python-apt.install:
- Install utils/migrate-0.8.py to /usr/share/python-apt/.
[ Michael Vogt ]
* apt/cache.py:
- call install_progress.startUpdate()/finishUpdate() to keep
compatibility with older code
* apt/progress/base.py:
- restore "self.statusfd, self.writefd" type, provide additional
self.status_stream and self.write_stream file like objects
* python/progress.cc:
- try to call compatibility functions first, then new functions
-- Julian Andres Klode <jak@debian.org> Sat, 27 Feb 2010 18:33:11 +0100
python-apt (0.7.93.1) unstable; urgency=low
[ Julian Andres Klode ]
* Fix reference counting for old progress classes (Closes: #566370).
* apt/cache.py:
- Fix Cache.update() to not raise errors on successful updates.
* python/progress.cc:
- Fix some threading issues (add some missing PyCbObj_BEGIN_ALLOW_THREADS)
* python/acquire-item.cc:
- Support items without an owner set.
* python/tarfile.cc:
- When extracting, only allocate a new buffer if the old one was too small.
- Do not segfault if TarFile.go() is called without a member name.
- Clone all pkgDirStream::Item's so apt_pkg.TarMember object can be used
outside of the callback function passed to go().
- If only one member is requested, extract just that one.
* Drop the segfault prevention measures from the Acquire code, as they fail
to work. A replacement will be added once destruction callbacks are added
in APT.
* Merge the CppOwnedPyObject C++ class into CppPyObject.
* Remove inline functions from the C++ API, export them instead.
* Localization
- de.po: Update against new template
* python/arfile.cc:
- Handle the case where ararchive_new returns NULL in debfile_new.
* apt/progress/base.py:
- select.error objects do not have an errno attribute (Closes: #568005)
* doc/client-example.cc: Update against the new API.
* Fix typos of separated in multiple files (reported by lintian).
* debian/control:
- Make python-apt-dev depend on ${misc:Depends} and recommend python-dev.
- Set Standards-Version to 3.8.4.
[ Michael Vogt ]
* apt/utils.py:
- add some misc utils like get_release_filename_for_pkg()
-- Julian Andres Klode <jak@debian.org> Fri, 05 Feb 2010 17:45:39 +0100
python-apt (0.7.93) unstable; urgency=low
[ Julian Andres Klode ]
* Merge debian-sid and debian-experimental.
* Add a tutorial on how to do things which are possible with apt-get,
like apt-get --print-uris update (cf. #551164).
* Build for Python 2.5, 2.6 and 3.1; 2.6 and 3.1 hit unstable on Jan 16.
- Use DH_PYCENTRAL=nomove for now because include-links seems broken
* Merge lp:~forest-bond/python-apt/cache-is-virtual-package-catch-key-error
- Return False in Cache.is_virtual_package if the package does not exist.
* Make all class-level constants have uppercase names.
* Rewrite apt.progress.gtk2 documentation by hand and drop python-gtk2
build-time dependency.
* aptsources:
- Make all classes subclasses of object.
- distro.py: Support Python 3, decode lsb_release results using utf-8.
* apt/progress/base.py:
- Fix some parsing of dpkg status fd.
* apt/progress/text.py:
- Replace one print statement with a .write() call.
* Rename apt_pkg.PackageIndexFile to apt_pkg.IndexFile.
[ Colin Watson ]
* apt/progress/__init__.py:
- Fix InstallProgress.updateInterface() to cope with read() returning 0
on non-blocking file descriptors (LP: #491027).
[ Michael Vogt ]
* apt/cache.py:
- improved docstring for the cache
- add "enhances" property
* data/templates/Ubuntu.info.in:
- add lucid
* python/cache.cc:
- add UntranslatedDepType attribute to DependencyType
- add DepTypeEnum that returns a value from
{DepDepends, DepPreDepends, ...}
* python/apt_pkgmodule.cc:
- add DepDpkgBreaks, DepEnhances constants
* doc/source/apt_pkg/{cache.rst, index.rst}:
- update documentation as well
-- Julian Andres Klode <jak@debian.org> Wed, 20 Jan 2010 17:06:20 +0100
python-apt (0.7.92) experimental; urgency=low
* New features:
- Provide a C++ API in the package python-apt-dev (Closes: #334923).
- Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141).
- Add apt_pkg.Policy class (Closes: #382725).
- Add apt_pkg.Hashes class.
- Allow types providing __new__() to be subclassed.
- Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods to
mark a package as automatically installed.
- Make AcquireFile a subclass of AcquireItem, thus inheriting attributes.
- New progress handling in apt.progress.base and apt.progress.text. Still
missing Qt4 progress handlers.
- Classes in apt_inst (Closes: #536096)
+ You can now use apt_inst.DebFile.data to access the data.tar.* member
regardless of its compression (LP: #44493)
* Unification of dependency handling:
- apt_pkg.parse_[src_]depends() now use CompType instead of CompTypeDeb
(i.e. < instead of <<) to match the interface of Version.depends_list_str
- apt_pkg.SourceRecords.build_depends matches exactly the interface of
Version.depends_list_str just with different keys (e.g. Build-Depends).
+ Closes: #468123 - there is no need anymore for binding CompType or
CompTypeDeb, because we don't return integer values for CompType
anymore.
* Bugfixes:
- Delete pointers correctly, fixing memory leaks (LP: #370149).
- Drop open() and close() in apt_pkg.Cache as they cause segfaults.
- Raise ValueError in AcquireItem if the Acquire process is shut down
instead of segfaulting.
* Other stuff:
- Merge releases 0.7.10.4 - 0.7.12.1 from unstable.
- Merge Configuration,ConfigurationPtr,ConfigurationSub into one type.
- Simplify the whole build process by using a single setup.py.
- The documentation has been restructured and enhanced with tutorials.
- Only recommend lsb-release instead of depending on it. Default to
Debian unstable if lsb_release is not available.
-- Julian Andres Klode <jak@debian.org> Tue, 18 Aug 2009 16:42:56 +0200
python-apt (0.7.91) experimental; urgency=low
[ Julian Andres Klode ]
* Rename where needed according to PEP 8 conventions (Closes: #481061)
* Where possible, derive apt.package.Record from collections.Mapping.
* ActionGroups can be used as a context manager for the 'with' statement.
* utils/migrate-0.8.py: Helper to check Python code for deprecated functions,
attributes,etc. Has to be run from the python-apt source tree, but can be
used for all Python code using python-apt.
* debian/control: Only recommend libjs-jquery (Closes: #527543).
[ Stefano Zacchiroli ]
* debian/python-apt.doc-base: register the documentation with the
doc-base system (Closes: #525134)
[ Sebastian Heinlein ]
* apt/package.py: Add Package.get_version() which returns a Version instance
for the given version string or None (Closes: #523998)
-- Julian Andres Klode <jak@debian.org> Fri, 05 Jun 2009 19:36:45 +0200
python-apt (0.7.90) experimental; urgency=low
* Introduce support for Python 3 (Closes: #523645)
* Support the 'in' operator (e.g. "k in d") in Configuration{,Ptr,Sub}
objects (e.g. apt_pkg.Config) and in TagSections (apt_pkg.ParseSection())
* Replace support for file objects with a more generic support for any object
providing a fileno() method and for file descriptors (integers).
* Add support for the Breaks fields
* Only create Package objects when they are requested, do not keep them in
a dict. Saves 10MB for 25,000 packages on my machine.
* apt/package.py: Allow to set the candidate of a package (Closes: #523997)
- Support assignments to the 'candidate' property of Package objects.
- Initial patch by Sebastian Heinlein
-- Julian Andres Klode <jak@debian.org> Wed, 15 Apr 2009 13:47:42 +0200
python-apt (0.7.13.4) unstable; urgency=low
[ Michael Vogt ]
* po/zh_CN.po:
- updated, thanks to Feng Chao
* python/progress.cc:
- if the mediaChange() does not return anything or is not implemented
send "false" to libapt
[ Julian Andres Klode ]
* apt/package.py: Fix dictionary access of VersionList, patch
by Sebastian Heinlein (Closes: #554895).
-- Julian Andres Klode <jak@debian.org> Sun, 29 Nov 2009 20:26:31 +0100
python-apt (0.7.13.3) unstable; urgency=low
[ Michael Vogt ]
* apt/cache.py:
- add actiongroup() method (backport from 0.7.92)
- re-work the logic in commit() to fail if installArchives() returns
a unexpected result
* apt/progress/__init__.py:
- catch exceptions in pm.DoInstall()
[ Sebastian Heinlein ]
* apt/package.py:
- Export if a package is an essential one (Closes: #543428)
[ Julian Andres Klode ]
* python/depcache.cc:
- Make ActionGroups context managers so apt.Cache.actiongroup() has
the same behavior as in 0.7.92
* apt/cache.py:
- Add raiseOnError option to Cache.update() (Closes: #545474)
* apt/package.py:
- Use the source version instead of the binary version in fetch_source().
* apt/progress/__init__.py:
- Correctly ignore ECHILD by checking before EINTR (Closes: #546007)
-- Julian Andres Klode <jak@debian.org> Tue, 15 Sep 2009 15:18:45 +0200
python-apt (0.7.13.2) unstable; urgency=low
* apt/cache.py:
- Convert argument to str in __getitem__() (Closes: #542965).
-- Julian Andres Klode <jak@debian.org> Sat, 22 Aug 2009 22:47:30 +0200
python-apt (0.7.13.1) unstable; urgency=low
* apt/package.py:
- Fix Version.get_dependencies() to not ignore the arguments.
-- Julian Andres Klode <jak@debian.org> Fri, 21 Aug 2009 16:59:08 +0200
python-apt (0.7.13.0) unstable; urgency=low
[ Michael Vogt ]
* apt/package.py:
- add "recommends" property
* apt/cache.py, python/cache.cc:
- add optional pulseInterval option to "update()"
[ Sebastian Heinlein ]
* apt/cache.py:
- Fix the (inst|keep|broken|del)_count attributes (Closes: #542773).
[ Julian Andres Klode ]
* apt/package.py:
- Introduce Version.get_dependencies() which takes one or more types
of dependencies and returns a list of Dependency objects.
- Do not mark the package as manually installed on upgrade (Closes: #542699)
- Add Package.is_now_broken and Package.is_inst_broken.
* apt/cache.py:
- Introduce ProblemResolver class (Closes: #542705)
* python/pkgsrcrecords.cc:
- Fix spelling error (begining should be beginning).
* po:
- Update template and the translations de.po, fr.po (Closes: #467120),
ja.po (Closes: #454293).
* debian/control:
- Update Standards-Version to 3.8.3.
* debian/rules:
- Build with DH_PYCENTRAL=include-links instead of nomove.
-- Julian Andres Klode <jak@debian.org> Fri, 21 Aug 2009 16:22:34 +0200
python-apt (0.7.12.1) unstable; urgency=low
* apt/debfile.py:
- Fix missing space in message (Closes: #539704)
* apt/package.py:
- Add missing argument to Version.__le__() and Version.__ge__()
* debian/control:
- Do not build-depend on python-gtk2 and python-vte on kfreebsd-*.
* setup.py:
- Always build documentation, even if python-gtk2 is not installed.
-- Julian Andres Klode <jak@debian.org> Mon, 03 Aug 2009 15:17:43 +0200
python-apt (0.7.12.0) unstable; urgency=low
[ Julian Andres Klode ]
* python/cache.cc:
- Support Breaks, Enhances dependency types (Closes: #416247)
* debian/control:
- Only recommend libjs-jquery (Closes: #527543)
- Build-depend on libapt-pkg-dev (>= 0.7.22~)
- Update Standards-Version to 3.8.2
* apt/cache.py:
- Correctly handle rootdir on second and later invocations of
open(), by calling InitSystem again. (LP: #320665).
- Provide broken_count, delete_count, install_count, keep_count
properties (Closes: #532338)
- Only create Package objects when they are requested, do not keep them in
a dict. Saves 10MB for 25,000 packages on my machine.
* apt/package.py:
- Allow to set the candidate of a package (Closes: #523997)
+ Support assignments to the 'candidate' property of Package objects.
+ Initial patch by Sebastian Heinlein
- Make comparisons of Version object more robust.
- Return VersionList objects in Package.versions, which are sequences
and also provide features of mappings. (partial API BREAK)
+ Allows to get a specific version (Closes: #523998)
* apt/progress/__init__.py:
- Do not break out of InstallProgress.waitChild()'s loop just because it
is hitting EINTR, but only on child exit or on ECHILD.
* Use debhelper 7 instead of CDBS
[ Stefano Zacchiroli ]
* debian/python-apt.doc-base: register the documentation with the
doc-base system (Closes: #525134)
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
(Closes: #532660)
-- Julian Andres Klode <jak@debian.org> Thu, 30 Jul 2009 14:08:30 +0200
python-apt (0.7.11.1) unstable; urgency=low
[ Stephan Peijnik ]
* apt/progress/__init__.py:
- Exception handling fixes in InstallProgress class.
[ Michael Vogt ]
* python/tag.cc:
- merge patch from John Wright that adds FindRaw method
(closes: #538723)
-- Michael Vogt <mvo@debian.org> Wed, 29 Jul 2009 19:15:56 +0200
python-apt (0.7.11.0) unstable; urgency=low
[ Julian Andres Klode ]
* data/templates/Debian.info.in: Squeeze will be 6.0, not 5.1
[ Stephan Peijnik ]
* apt/progress/__init__.py:
- add update_status_full() that takes file_size/partial_size as
additional callback arguments
- add pulse_items() that takes a addtional "items" tuple that
gives the user full access to the individual items that are
fetched
* python/progress.cc:
- low level code for update_status_full and pulse_items()
- better threading support
[ Michael Vogt ]
* aptsources/distro.py:
- fix indent error that causes incorrect sources.list additons
(LP: #372224)
* python/progress.cc:
- fix crash in RunSimpleCallback()
* apt/cache.py:
- when the cache is run with a alternative rootdir, create
required dirs/files automatically
-- Michael Vogt <mvo@debian.org> Mon, 20 Jul 2009 15:35:27 +0200
python-apt (0.7.10.4) unstable; urgency=low
[ Michael Vogt ]
* data/templates/Ubuntu.info.in:
- updated for the new ubuntu karmic version
* data/templates/Debian.info.in:
- add squeeze
[ Otavio Salvador ]
* utils/get_debian_mirrors.py: updated to support current mirror page.
* Update Debian mirrors. (Closes: #518071)
-- Michael Vogt <mvo@debian.org> Tue, 05 May 2009 12:03:27 +0200
python-apt (0.7.10.3) unstable; urgency=low
* apt/package.py: Handle cases where no candidate is available, by returning
None in the candidate property. (Closes: #523801)
-- Julian Andres Klode <jak@debian.org> Sun, 12 Apr 2009 19:50:26 +0200
python-apt (0.7.10.2) unstable; urgency=low
* apt/package.py: Handle cases where no candidate is available and
one of the deprecated properties (e.g. candidateVersion) is
requested. (Closes: #523801)
* setup.py, debian/rules: Support version in setup.py again by getting
the value from the variable DEBVER (defined in debian/rules), falling
back to None.
-- Julian Andres Klode <jak@debian.org> Sun, 12 Apr 2009 19:00:07 +0200
python-apt (0.7.10.1) unstable; urgency=low
* Fix FTBFS with python-debian (>= 0.1.13) on Python 2.4 by not using it to
get a version number in setup.py (Closes: #523473)
* apt/package.py:
- (Package.candidateRecord): Fix missing 'd' in 'record'
- (DeprecatedProperty.__get__): Only warn when used on objects, this
makes it easier to use e.g. pydoc,sphinx,pychecker.
-- Julian Andres Klode <jak@debian.org> Fri, 10 Apr 2009 17:51:07 +0200
python-apt (0.7.10) unstable; urgency=low
* Build-Depend on python-debian, use it to get version number from changelog
* Depend on libjs-jquery, and remove internal copy (Closes: #521532)
* apt/package.py:
- Introduce Version.{uri,uris,fetch_binary()}
* debian/control:
- Remove mdz from Uploaders (Closes: #521477), add myself.
- Update Standards-Version to 3.8.1
- Use ${binary:Version} instead of ${Source-Version}
- Fix spelling error: python -> Python
* debian/copyright: Switch to machine-interpretable copyright
* Fix documentation building
- doc/source/conf.py: Only include directories for current python version.
- debian/control: Build-Depend on python-gtk2, python-vte.
- setup.py: If pygtk can not be imported, do not build the documentation.
* Breaks: debdelta (<< 0.28~) to avoid more problems due to the internal
API changes from 0.7.9.
-- Julian Andres Klode <jak@debian.org> Wed, 01 Apr 2009 15:24:29 +0200
python-apt (0.7.9) unstable; urgency=low
[ Julian Andres Klode ]
* apt/gtk/widgets.py:
- Handle older versions of python-gobject which do not ship glib
* apt/package.py: Introduce the Version class
- Deprecate Package.candidate*() and Package.installed*(), except for
installedFiles.
- Provide Version.get_source() (LP: #118788)
- Provide Package.versions (Closes: #513236)
* apt/progress/: New package, replaces apt.progress and apt.gtk
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py
- apt/progress/__init__.py: Move here from apt/progress.py
* doc/source/*: Improve the documentation
- Document more attributes and functions of apt_pkg (they are all listed)
[ Michael Vogt ]
* aptsources/distro.py:
- use iso_3166.xml instead of iso_3166.tab
- fix incorrect indent
* debian/control:
- add Recommends to iso-codes (for iso_3166.xml)
* apt/package.py:
- make sure to set the defaulttimeout back to the
original value (in getChangelog(), LP: #314212)
Closes: #513315
* apt/cache.py:
- when setting a alternative rootdir, read the
config from it as well
* python/configuration.cc, python/apt_pkgmodule.cc:
- add apt_pkg.ReadConfigDir()
* python/cache.cc, tests/getcache_mem_corruption.py:
- test if progress objects have the right methods
and raise error if not (thanks to Emanuele Rocca)
closes: #497049
* apt/package.py:
- avoid uneeded interal references in the Package objects
* aptsources/sourceslist.py:
- fix bug in invalid lines detection (LP: #324614)
-- Michael Vogt <mvo@debian.org> Thu, 19 Mar 2009 13:39:21 +0100
python-apt (0.7.9~exp2) experimental; urgency=low
[ Julian Andres Klode ]
* apt/*.py:
- Almost complete cleanup of the code
- Remove inconsistent use of tabs and spaces (Closes: #505443)
- Improved documentation
* apt/debfile.py:
- Drop get*() methods, as they are deprecated and were
never in a stable release
- Make DscSrcPackage working
* apt/gtk/widgets.py:
- Fix the code and document the signals
* Introduce new documentation build with Sphinx
- Contains style Guide (Closes: #481562)
- debian/rules: Build the documentation here
- setup.py: Remove pydoc building and add new docs.
- debian/examples: Include examples from documentation
- debian/python-apt.docs:
+ Change html/ to build/doc/html.
+ Add build/doc/text for the text-only documentation
* setup.py:
- Only create build/data when building, not all the time
- Remove build/mo and build/data on clean -a
* debian/control:
- Remove the Conflicts on python2.3-apt, python2.4-apt, as
they are only needed for oldstable (sarge)
- Build-Depend on python-sphinx (>= 0.5)
* aptsources/distinfo.py:
- Allow @ in mirror urls (Closes: #478171) (LP: #223097)
* Merge Ben Finney's whitespace changes (Closes: #481563)
* Merge Ben Finney's do not use has_key() (Closes: #481878)
* Do not use deprecated form of raise statement (Closes: #494259)
* Add support for PkgRecords.SHA256Hash (Closes: #456113)
[ Michael Vogt ]
* apt/package.py:
- fix bug in candidateInstalledSize property
* aptsources/distinfo.py:
- fix too restrictive mirror url check
* aptsources/distro.py:
- only add nearest_server and server to the mirrors if
they are defined
-- Michael Vogt <mvo@debian.org> Fri, 16 Jan 2009 11:28:17 +0100
python-apt (0.7.9~exp1) experimental; urgency=low
* Merged python-apt consolidation branch by Sebastian
Heinlein (many thanks)
* apt/cache.py:
- new method "isVirtualPackage()"
- new method "getProvidingPackages()"
- new method "getRequiredDownload()"
- new method "additionalRequiredSpace()"
* apt/debfile.py:
- move a lot of the gdebi code into this file, this
provides interfaces for querrying and installing
.deb files and .dsc files
* apt/package.py:
- better description parsing
- new method "installedFiles()"
- new method "getChangelog()"
* apt/gtk/widgets.py:
- new gobject GOpProgress
- new gobject GFetchProgress
- new gobject GInstallProgress
- new gobject GDpkgInstallProgress
- new widget GtkAptProgress
* doc/examples/gui-inst.py:
- updated to use the new widgets
* debian/control:
- add suggests for python-gtk2 and python-vte
* setup.py:
- build html/ help of the apt and aptsources modules
into /usr/share/doc/python-apt/html
* apt/__init__.py:
- remove the future warning
-- Michael Vogt <mvo@debian.org> Mon, 15 Dec 2008 14:29:47 +0100
python-apt (0.7.8) unstable; urgency=low
[ Michael Vogt ]
* python/cache.cc:
- fix crash if Ver.PriorityType() returns NULL
- fix GetCandidateVer() reporting incorrect versions after
SetCandidateVer() was used. Thanks to Julian Andres Klode for
the test-case (LP: #237372)
* python/apt_instmodule.cc:
- do not change working dir in debExtractArchive() (LP: #184093)
* apt/cache.py:
- support "in" in apt.Cache() (LP: #251587)
* apt/package.py:
- do not return None in sourcePackageName (LP: #123062)
* python/progress.cc:
- when pulse() does not return a boolean assume "true"
(thanks to Martin Pitt for telling me about the problem)
* python/apt_pkgmodule.cc:
- add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants
* aptsources/__init__.py, aptsources/distinfo.py:
- run apt_pkg.init() when aptsources gets imported and not
the distinfo function
- fix detection of cdrom sources and add test for it
* python/metaindex.cc
- fix crash when incorrect attribute is given
* data/templates/Ubuntu.info.in:
- updated
* aptsources/distro.py:
- add parameter to get_distro() to make unit testing easier
* tests/test_aptsources_ports.py:
- add test for arch specific handling (when sub arch is on
a different mirror than "main" arches)
[ Julian Andres Klode ]
* python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.
-- Michael Vogt <mvo@debian.org> Mon, 24 Nov 2008 10:24:30 +0200
python-apt (0.7.7.1+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* data/templates/Debian.info.in: Set the BaseURI to security.debian.org for
lenny/updates, etch/updates and sarge/updates. (Closes: #503237)
-- Jonny Lamb <jonny@debian.org> Fri, 24 Oct 2008 12:44:33 +0100
python-apt (0.7.7.1) unstable; urgency=low
* data/templates/Debian.info.in:
- add 'lenny' template info (closes: #476364)
* aptsources/distinfo.py:
- fix template matching for arch specific code (LP: #244093)
-- Michael Vogt <mvo@debian.org> Fri, 25 Jul 2008 18:13:53 +0200
python-apt (0.7.7) unstable; urgency=low
[ Emanuele Rocca ]
* data/templates/Debian.info.in:
- s/MatchUri/MatchURI/. Thanks, Gustavo Noronha Silva (closes: #487673)
* python/cache.cc:
- Throw an exception rather than segfaulting when GetCache() is called
before InitSystem() (closes: #369147)
* doc/examples/config.py:
- Fix config.py --help (closes: #257007)
[ Michael Vogt ]
* python/apt_pkgmodule.cc:
- fix bug in hashsum calculation when the original string
contains \0 charackters (thanks to Celso Providelo and
Ryan Hass for the test-case) LP: #243630
* tests/test_hashsums.py:
- add tests for the hashsum code
* apt/package.py:
- add "isAutoRemovable()" method
* python/pkgsrcrecords.cc:
- add "Record" attribute to the PkgSrcRecord to access the
full source record
* debian/rules:
- remove the arch-build target, we have bzr-builddeb now
-- Michael Vogt <mvo@debian.org> Tue, 22 Jul 2008 10:16:03 +0200
python-apt (0.7.6) unstable; urgency=low
* apt/cache.py:
- add "memonly" option to apt.Cache() to force python-apt to
not touch the pkgcache.bin file (this works around a possible
race condition in the pkgcache.bin handling)
* data/templates/Ubuntu.info.in:
- added ubuntu 'intrepid'
* debian/README.source:
- added (basic) documentation how to build python-apt
* aptsources/distinfo.py:
- support arch specific BaseURI, MatchURI and MirrosFile fields
in the distinfo template
* debian/control:
- move bzr branch to bzr.debian.org and update Vcs-Bzr
-- Michael Vogt <mvo@debian.org> Wed, 18 Jun 2008 14:46:43 +0200
python-apt (0.7.5) unstable; urgency=low
* use the new ListUpdate() code
* add example in doc/examples/update.py
* python/pkgrecords.cc:
- export the Homepage field
* python/tar.cc:
- fix .lzma extraction (thanks to bigjools)
* python/sourcelist.cc:
- support GetIndexes() GetAll argument to implement
something like --print-uris
* python/apt_pkgmodule.cc:
- add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants
* apt/cache.py:
- add reqReinstallPkgs property that lists all packages in
ReInstReq or HoldReInstReq
-- Michael Vogt <mvo@debian.org> Tue, 19 Feb 2008 21:06:36 +0100
python-apt (0.7.4) unstable; urgency=low
* apt/debfile.py:
- added wrapper around apt_inst.debExtract()
- support dictionary like access
* apt/package.py:
- fix apt.package.Dependency.relation initialization
* python/apt_instmodule.cc:
- added arCheckMember()
- fix typo
* aptsources/distro.py:
- throw NoDistroTemplateException if not distribution template
can be found
* python/string.cc:
- fix overflow in SizeToStr()
* python/metaindex.cc:
- added support for the metaIndex objects
* python/sourceslist.cc:
- support new "List" attribute that returns the list of
metaIndex source entries
* python/depcache.cc:
- be more threading friendly
* python/tag.cc
- support "None" as default in
ParseSection(control).get(field, default), LP: #44470
* python/progress.cc:
- fix refcount problem in OpProgress
- fix refcount problem in FetchProgress
- fix refcount problem in CdromProgress
* apt/README.apt:
- fix typo (thanks to Thomas Schoepf, closes: #387787)
* po/fr.po:
- merge update, thanks to Christian Perrier (closes: #435918)
* data/templates/:
- update templates
-- Michael Vogt <mvo@debian.org> Thu, 06 Dec 2007 15:35:46 +0100
python-apt (0.7.3.1) unstable; urgency=low
* NMU
* Fix version to not use CPU and OS since it's not available on APT
anymore (closes: #435653, #435674)
-- Otavio Salvador <otavio@debian.org> Thu, 02 Aug 2007 18:45:25 -0300
python-apt (0.7.3) unstable; urgency=low
* apt/package.py:
- added Record class that can be accessed like a dictionary
and return it in candidateRecord and installedRecord
(thanks to Alexander Sack for discussing this with me)
* doc/examples/records.py:
- added example how to use the new Records class
* apt/cache.py:
- throw FetchCancelleException, FetchFailedException,
LockFailedException exceptions when something goes wrong
* aptsources/distro.py:
- generalized some code, bringing it into the Distribution
class, and wrote some missing methods for the DebianDistribution
one (thanks to Gustavo Noronha Silva)
* debian/control:
- updated for python-distutils-extra (>= 1.9.0)
* debian/python-apt.install:
- fix i18n files
* python/indexfile.cc:
- increase str buffer in PackageIndexFileRepr
-- Michael Vogt <michael.vogt@ubuntu.com> Fri, 27 Jul 2007 16:57:28 +0200
python-apt (0.7.2) unstable; urgency=low
* build against the new apt
* support for new "aptsources" pythn module
(thanks to Sebastian Heinlein)
* merged support for translated package descriptions
* merged support for automatic removal of unused dependencies
-- Michael Vogt <mvo@debian.org> Sun, 10 Jun 2007 20:13:38 +0200
python-apt (0.7.1) experimental; urgency=low
* merged http://glatzor.de/bzr/python-apt/sebi:
- this means that the new aptsources modules is available
-- Michael Vogt <mvo@debian.org> Mon, 14 May 2007 13:33:42 +0200
python-apt (0.7.0) experimental; urgency=low
* support translated pacakge descriptions
* support automatic dependency information
-- Michael Vogt <mvo@debian.org> Wed, 2 May 2007 18:41:53 +0200
python-apt (0.6.22) unstable; urgency=low
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
* python/pkgrecords.cc:
- added SourceVer
-- Michael Vogt <mvo@debian.org> Wed, 23 May 2007 09:44:03 +0200
python-apt (0.6.21) unstable; urgency=low
* apt/cdrom.py:
- better cdrom handling support
* apt/package.py:
- added candidateDependencies, installedDependencies
- SizeToString supports PyLong too
- support pkg.architecture
- support candidateRecord, installedRecord
* apt/cache.py:
- fix rootdir
* apt/cdrom.py:
- fix bug in cdrom mountpoint handling
-- Michael Vogt <mvo@debian.org> Tue, 24 Apr 2007 21:24:28 +0200
python-apt (0.6.20) unstable; urgency=low
* python/generic.h:
- fix incorrect use of PyMem_DEL(), use pyObject_DEL()
instead. This fixes a nasty segfault with python2.5
(lp: 63226)
* python/pkgrecords.cc:
- export SHA1Hash() as well
* debian/rules: Remove dh_python call.
* apt/progress.cc:
- protect against not-parsable strings send from dpkg (lp: 68553)
* python/pkgmanager.cc:
- fix typo (closes: #382853)
* debian/control:
- tightend dependency (closes: #383478)
* apt/progress.py:
- use os._exit() in the child (lp: #53298)
- use select() when checking for statusfd (lp: #53282)
* acknoledge NMU (closes: #378048, #373512)
* python/apt_pkgmodule.cc:
- fix missing docstring (closes: #368907),
Thanks to Josh Triplett
* make it build against python2.5
* python/progress.cc:
- fix memleak (lp: #43096)
-- Michael Vogt <mvo@debian.org> Tue, 19 Dec 2006 13:32:11 +0100
python-apt (0.6.19) unstable; urgency=low
[ Michael Vogt ]
* doc/examples/print_uris.py:
- added a example to show how the indexfile.ArchiveURI() can be used
with binary packages
* python/apt_pkgmodule.cc:
- export sha256 generation
[ Otavio Salvador ]
* apt/cache.py:
- fix commit doc string to also cite the open related callbacks
- allow change of rootdir for APT database loading
- add dh_installexamples in package building Closes: #376014
* python/depcache.cc:
- "IsGarbage()" method added (to support auto-mark)
-- Michael Vogt <mvo@debian.org> Thu, 27 Jul 2006 00:42:20 +0200
python-apt (0.6.18-0.2) unstable; urgency=low
* Non-maintainer upload.
* Add ${shlibs:Depends} and ${misc:Depends} (Closes: #377615).
-- Christoph Berg <myon@debian.org> Tue, 18 Jul 2006 11:39:52 +0200
python-apt (0.6.18-0.1) unstable; urgency=high
* Non-maintainer upload.
* Call dh_pycentral and dh_python before dh_installdeb, to make sure
the dh_pycentral snippets are put into the maintainer scripts; patch from
Sam Morris. (Closes: #376416)
-- Steinar H. Gunderson <sesse@debian.org> Wed, 12 Jul 2006 23:26:50 +0200
python-apt (0.6.18) unstable; urgency=low
* Non-maintainer upload.
* Update for the new Python policy. Closes: #373512
-- Raphael Hertzog <hertzog@debian.org> Sat, 17 Jun 2006 15:09:28 +0200
python-apt (0.6.17) unstable; urgency=low
* apt/progress.py:
- initialize FetchProgress.eta with the correct type
- strip the staus str before passing it to InstallProgress.statusChanged()
- added InstallProgress.statusChange(pkg, percent, status)
- make DumbInstallProgress a new-style class
(thanks to kamion for the suggestions)
- fix various pychecker warnings
* apt/cache.py:
- return useful values on Cache.update()
- Release locks on failure (thanks to Colin Watson)
- fix various pychecker warnings
* apt/package.py:
- fix various pychecker warnings
- check if looupRecords succeeded
- fix bug in the return statement of _downloadable()
* python/srcrecords.cc:
- add "Restart" method
- don't run auto "Restart" before performing a Lookup
- fix the initalization (no need to pass a PkgCacheType to the records)
- added "Index" attribute
* python/indexfile.cc:
- added ArchiveURI() method
-- Michael Vogt <mvo@debian.org> Mon, 8 May 2006 22:34:58 +0200
python-apt (0.6.16.2) unstable; urgency=low
* Non-maintainer upload.
* debian/control:
+ Replaces: python-apt (<< 0.6.11), instead of Conflicts which is not
correct here. (closes: #308586).
-- Pierre Habouzit <madcoder@debian.org> Fri, 14 Apr 2006 19:30:51 +0200
python-apt (0.6.16.1) unstable; urgency=low
* memleak fixed when pkgCache objects are deallocated
* typos fixed (thanks to Gustavo Franco)
* pkgRecords.Record added to get raw record data
* python/cache.cc: "key" in pkgCache::VerIterator.DependsList[key] is
no longer locale specific but always english
-- Michael Vogt <mvo@debian.org> Wed, 22 Feb 2006 10:41:13 +0100
python-apt (0.6.16) unstable; urgency=low
* added GetPkgAcqFile to queue individual file downloads with the
system (dosn't make use of the improved pkgAcqFile yet)
* added SourceList.GetIndexes()
* rewrote apt.cache.update() to use the improved aquire interface
* apt/ API change: apt.Package.candidateOrigin returns a list of origins
now instead of a single one
* apt_pkg.Cdrom.Add() returns a boolean now, CdromProgress has totalSteps
* added support for pkgIndexFile and added SourcesList.FindIndex()
* added "trusted" to the Origin class
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 5 Jan 2006 00:56:36 +0100
python-apt (0.6.15) unstable; urgency=low
* rewrote cache.Commit() and make it raise proper Exception if stuff
goes wrong
* fix a invalid return from cache.commit(), fail if a download failed
* apt.Package.candidateOrigin returns a class now
* added pkgAcquire, pkgPackageManager and a example (acquire.py)
* tightend build-dependencies for new apt and the c++ transition
-- Michael Vogt <mvo@debian.org> Mon, 28 Nov 2005 23:48:37 +0100
python-apt (0.6.14) unstable; urgency=low
* doc/examples/build-deps.py:
- fixed/improved (thanks to Martin Michlmayr, closes: #321507)
* apt_pkg.Cache.Update() does no longer reopen the cache
(this is the job of the caller now)
* python/srcrecords.cc:
- support for "srcrecords.Files" added
- always run "Restart" before performing a Lookup
* export locking via: GetLock(),PkgSystem{Lock,UnLock}
* apt/cache.py:
- added __iter__ to make "for pkg in apt.Cache:" stuff possible
-- Michael Vogt <mvo@debian.org> Wed, 9 Nov 2005 04:52:08 +0100
python-apt (0.6.13) unstable; urgency=low
* support for depcache added
* support for the PkgProblemResolver added
* support for PkgSrcRecord.BuildDepends added
* support for cdrom handling (add, ident) added
* support for progress reporting from operations added
(e.g. OpProgress, FetchProgress, InstallProgress, CdromProgress)
* added tests/ directory with various tests for the code
* native apt/ python directory added that contains
a more pythonic interface to apt_pkg
* made the apt/ python code PEP08 conform
* python exceptions return the apt error message now
(thanks to Chris Halls for the patch)
-- Michael Vogt <mvo@debian.org> Fri, 5 Aug 2005 10:30:31 +0200
python-apt (0.6.12.2) unstable; urgency=low
* rebuild against the latest apt (c++ transition)
-- Michael Vogt <mvo@debian.org> Mon, 1 Aug 2005 11:06:03 +0200
python-apt (0.6.12.1) unstable; urgency=low
* rebuild against the latest apt
-- Michael Vogt <mvo@debian.org> Tue, 28 Jun 2005 18:29:57 +0200
python-apt (0.6.12ubuntu1) breezy; urgency=low
* Greek0@gmx.net--2005-main/python-apt--debian--0.6:
- python2.{3,4}-apt conflicts with python-apt (<< 0.6.11)
(closes: #308586)
(closes ubuntu: #11380)
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 May 2005 11:34:05 +0200
python-apt (0.6.12) breezy; urgency=low
* added a tests/ directory
* added tests/pkgsrcrecords.py that will check if the pkgsrcrecords
interface does not segfault
* new native python "apt" interface that hides the details of apt_pkg
-- Michael Vogt <michael.vogt@ubuntu.com> Fri, 6 May 2005 10:11:52 +0200
python-apt (0.6.11) experimental; urgency=low
* fixed some reference count problems in the depcache and
pkgsrcrecords code
* DepCache.Init() is never called implicit now
* merged with python-apt tree from Greek0@gmx.net--2005-main
-- Michael Vogt <mvo@debian.org> Fri, 6 May 2005 10:04:38 +0200
python-apt (0.5.36ubuntu2) hoary; urgency=low
* return "None" in GetCandidateVer() if no Candidate is found
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 15 Mar 2005 12:30:06 +0100
python-apt (0.5.36ubuntu1) hoary; urgency=low
* DepCache.ReadPinFile() added
* Fixed a bug in DepCache.Upgrade()
-- Michael Vogt <michael.vogt@ubuntu.com> Wed, 2 Mar 2005 11:32:15 +0100
python-apt (0.5.36) hoary; urgency=low
* Fix build-depends, somehow lost in merge
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 18:53:54 -0800
python-apt (0.5.35) hoary; urgency=low
* Target hoary this time
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:57:21 -0800
python-apt (0.5.34) unstable; urgency=low
* Restore Ubuntu changes
- Build python 2.4 as default, add python2.3-apt
- Typo fix (Ubuntu #4677)
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:53:30 -0800
python-apt (0.5.33) unstable; urgency=low
* Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0
- Basic depcache API (Ubuntu #6889)
-- Matt Zimmerman <mdz@ubuntu.com> Sat, 26 Feb 2005 15:37:48 -0800
python-apt (0.5.32) unstable; urgency=low
* Update to work with apt 0.5.32 (bzip2 deb support)
-- Matt Zimmerman <mdz@debian.org> Sun, 12 Dec 2004 09:44:45 -0800
python-apt (0.5.10) unstable; urgency=low
* Recompile with apt 0.5
-- Matt Zimmerman <mdz@debian.org> Fri, 26 Dec 2003 09:09:40 -0800
python-apt (0.5.9) unstable; urgency=low
* Fix broken object initialization in sourcelist.cc and srcrecords.cc
(Closes: #215792)
-- Matt Zimmerman <mdz@debian.org> Thu, 25 Dec 2003 12:12:04 -0800
python-apt (0.5.8) unstable; urgency=low
* Adjust build-depends to build with python2.3. No other changes.
* This seems to break the new source package support, probably because
the new source package support is buggy.
-- Matt Zimmerman <mdz@debian.org> Fri, 8 Aug 2003 09:01:12 -0400
python-apt (0.5.5.2) unstable; urgency=low
* Add myself to Uploaders so that bugs don't get tagged as NMU-fixed anymore
* Initial support for working with source packages (Closes: #199716)
-- Matt Zimmerman <mdz@debian.org> Tue, 22 Jul 2003 22:20:00 -0400
python-apt (0.5.5.1) unstable; urgency=low
* DepIterator::GlobOr increments the iterator; don't increment it again.
This caused every other dependency to be skipped (Closes: #195805)
* Avoid a null pointer dereference when calling keys() on an empty
configuration (Closes: #149380)
-- Matt Zimmerman <mdz@debian.org> Mon, 2 Jun 2003 23:18:53 -0400
python-apt (0.5.5) unstable; urgency=low
* Rebuild with apt 0.5.5
-- Matt Zimmerman <mdz@debian.org> Tue, 6 May 2003 10:01:22 -0400
python-apt (0.5.4.9) unstable; urgency=low
* Parse /var/lib/dpkg/status in examples/tagfile.py, so that it works
out of the box (Closes: #175340)
* Rebuild with apt 0.5.4.9 (libapt-pkg-libc6.3-5-3.3)
-- Matt Zimmerman <mdz@debian.org> Tue, 18 Feb 2003 16:42:24 -0500
python-apt (0.5.4.4) unstable; urgency=low
* Fix for memory leak with TmpGetCache.
Closes: #151489
* Include additional examples from Moshe Zadka <m@moshez.org>
Closes: #150091, #152048
* Rebuild for python2.2, which is now the default version
Closes: #158460
* No CVS directories in source tarball
Closes: #157773
-- Matt Zimmerman <mdz@debian.org> Tue, 27 Aug 2002 19:22:10 -0400
python-apt (0.5.4.3) unstable; urgency=low
* #include <new> in python/generic.h so that we can build on ia64, which
uses g++-2.96 (Closes: #137467)
-- Matt Zimmerman <mdz@debian.org> Sat, 9 Mar 2002 23:34:13 -0500
python-apt (0.5.4.2) unstable; urgency=high
* Fix g++-3.0 compilation issues (Closes: #134020)
-- Matt Zimmerman <mdz@debian.org> Sun, 24 Feb 2002 00:20:22 -0500
python-apt (0.5.4.1) unstable; urgency=low
* Add apt-utils to build-depends, since libapt-pkg-dev doesn't pull it
in. This should allow python-apt to be autobuilt more readily.
-- Matt Zimmerman <mdz@debian.org> Sat, 23 Feb 2002 19:01:15 -0500
python-apt (0.5.4) unstable; urgency=low
* Initial release.
* Initial packaging by Jason Gunthorpe, et al.
-- Matt Zimmerman <mdz@debian.org> Wed, 16 Jan 2002 01:37:56 -0500
|