Hello community, here is the log from the commit of package qutebrowser for openSUSE:Factory checked in at 2020-02-18 10:36:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qutebrowser (Old) and /work/SRC/openSUSE:Factory/.qutebrowser.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qutebrowser" Tue Feb 18 10:36:01 2020 rev:41 rq:774697 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qutebrowser/qutebrowser.changes 2020-02-14 16:39:55.767671175 +0100 +++ /work/SRC/openSUSE:Factory/.qutebrowser.new.26092/qutebrowser.changes 2020-02-18 10:37:18.492565344 +0100 @@ -1,0 +2,26 @@ +Sun Feb 16 12:38:59 UTC 2020 - Martin Herkt <[email protected]> + +- Update to version 1.10.1 +Fixed + * Crash when saving data fails during shutdown (which was a + regression introduced in v1.9.0). + * Error while reading config.py when fonts.tabs or + fonts.debug_console is set to a value including default_size. + * When a state file contains invalid UTF-8 data, a proper error + is now displayed. + +Changed + * When the Qt version changes (and also on the first start of + v1.10.1 on Qt 5.14), service workers registered by websites are + now deleted. This is done as a workaround for QtWebEngine + issues causing crashes when visiting pages using service + workers (such as Google Mail/Drive). No persistent data should + be affected as websites can re-register their service workers, + but a (single) backup is kept at webengine/Service Worker-bak + in qutebrowser's data directory. + * Better output on stdout when config errors occur. + * The default for colors.statusbar.command.private.bg has been + changed to a slightly different gray, as a workaround for a Qt + issue where the cursor was invisible in that case. + +------------------------------------------------------------------- Old: ---- qutebrowser-1.10.0.tar.gz qutebrowser-1.10.0.tar.gz.asc New: ---- qutebrowser-1.10.1.tar.gz qutebrowser-1.10.1.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qutebrowser.spec ++++++ --- /var/tmp/diff_new_pack.rBW2Ja/_old 2020-02-18 10:37:21.384571245 +0100 +++ /var/tmp/diff_new_pack.rBW2Ja/_new 2020-02-18 10:37:21.388571252 +0100 @@ -17,7 +17,7 @@ Name: qutebrowser -Version: 1.10.0 +Version: 1.10.1 Release: 0 Summary: Keyboard-driven vim-like browser based on Qt5 License: GPL-3.0-or-later ++++++ qutebrowser-1.10.0.tar.gz -> qutebrowser-1.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/PKG-INFO new/qutebrowser-1.10.1/PKG-INFO --- old/qutebrowser-1.10.0/PKG-INFO 2020-02-02 21:48:56.897716000 +0100 +++ new/qutebrowser-1.10.1/PKG-INFO 2020-02-15 14:18:53.911422500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qutebrowser -Version: 1.10.0 +Version: 1.10.1 Summary: A keyboard-driven, vim-like browser based on PyQt5. Home-page: https://www.qutebrowser.org/ Author: Florian Bruhin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/doc/changelog.asciidoc new/qutebrowser-1.10.1/doc/changelog.asciidoc --- old/qutebrowser-1.10.0/doc/changelog.asciidoc 2020-02-02 21:44:34.000000000 +0100 +++ new/qutebrowser-1.10.1/doc/changelog.asciidoc 2020-02-15 14:18:26.000000000 +0100 @@ -15,6 +15,37 @@ // `Fixed` for any bug fixes. // `Security` to invite users to upgrade in case of vulnerabilities. +v1.10.1 (2020-02-15) +-------------------- + +Fixed +~~~~~ + +- Crash when saving data fails during shutdown (which was a regression + introduced in v1.9.0). +- Error while reading config.py when `fonts.tabs` or `fonts.debug_console` is + set to a value including `default_size`. +- When a `state` file contains invalid UTF-8 data, a proper error is now + displayed. + +Changed +~~~~~~~ + +- When the Qt version changes (and also on the first start of v1.10.1 on Qt + 5.14), service workers registered by websites are now deleted. This is done + as a workaround for QtWebEngine issues causing crashes when visiting pages + using service workers (such as Google Mail/Drive). No persistent data should + be affected as websites can re-register their service workers, but a (single) + backup is kept at `webengine/Service Worker-bak` in qutebrowser's data + directory. +- Better output on stdout when config errors occur. +- The `mkvenv.py` now ensures the latest versions of `setuptools` and `wheel` + are installed in the virtual environment, which should speed up installation + and fix install issues. +- The default for `colors.statusbar.command.private.bg` has been changed to a + slightly different gray, as a workaround for a Qt issue where the cursor was + invisible in that case. + v1.10.0 (2020-02-02) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/doc/qutebrowser.1 new/qutebrowser-1.10.1/doc/qutebrowser.1 --- old/qutebrowser-1.10.0/doc/qutebrowser.1 2020-02-02 21:48:54.000000000 +0100 +++ new/qutebrowser-1.10.1/doc/qutebrowser.1 2020-02-15 14:18:52.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: qutebrowser .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 02/02/2020 +.\" Date: 02/15/2020 .\" Manual: qutebrowser manpage .\" Source: qutebrowser .\" Language: English .\" -.TH "QUTEBROWSER" "1" "02/02/2020" "qutebrowser" "qutebrowser manpage" +.TH "QUTEBROWSER" "1" "02/15/2020" "qutebrowser" "qutebrowser manpage" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/misc/org.qutebrowser.qutebrowser.appdata.xml new/qutebrowser-1.10.1/misc/org.qutebrowser.qutebrowser.appdata.xml --- old/qutebrowser-1.10.0/misc/org.qutebrowser.qutebrowser.appdata.xml 2020-02-02 21:44:34.000000000 +0100 +++ new/qutebrowser-1.10.1/misc/org.qutebrowser.qutebrowser.appdata.xml 2020-02-15 14:17:45.000000000 +0100 @@ -44,6 +44,7 @@ </content_rating> <releases> <!-- Add new releases here --> +<release version="1.10.1" date="2020-02-15"/> <release version="1.10.0" date="2020-02-02"/> <release version="1.9.0" date="2020-01-08"/> <release version="1.8.3" date="2019-12-05"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/__init__.py new/qutebrowser-1.10.1/qutebrowser/__init__.py --- old/qutebrowser-1.10.0/qutebrowser/__init__.py 2020-02-02 21:44:34.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/__init__.py 2020-02-15 14:17:45.000000000 +0100 @@ -26,7 +26,7 @@ __license__ = "GPL" __maintainer__ = __author__ __email__ = "[email protected]" -__version__ = "1.10.0" +__version__ = "1.10.1" __version_info__ = tuple(int(part) for part in __version__.split('.')) __description__ = "A keyboard-driven, vim-like browser based on PyQt5." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/config/configdata.yml new/qutebrowser-1.10.1/qutebrowser/config/configdata.yml --- old/qutebrowser-1.10.0/qutebrowser/config/configdata.yml 2020-02-02 21:18:28.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/config/configdata.yml 2020-02-14 21:08:51.000000000 +0100 @@ -2326,7 +2326,7 @@ desc: Foreground color of the statusbar in private browsing + command mode. colors.statusbar.command.private.bg: - default: grey + default: darkslategray type: QssColor desc: Background color of the statusbar in private browsing + command mode. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/config/configexc.py new/qutebrowser-1.10.1/qutebrowser/config/configexc.py --- old/qutebrowser-1.10.0/qutebrowser/config/configexc.py 2020-01-30 10:15:50.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/config/configexc.py 2020-02-14 12:48:59.000000000 +0100 @@ -150,8 +150,7 @@ self.fatal = fatal for err in errors: if err.traceback: - log.config.debug("Config error stack:") - log.config.debug(err.traceback) + log.config.info(err.traceback) def to_html(self) -> str: """Get the error texts as a HTML snippet.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/config/configinit.py new/qutebrowser-1.10.1/qutebrowser/config/configinit.py --- old/qutebrowser-1.10.0/qutebrowser/config/configinit.py 2020-01-31 17:00:50.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/config/configinit.py 2020-02-14 12:48:59.000000000 +0100 @@ -68,7 +68,7 @@ else: configfiles.read_autoconfig() except configexc.ConfigFileErrors as e: - log.config.exception("Error while loading {}".format(e.basename)) + log.config.error("Error while loading {}".format(e.basename)) _init_errors = e try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/config/configtypes.py new/qutebrowser-1.10.1/qutebrowser/config/configtypes.py --- old/qutebrowser-1.10.0/qutebrowser/config/configtypes.py 2020-01-31 17:00:50.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/config/configtypes.py 2020-02-15 14:18:26.000000000 +0100 @@ -1287,8 +1287,8 @@ return configutils.FontFamilies.from_str(family_str) - def to_py(self, value: _StrUnset) -> typing.Union[usertypes.Unset, - None, QFont]: + def to_py(self, value: _StrUnset) -> typing.Union[ # noqa: C901 + usertypes.Unset, None, QFont]: self._basic_py_validation(value, str) if isinstance(value, usertypes.Unset): return value @@ -1333,7 +1333,10 @@ if size == 'default_size': size = self.default_size - if size.lower().endswith('pt'): + if size is None: + # initial validation before default_size is set up. + pass + elif size.lower().endswith('pt'): font.setPointSizeF(float(size[:-2])) elif size.lower().endswith('px'): font.setPixelSize(int(size[:-2])) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/git-commit-id new/qutebrowser-1.10.1/qutebrowser/git-commit-id --- old/qutebrowser-1.10.0/qutebrowser/git-commit-id 2020-02-02 21:48:56.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/git-commit-id 2020-02-15 14:18:53.000000000 +0100 @@ -1 +1 @@ -db05e19ae (2020-02-02 21:44:34 +0100) \ No newline at end of file +7fef6a9c8 (2020-02-15 14:17:18 +0100) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/changelog.html new/qutebrowser-1.10.1/qutebrowser/html/doc/changelog.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/changelog.html 2020-02-02 21:48:17.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/changelog.html 2020-02-15 14:18:29.000000000 +0100 @@ -807,6 +807,69 @@ </div> </div> <div class="sect1"> +<h2 id="_v1_10_1_2020_02_15">v1.10.1 (2020-02-15)</h2> +<div class="sectionbody"> +<div class="sect2"> +<h3 id="_fixed">Fixed</h3> +<div class="ulist"><ul> +<li> +<p> +Crash when saving data fails during shutdown (which was a regression + introduced in v1.9.0). +</p> +</li> +<li> +<p> +Error while reading config.py when <code>fonts.tabs</code> or <code>fonts.debug_console</code> is + set to a value including <code>default_size</code>. +</p> +</li> +<li> +<p> +When a <code>state</code> file contains invalid UTF-8 data, a proper error is now + displayed. +</p> +</li> +</ul></div> +</div> +<div class="sect2"> +<h3 id="_changed">Changed</h3> +<div class="ulist"><ul> +<li> +<p> +When the Qt version changes (and also on the first start of v1.10.1 on Qt + 5.14), service workers registered by websites are now deleted. This is done + as a workaround for QtWebEngine issues causing crashes when visiting pages + using service workers (such as Google Mail/Drive). No persistent data should + be affected as websites can re-register their service workers, but a (single) + backup is kept at <code>webengine/Service Worker-bak</code> in qutebrowser’s data + directory. +</p> +</li> +<li> +<p> +Better output on stdout when config errors occur. +</p> +</li> +<li> +<p> +The <code>mkvenv.py</code> now ensures the latest versions of <code>setuptools</code> and <code>wheel</code> + are installed in the virtual environment, which should speed up installation + and fix install issues. +</p> +</li> +<li> +<p> +The default for <code>colors.statusbar.command.private.bg</code> has been changed to a + slightly different gray, as a workaround for a Qt issue where the cursor was + invisible in that case. +</p> +</li> +</ul></div> +</div> +</div> +</div> +<div class="sect1"> <h2 id="_v1_10_0_2020_02_02">v1.10.0 (2020-02-02)</h2> <div class="sectionbody"> <div class="sect2"> @@ -828,7 +891,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed">Changed</h3> +<h3 id="_changed_2">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -918,7 +981,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed">Fixed</h3> +<h3 id="_fixed_2">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -1013,7 +1076,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_2">Changed</h3> +<h3 id="_changed_3">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -1159,7 +1222,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_2">Fixed</h3> +<h3 id="_fixed_3">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -1305,7 +1368,7 @@ <h2 id="_v1_8_3_2019_12_05">v1.8.3 (2019-12-05)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_3">Fixed</h3> +<h3 id="_fixed_4">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -1321,7 +1384,7 @@ <h2 id="_v1_8_2_2019_11_22">v1.8.2 (2019-11-22)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_3">Changed</h3> +<h3 id="_changed_4">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -1333,7 +1396,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_4">Fixed</h3> +<h3 id="_fixed_5">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -1405,7 +1468,7 @@ <h2 id="_v1_8_1_2019_09_27">v1.8.1 (2019-09-27)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_4">Changed</h3> +<h3 id="_changed_5">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -1462,7 +1525,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_5">Changed</h3> +<h3 id="_changed_6">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -1568,7 +1631,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_5">Fixed</h3> +<h3 id="_fixed_6">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -1757,7 +1820,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_6">Changed</h3> +<h3 id="_changed_7">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -1948,7 +2011,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_6">Fixed</h3> +<h3 id="_fixed_7">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2016,7 +2079,7 @@ <h2 id="_v1_6_3_2019_06_18">v1.6.3 (2019-06-18)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_7">Fixed</h3> +<h3 id="_fixed_8">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2048,7 +2111,7 @@ <h2 id="_v1_6_2_2019_05_06">v1.6.2 (2019-05-06)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_7">Changed</h3> +<h3 id="_changed_8">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2059,7 +2122,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_8">Fixed</h3> +<h3 id="_fixed_9">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2099,7 +2162,7 @@ <h2 id="_v1_6_1_2019_03_20">v1.6.1 (2019-03-20)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_8">Changed</h3> +<h3 id="_changed_9">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2111,7 +2174,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_9">Fixed</h3> +<h3 id="_fixed_10">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2231,7 +2294,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_9">Changed</h3> +<h3 id="_changed_10">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2360,7 +2423,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_10">Fixed</h3> +<h3 id="_fixed_11">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2496,7 +2559,7 @@ <h2 id="_v1_5_2_2018_10_26">v1.5.2 (2018-10-26)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_10">Changed</h3> +<h3 id="_changed_11">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2513,7 +2576,7 @@ <h2 id="_v1_5_1_2018_10_10">v1.5.1 (2018-10-10)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_11">Fixed</h3> +<h3 id="_fixed_12">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2656,7 +2719,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_11">Changed</h3> +<h3 id="_changed_12">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2788,7 +2851,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_12">Fixed</h3> +<h3 id="_fixed_13">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2860,7 +2923,7 @@ <h2 id="_v1_4_2_2018_09_02">v1.4.2 (2018-09-02)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_12">Changed</h3> +<h3 id="_changed_13">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -2877,7 +2940,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_13">Fixed</h3> +<h3 id="_fixed_14">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -2962,7 +3025,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_14">Fixed</h3> +<h3 id="_fixed_15">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3122,7 +3185,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_13">Changed</h3> +<h3 id="_changed_14">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -3295,7 +3358,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_15">Fixed</h3> +<h3 id="_fixed_16">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3366,7 +3429,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_16">Fixed</h3> +<h3 id="_fixed_17">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3393,7 +3456,7 @@ <h2 id="_v1_3_2_2018_06_10">v1.3.2 (2018-06-10)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_17">Fixed</h3> +<h3 id="_fixed_18">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3427,7 +3490,7 @@ <h2 id="_v1_3_1_2018_05_29">v1.3.1 (2018-05-29)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_18">Fixed</h3> +<h3 id="_fixed_19">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3502,7 +3565,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_14">Changed</h3> +<h3 id="_changed_15">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -3564,7 +3627,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_19">Fixed</h3> +<h3 id="_fixed_20">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3719,7 +3782,7 @@ <h2 id="_v1_2_1_2018_03_14">v1.2.1 (2018-03-14)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_20">Fixed</h3> +<h3 id="_fixed_21">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -3943,7 +4006,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_15">Changed</h3> +<h3 id="_changed_16">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -4076,7 +4139,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_21">Fixed</h3> +<h3 id="_fixed_22">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4249,7 +4312,7 @@ <h2 id="_v1_1_2_2018_03_01">v1.1.2 (2018-03-01)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_16">Changed</h3> +<h3 id="_changed_17">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -4260,7 +4323,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_22">Fixed</h3> +<h3 id="_fixed_23">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4280,7 +4343,7 @@ <h2 id="_v1_1_1_2018_01_20">v1.1.1 (2018-01-20)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_23">Fixed</h3> +<h3 id="_fixed_24">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4482,7 +4545,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_17">Changed</h3> +<h3 id="_changed_18">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -4637,7 +4700,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_24">Fixed</h3> +<h3 id="_fixed_25">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4780,7 +4843,7 @@ <h2 id="_v1_0_4_2017_11_28">v1.0.4 (2017-11-28)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_25">Fixed</h3> +<h3 id="_fixed_26">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4820,7 +4883,7 @@ <h2 id="_v1_0_3_2017_11_04">v1.0.3 (2017-11-04)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_18">Changed</h3> +<h3 id="_changed_19">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -4843,7 +4906,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_26">Fixed</h3> +<h3 id="_fixed_27">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4874,7 +4937,7 @@ <h2 id="_v1_0_2_2017_10_17">v1.0.2 (2017-10-17)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_27">Fixed</h3> +<h3 id="_fixed_28">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -4909,7 +4972,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_19">Changed</h3> +<h3 id="_changed_20">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -4924,7 +4987,7 @@ <h2 id="_v1_0_1_2017_10_13">v1.0.1 (2017-10-13)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_28">Fixed</h3> +<h3 id="_fixed_29">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -5124,7 +5187,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_20">Changed</h3> +<h3 id="_changed_21">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -5359,7 +5422,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_21">Changed</h3> +<h3 id="_changed_22">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -5524,7 +5587,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_29">Fixed</h3> +<h3 id="_fixed_30">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -5685,7 +5748,7 @@ <h2 id="_v0_10_1_2017_03_08">v0.10.1 (2017-03-08)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_22">Changed</h3> +<h3 id="_changed_23">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -5695,7 +5758,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_30">Fixed</h3> +<h3 id="_fixed_31">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -5842,7 +5905,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_23">Changed</h3> +<h3 id="_changed_24">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -5940,7 +6003,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_31">Fixed</h3> +<h3 id="_fixed_32">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6071,7 +6134,7 @@ <h2 id="_v0_9_1_2017_01_13">v0.9.1 (2017-01-13)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_32">Fixed</h3> +<h3 id="_fixed_33">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6217,7 +6280,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_24">Changed</h3> +<h3 id="_changed_25">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -6618,7 +6681,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_33">Fixed</h3> +<h3 id="_fixed_34">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6670,7 +6733,7 @@ <h2 id="_v0_8_3_2016_11_05">v0.8.3 (2016-11-05)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_34">Fixed</h3> +<h3 id="_fixed_35">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6741,7 +6804,7 @@ <h2 id="_v0_8_2_2016_08_02">v0.8.2 (2016-08-02)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_35">Fixed</h3> +<h3 id="_fixed_36">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6815,7 +6878,7 @@ <h2 id="_v0_8_1_2016_07_27">v0.8.1 (2016-07-27)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_36">Fixed</h3> +<h3 id="_fixed_37">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -6893,7 +6956,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_25">Changed</h3> +<h3 id="_changed_26">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -6932,7 +6995,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_37">Fixed</h3> +<h3 id="_fixed_38">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7069,7 +7132,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_26">Changed</h3> +<h3 id="_changed_27">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -7184,7 +7247,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_38">Fixed</h3> +<h3 id="_fixed_39">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7292,7 +7355,7 @@ <h2 id="_v0_6_2_2016_04_30">v0.6.2 (2016-04-30)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_39">Fixed</h3> +<h3 id="_fixed_40">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7329,7 +7392,7 @@ <h2 id="_v0_6_1_2016_04_10">v0.6.1 (2016-04-10)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_40">Fixed</h3> +<h3 id="_fixed_41">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7412,7 +7475,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_27">Changed</h3> +<h3 id="_changed_28">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -7469,7 +7532,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_41">Fixed</h3> +<h3 id="_fixed_42">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7577,7 +7640,7 @@ <h2 id="_v0_5_1_2016_01_18">v0.5.1 (2016-01-18)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_42">Fixed</h3> +<h3 id="_fixed_43">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7760,7 +7823,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_28">Changed</h3> +<h3 id="_changed_29">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -7898,7 +7961,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_43">Fixed</h3> +<h3 id="_fixed_44">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -7991,7 +8054,7 @@ <h2 id="_v0_4_1_2015_09_30">v0.4.1 (2015-09-30)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_44">Fixed</h3> +<h3 id="_fixed_45">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -8126,7 +8189,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_29">Changed</h3> +<h3 id="_changed_30">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -8193,7 +8256,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_45">Fixed</h3> +<h3 id="_fixed_46">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -8432,7 +8495,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_30">Changed</h3> +<h3 id="_changed_31">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -8522,7 +8585,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_46">Fixed</h3> +<h3 id="_fixed_47">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -8616,7 +8679,7 @@ <h2 id="_v0_2_1_2015_04_19">v0.2.1 (2015-04-19)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_fixed_47">Fixed</h3> +<h3 id="_fixed_48">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -8972,7 +9035,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_changed_31">Changed</h3> +<h3 id="_changed_32">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -9198,7 +9261,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_48">Fixed</h3> +<h3 id="_fixed_49">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -9293,7 +9356,7 @@ <h2 id="_v0_1_4_2015_03_19">v0.1.4 (2015-03-19)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_32">Changed</h3> +<h3 id="_changed_33">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -9358,7 +9421,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_49">Fixed</h3> +<h3 id="_fixed_50">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -9443,7 +9506,7 @@ <h2 id="_v0_1_3_2015_02_12">v0.1.3 (2015-02-12)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_33">Changed</h3> +<h3 id="_changed_34">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -9468,7 +9531,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_50">Fixed</h3> +<h3 id="_fixed_51">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -9558,7 +9621,7 @@ <h2 id="_v0_1_2_2015_01_09">v0.1.2 (2015-01-09)</h2> <div class="sectionbody"> <div class="sect2"> -<h3 id="_changed_34">Changed</h3> +<h3 id="_changed_35">Changed</h3> <div class="ulist"><ul> <li> <p> @@ -9583,7 +9646,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_51">Fixed</h3> +<h3 id="_fixed_52">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -9763,7 +9826,7 @@ </ul></div> </div> <div class="sect2"> -<h3 id="_fixed_52">Fixed</h3> +<h3 id="_fixed_53">Fixed</h3> <div class="ulist"><ul> <li> <p> @@ -9885,7 +9948,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:15 CET + 2020-02-15 14:18:27 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/commands.html new/qutebrowser-1.10.1/qutebrowser/html/doc/commands.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/commands.html 2020-02-02 21:48:26.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/commands.html 2020-02-15 14:18:37.000000000 +0100 @@ -4972,7 +4972,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:23 CET + 2020-02-15 14:18:34 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/configuring.html new/qutebrowser-1.10.1/qutebrowser/html/doc/configuring.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/configuring.html 2020-02-02 21:48:35.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/configuring.html 2020-02-15 14:18:43.000000000 +0100 @@ -1299,7 +1299,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:26 CET + 2020-02-15 14:18:37 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/contributing.html new/qutebrowser-1.10.1/qutebrowser/html/doc/contributing.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/contributing.html 2020-02-02 21:48:22.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/contributing.html 2020-02-15 14:18:33.000000000 +0100 @@ -2204,7 +2204,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:17 CET + 2020-02-15 14:18:29 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/faq.html new/qutebrowser-1.10.1/qutebrowser/html/doc/faq.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/faq.html 2020-02-02 21:48:15.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/faq.html 2020-02-15 14:18:27.000000000 +0100 @@ -1574,7 +1574,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:14 CET + 2020-02-15 14:18:26 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/index.html new/qutebrowser-1.10.1/qutebrowser/html/doc/index.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/index.html 2020-02-02 21:48:42.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/index.html 2020-02-15 14:18:48.000000000 +0100 @@ -905,7 +905,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:42 CET + 2020-02-15 14:18:48 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/quickstart.html new/qutebrowser-1.10.1/qutebrowser/html/doc/quickstart.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/quickstart.html 2020-02-02 21:48:22.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/quickstart.html 2020-02-15 14:18:33.000000000 +0100 @@ -983,7 +983,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:22 CET + 2020-02-15 14:18:33 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/settings.html new/qutebrowser-1.10.1/qutebrowser/html/doc/settings.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/settings.html 2020-02-02 21:48:42.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/settings.html 2020-02-15 14:18:48.000000000 +0100 @@ -4064,7 +4064,7 @@ <h3 id="colors.statusbar.command.private.bg">colors.statusbar.command.private.bg</h3> <div class="paragraph"><p>Background color of the statusbar in private browsing + command mode.</p></div> <div class="paragraph"><p>Type: <a href="#types">QssColor</a></p></div> -<div class="paragraph"><p>Default: <code>grey</code></p></div> +<div class="paragraph"><p>Default: <code>darkslategray</code></p></div> </div> <div class="sect2"> <h3 id="colors.statusbar.command.private.fg">colors.statusbar.command.private.fg</h3> @@ -7777,7 +7777,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:35 CET + 2020-02-15 14:18:43 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/html/doc/userscripts.html new/qutebrowser-1.10.1/qutebrowser/html/doc/userscripts.html --- old/qutebrowser-1.10.0/qutebrowser/html/doc/userscripts.html 2020-02-02 21:48:23.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/html/doc/userscripts.html 2020-02-15 14:18:34.000000000 +0100 @@ -968,7 +968,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-02-02 21:48:22 CET + 2020-02-15 14:18:33 CET </div> </div> </body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/misc/backendproblem.py new/qutebrowser-1.10.1/qutebrowser/misc/backendproblem.py --- old/qutebrowser-1.10.0/qutebrowser/misc/backendproblem.py 2020-01-30 10:16:18.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/misc/backendproblem.py 2020-02-14 12:48:59.000000000 +0100 @@ -440,6 +440,41 @@ if os.path.exists(cache_dir): shutil.rmtree(cache_dir) + def _handle_serviceworker_nuking(self) -> None: + """Nuke the service workers directory if the Qt version changed. + + WORKAROUND for: + https://bugreports.qt.io/browse/QTBUG-72532 + https://bugreports.qt.io/browse/QTBUG-82105 + """ + if ('serviceworker_workaround' not in configfiles.state['general'] and + qtutils.version_check('5.14', compiled=False)): + # Nuke the service worker directory once for every install with Qt + # 5.14, given that it seems to cause a variety of segfaults. + configfiles.state['general']['serviceworker_workaround'] = '514' + affected = True + else: + # Otherwise, just nuke it when the Qt version changed. + affected = configfiles.state.qt_version_changed + + if not affected: + return + + service_worker_dir = os.path.join(standarddir.data(), 'webengine', + 'Service Worker') + bak_dir = service_worker_dir + '-bak' + if not os.path.exists(service_worker_dir): + return + + log.init.info("Qt version changed, removing service workers") + + # Keep one backup around - we're not 100% sure what persistent data + # could be in there, but this folder can grow to ~300 MB. + if os.path.exists(bak_dir): + shutil.rmtree(bak_dir) + + shutil.move(service_worker_dir, bak_dir) + def _assert_backend(self, backend: usertypes.Backend) -> None: assert objects.backend == backend, objects.backend @@ -452,6 +487,7 @@ self._nvidia_shader_workaround() self._handle_nouveau_graphics() self._handle_cache_nuking() + self._handle_serviceworker_nuking() else: self._assert_backend(usertypes.Backend.QtWebKit) self._handle_ssl_support(fatal=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser/misc/savemanager.py new/qutebrowser-1.10.1/qutebrowser/misc/savemanager.py --- old/qutebrowser-1.10.0/qutebrowser/misc/savemanager.py 2020-01-30 10:15:50.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser/misc/savemanager.py 2020-02-15 14:18:26.000000000 +0100 @@ -28,6 +28,7 @@ from qutebrowser.config import config from qutebrowser.api import cmdutils from qutebrowser.utils import utils, log, message, usertypes, error +from qutebrowser.misc import objects class Saveable: @@ -212,5 +213,5 @@ self.save(key, is_exit=True) except OSError as e: error.handle_fatal_exc( - e, self._args, "Error while saving!", + e, objects.args, "Error while saving!", pre_text="Error while saving {}".format(key)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/qutebrowser.egg-info/PKG-INFO new/qutebrowser-1.10.1/qutebrowser.egg-info/PKG-INFO --- old/qutebrowser-1.10.0/qutebrowser.egg-info/PKG-INFO 2020-02-02 21:48:56.000000000 +0100 +++ new/qutebrowser-1.10.1/qutebrowser.egg-info/PKG-INFO 2020-02-15 14:18:53.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qutebrowser -Version: 1.10.0 +Version: 1.10.1 Summary: A keyboard-driven, vim-like browser based on PyQt5. Home-page: https://www.qutebrowser.org/ Author: Florian Bruhin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qutebrowser-1.10.0/scripts/mkvenv.py new/qutebrowser-1.10.1/scripts/mkvenv.py --- old/qutebrowser-1.10.0/scripts/mkvenv.py 2020-01-30 10:16:18.000000000 +0100 +++ new/qutebrowser-1.10.1/scripts/mkvenv.py 2020-02-14 12:48:59.000000000 +0100 @@ -158,10 +158,15 @@ venv.create(str(venv_dir), with_pip=True) -def upgrade_pip(venv_dir: pathlib.Path) -> None: - """Upgrade pip inside a virtualenv.""" - utils.print_title("Upgrading pip") +def upgrade_seed_pkgs(venv_dir: pathlib.Path) -> None: + """Upgrade initial seed packages inside a virtualenv. + + This also makes sure that wheel is installed, which causes pip to use its + wheel cache for rebuilds. + """ + utils.print_title("Upgrading initial packages") pip_install(venv_dir, '-U', 'pip') + pip_install(venv_dir, '-U', 'setuptools', 'wheel') def pyqt_requirements_file(version: str): @@ -241,7 +246,7 @@ delete_old_venv(venv_dir) create_venv(venv_dir, use_virtualenv=args.virtualenv) - upgrade_pip(venv_dir) + upgrade_seed_pkgs(venv_dir) if args.pyqt_type == 'binary': install_pyqt_binary(venv_dir, args.pyqt_version)
