|
From: Thomas L. <ta...@gm...> - 2020-01-25 12:15:35
|
I've made new releases of various tools to complete the Python 3 transition. Here are the combined release notes: 0install (old Python branch): 2.3.7: - Update to new apps.0install.net URIs. - Add may_compile to Requirements slots. This avoids an error if we try to use the Python 0install library to read a requirements file generated by the OCaml version of 0install. Error was: AttributeError: 'Requirements' object has no attribute 'may_compile' - Windows needs gobject too. See: https://github.com/0install/0compile/issues/4 - Switch from tulip mainloop to asyncio. This is used when glib/gobject isn't available. Tulip was an experimental library, but Python 3.7's asyncio seems almost identical. - Rename "async" to "aasync" for Python 3.7. "async" is a keyboard in Python 3.7, making the old code a syntax error. When running on Python < 3.7, the old "async" is still available as an alias. 2.3.8: - Require Python >= 3.4 and drop gobject requirement. 2.3.9: - Fix import error on Python 3.5 and 3.6. 2.3.10: - Fix occasional crash when downloading in Python 3. Error was: TypeError: '<' not supported between instances of 'Download' and 'Download' - Update for new PackageKit API. - Explicitly depend on pywin32 on Windows. 0publish 0.26 (https://docs.0install.net/tools/0publish/): - Migrate to Python 3. - Add Travis tests. - Replace repo.roscidus.com feeds with apps.0install.net (Bastian Eicher). - Fix digest generation. We previously called hexdigest to get the digest, but the newer algorithms use base32. Use the proper helper method to get the right format. 0test 0.10 (https://docs.0install.net/tools/0test/): - Allow passing an app name as the first argument. If no versions are specified, we test the versions currently used by the app. Otherwise, we just get the URI from the app but select our own versions. - Convert to Python 3. - Add Travis tests. - Update from old repo.roscidus.com names. 0compile 1.7 (https://docs.0install.net/tools/0compile/): - Migrate to Python 3. - Use aasync instead of async for Python 3.7 compatibility. - Remove gobject.threads_init. Not needed on newer versions and we import support.tasks, which will do it for us anyway if needed. - Replace repo.roscidus.com feeds with apps.0install.net (Bastian Eicher). 0release 0.17 (https://docs.0install.net/tools/0release/): - Migrate to Python 3. - Add .coveragerc to measure 0release's test suite. - Replace repo.roscidus.com feeds with apps.0install.net (Bastian Eicher). 0repo 0.11 (https://docs.0install.net/tools/0repo/): - Migrate to Python 3. - Add upgrade instructions. - Migrate test GPG keys to new format. - Replace repo.roscidus.com feeds with apps.0install.net (Bastian Eicher). -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC |