/usr/share/doc/python-apt-doc/html/whatsnew/1.0.html is in python-apt-doc 1.6.0.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>What’s New In python-apt 1.0 — python-apt 1.6.0 documentation</title>
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '1.6.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="What’s New In python-apt 1.1" href="1.1.html" />
<link rel="prev" title="What’s New In python-apt 0.9.4" href="0.9.4.html" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head>
<body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="what-s-new-in-python-apt-1-0">
<h1>What’s New In python-apt 1.0<a class="headerlink" href="#what-s-new-in-python-apt-1-0" title="Permalink to this headline">¶</a></h1>
<p>Python-Apt 1.0 fixes several issues and use of deprecated methods. Most
importantly, it introduces large file support</p>
<div class="section" id="new-features">
<h2>New features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference internal" href="../library/apt_pkg.html#apt_pkg.AcquireFile" title="apt_pkg.AcquireFile"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.AcquireFile</span></code></a> can now take a hash string that is not an
md5 value, using the new <cite>hash</cite> argument.</li>
<li>A new a <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.TagFile.close" title="apt_pkg.TagFile.close"><code class="xref py py-meth docutils literal"><span class="pre">apt_pkg.TagFile.close()</span></code></a> method was added</li>
<li><a class="reference internal" href="../library/apt_pkg.html#apt_pkg.TagFile" title="apt_pkg.TagFile"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.TagFile</span></code></a> is now a context manager</li>
<li>The high-level cache class, <a class="reference internal" href="../library/apt.cache.html#apt.cache.Cache" title="apt.cache.Cache"><code class="xref py py-class docutils literal"><span class="pre">apt.cache.Cache</span></code></a> and it’s companion
<a class="reference internal" href="../library/apt.cache.html#apt.cache.FilteredCache" title="apt.cache.FilteredCache"><code class="xref py py-class docutils literal"><span class="pre">apt.cache.FilteredCache</span></code></a> now support package
names with special architecture qualifiers such as :all and :native.</li>
<li>The method <a class="reference internal" href="../library/apt.cache.html#apt.cache.Cache.connect2" title="apt.cache.Cache.connect2"><code class="xref py py-meth docutils literal"><span class="pre">apt.cache.Cache.connect2()</span></code></a> allows connecting callbacks on
cache changes that take the cache as their first argument, reducing the
potential for reference cycles.</li>
<li>The property <a class="reference internal" href="../library/apt.package.html#apt.package.Version.is_installed" title="apt.package.Version.is_installed"><code class="xref py py-attr docutils literal"><span class="pre">apt.package.Version.is_installed</span></code></a> was added.</li>
<li>The properties <a class="reference internal" href="../library/apt.package.html#apt.package.BaseDependency.installed_target_versions" title="apt.package.BaseDependency.installed_target_versions"><code class="xref py py-attr docutils literal"><span class="pre">apt.package.BaseDependency.installed_target_versions</span></code></a>
and <code class="xref py py-attr docutils literal"><span class="pre">apt.package.Dependency.installed_target_versions</span></code> were added.</li>
<li>The property <code class="xref py py-class docutils literal"><span class="pre">apt.Dependency.rawtype</span></code> was added to give the raw type
of a dependency, such as ‘Depends’.</li>
<li>The attribute <code class="xref py py-attr docutils literal"><span class="pre">apt_pkg.Dependency.comp_type_deb</span></code> and the property
<code class="xref py py-attr docutils literal"><span class="pre">apt.Dependency.relation_deb</span></code> were added, they return a Debian-style
comparison operator instead of a mathematical-style one.</li>
<li>A new filter for filtered caches is provided, <code class="xref py py-class docutils literal"><span class="pre">apt.cache.InstalledFilter</span></code>.</li>
</ul>
</div>
<div class="section" id="backward-incompatible-changes">
<h2>Backward-incompatible changes<a class="headerlink" href="#backward-incompatible-changes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><code class="xref py py-class docutils literal"><span class="pre">apt.Version</span></code> now compares package names in addition to version only
when checking for equality. This was broken previously.</li>
</ul>
</div>
<div class="section" id="deprecated">
<h2>Deprecated<a class="headerlink" href="#deprecated" title="Permalink to this headline">¶</a></h2>
<p>The following features are deprecated, starting with this release:</p>
<ul class="simple">
<li>The <cite>section</cite> member of <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.Package" title="apt_pkg.Package"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.Package</span></code></a></li>
<li>The <cite>files</cite> member of of <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.SourceRecords" title="apt_pkg.SourceRecords"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.SourceRecords</span></code></a></li>
<li>The <cite>md5</cite> argument to <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.AcquireFile" title="apt_pkg.AcquireFile"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.AcquireFile</span></code></a>, it is replaced by
the <cite>hash</cite> argument.</li>
<li>The method <a class="reference internal" href="../library/apt.cache.html#apt.cache.Cache.connect" title="apt.cache.Cache.connect"><code class="xref py py-meth docutils literal"><span class="pre">apt.cache.Cache.connect()</span></code></a> has been deprecated. It is
replaced by <a class="reference internal" href="../library/apt.cache.html#apt.cache.Cache.connect2" title="apt.cache.Cache.connect2"><code class="xref py py-meth docutils literal"><span class="pre">apt.cache.Cache.connect2()</span></code></a> which is more flexible and
less prone to reference cycles.</li>
<li>The attribute <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.AcquireItem.mode" title="apt_pkg.AcquireItem.mode"><code class="xref py py-attr docutils literal"><span class="pre">apt_pkg.AcquireItem.mode</span></code></a> has been replaced by
<a class="reference internal" href="../library/apt_pkg.html#apt_pkg.AcquireItem.active_subprocess" title="apt_pkg.AcquireItem.active_subprocess"><code class="xref py py-attr docutils literal"><span class="pre">apt_pkg.AcquireItem.active_subprocess</span></code></a></li>
<li>The class <a class="reference internal" href="../library/apt_pkg.html#apt_pkg.IndexRecords" title="apt_pkg.IndexRecords"><code class="xref py py-class docutils literal"><span class="pre">apt_pkg.IndexRecords</span></code></a> has been deprecated and will
be removed in the next release.</li>
</ul>
</div>
<div class="section" id="removed">
<h2>Removed<a class="headerlink" href="#removed" title="Permalink to this headline">¶</a></h2>
<ul>
<li><p class="first">The module <code class="xref py py-mod docutils literal"><span class="pre">apt.progress.gtk2</span></code> has been removed. There were no
users in the Debian archive, its last update was in 2013, and it was buggy
already. Apart from that, it suggested that it is OK to run a graphical
application as root, and used the unmaintained GTK+ 2 version.</p>
<p>Therefore, there is no replacement, please use PackageKit or aptdaemon
for installation in graphical environments.</p>
</li>
<li><p class="first">The attribute <code class="xref py py-attr docutils literal"><span class="pre">apt_pkg.Package.auto</span></code> was not set anymore, and thus
removed.</p>
</li>
</ul>
</div>
<div class="section" id="maintenance">
<h2>Maintenance<a class="headerlink" href="#maintenance" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>The classes <a class="reference internal" href="../library/apt.cache.html#apt.cache.Cache" title="apt.cache.Cache"><code class="xref py py-class docutils literal"><span class="pre">apt.cache.Cache</span></code></a> and <a class="reference internal" href="../library/apt.cache.html#apt.cache.FilteredCache" title="apt.cache.FilteredCache"><code class="xref py py-class docutils literal"><span class="pre">apt.cache.FilteredCache</span></code></a> no
longer store cyclic references to/between them. This fixes a huge issue,
because a cache can have tens of open file descriptors, causing the maximum
of file descriptors to be reached easily.</li>
<li><a class="reference internal" href="../library/apt_inst.html#module-apt_inst" title="apt_inst"><code class="xref py py-mod docutils literal"><span class="pre">apt_inst</span></code></a> now supports ar and tar archives that are larger than 4 GiB</li>
<li>Various smaller bug fixes</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="../contents.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">What’s New In python-apt 1.0</a><ul>
<li><a class="reference internal" href="#new-features">New features</a></li>
<li><a class="reference internal" href="#backward-incompatible-changes">Backward-incompatible changes</a></li>
<li><a class="reference internal" href="#deprecated">Deprecated</a></li>
<li><a class="reference internal" href="#removed">Removed</a></li>
<li><a class="reference internal" href="#maintenance">Maintenance</a></li>
</ul>
</li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../contents.html">Documentation overview</a><ul>
<li><a href="index.html">What’s new in python-apt</a><ul>
<li>Previous: <a href="0.9.4.html" title="previous chapter">What’s New In python-apt 0.9.4</a></li>
<li>Next: <a href="1.1.html" title="next chapter">What’s New In python-apt 1.1</a></li>
</ul></li>
</ul></li>
</ul>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/whatsnew/1.0.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©2009-2018, Julian Andres Klode <jak@debian.org>.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.7</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
|
<a href="../_sources/whatsnew/1.0.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>
|