{"id":356,"date":"2018-08-22T21:22:37","date_gmt":"2018-08-22T20:22:37","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?p=356"},"modified":"2018-08-22T21:50:31","modified_gmt":"2018-08-22T20:50:31","slug":"chaquopy-version-4-0-0","status":"publish","type":"post","link":"https:\/\/chaquo.com\/chaquopy\/chaquopy-version-4-0-0\/","title":{"rendered":"Chaquopy version 4.0.0"},"content":{"rendered":"<p>This version adds support for Android Gradle plugin version 3.2, and removes support for version 2.3.<\/p>\n<p>Other changes:<\/p>\n<ul class=\"simple\">\n<li>Add\u00a0<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/resource.html#module-resource\"><code class=\"xref any docutils literal\"><span class=\"pre\">resource<\/span><\/code><\/a>\u00a0module.<\/li>\n<li>Remove broken\u00a0<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/select.html#select.kevent\"><code class=\"xref any docutils literal\"><span class=\"pre\">select.kevent<\/span><\/code><\/a>\/<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/select.html#select.kqueue\"><code class=\"xref any docutils literal\"><span class=\"pre\">select.kqueue<\/span><\/code><\/a>\u00a0API. This affected\u00a0<a class=\"reference external\" href=\"https:\/\/pypi.org\/project\/pyzmq\/\">PyZMQ<\/a>, which should now work (Crystax issue\u00a0<a class=\"reference external\" href=\"https:\/\/tracker.crystax.net\/issues\/1433\">#1433<\/a>).<\/li>\n<li>Set\u00a0<code class=\"code docutils literal\"><span class=\"pre\">HOME<\/span><\/code>\u00a0environment variable if the system hasn\u2019t already done so, so\u00a0<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/os.path.html#os.path.expanduser\"><code class=\"xref any docutils literal\"><span class=\"pre\">os.path.expanduser<\/span><\/code><\/a>\u00a0can return a usable location.<\/li>\n<li>Implement\u00a0<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/importlib.html#importlib.abc.InspectLoader.get_code\"><code class=\"xref any docutils literal\"><span class=\"pre\">importlib.abc.InspectLoader.get_code<\/span><\/code><\/a>: this allows\u00a0<a class=\"reference external\" title=\"(in Python v3.7)\" href=\"https:\/\/docs.python.org\/3\/library\/runpy.html#runpy.run_module\"><code class=\"xref any docutils literal\"><span class=\"pre\">runpy.run_module<\/span><\/code><\/a>\u00a0to be used.<\/li>\n<\/ul>\n<p>The following packages have been added to the\u00a0<a href=\"https:\/\/chaquo.com\/pypi-2.1\/\">repository<\/a>\u00a0since the previous version:<\/p>\n<ul>\n<li>cymem<\/li>\n<li>cytoolz<\/li>\n<li>lxml<\/li>\n<li>murmurhash<\/li>\n<li>obspy<\/li>\n<li>preshed<\/li>\n<li>spacy<\/li>\n<li>thinc<\/li>\n<li>twisted<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This version adds support for Android Gradle plugin version 3.2, and removes support for version 2.3. Other changes: Add\u00a0resource\u00a0module. Remove broken\u00a0select.kevent\/select.kqueue\u00a0API. This affected\u00a0PyZMQ, which should now work (Crystax issue\u00a0#1433). Set\u00a0HOME\u00a0environment variable if the system hasn\u2019t already done so, so\u00a0os.path.expanduser\u00a0can return a usable location. Implement\u00a0importlib.abc.InspectLoader.get_code: this allows\u00a0runpy.run_module\u00a0to be used. The following packages have been added to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":7,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":364,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/356\/revisions\/364"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}