{"id":388,"date":"2019-01-19T21:30:12","date_gmt":"2019-01-19T21:30:12","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?p=388"},"modified":"2019-01-19T21:43:41","modified_gmt":"2019-01-19T21:43:41","slug":"chaquopy-version-5-1-2","status":"publish","type":"post","link":"https:\/\/chaquo.com\/chaquopy\/chaquopy-version-5-1-2\/","title":{"rendered":"Chaquopy version 5.1.2"},"content":{"rendered":"<p>This version adds the following features:<\/p>\n<ul class=\"simple\">\n<li>Add\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">PyObject<\/span><\/code>\u00a0primitive conversion methods (<code class=\"code docutils literal notranslate\"><span class=\"pre\">toBoolean<\/span><\/code>,\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">toInt<\/span><\/code>, etc.).<\/li>\n<li>Add\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">PyObject<\/span><\/code>\u00a0container view methods (<code class=\"code docutils literal notranslate\"><span class=\"pre\">asList<\/span><\/code>,\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">asMap<\/span><\/code>\u00a0and\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">asSet<\/span><\/code>).<\/li>\n<li>Make APK build more reproducible.<\/li>\n<\/ul>\n<p>And fixes the following bugs:<\/p>\n<ul class=\"simple\">\n<li>If\u00a0<code class=\"code docutils literal notranslate\"><span class=\"pre\">pkg_resources<\/span><\/code>\u00a0is installed in your app, its\u00a0<a class=\"reference external\" href=\"https:\/\/setuptools.readthedocs.io\/en\/latest\/pkg_resources.html#basic-resource-access\">\u201cbasic resource access\u201d<\/a>\u00a0functions will now work.<\/li>\n<li>Remove directory names when converting exception stack traces from Python to Java. This works around a bug in Google Play which was causing crash reports to be incomplete.<\/li>\n<li>Change default character encoding from ASCII to UTF-8.<\/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>ephem<\/li>\n<li>pycrypto<\/li>\n<li>tensorflow<\/li>\n<\/ul>\n<p>And the following packages have been updated:<\/p>\n<ul>\n<li>chaquopy-openblas (fixed a <a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/68\">build problem<\/a>\u00a0which caused a crash in SciPy)<\/li>\n<li>scipy (1.1.0)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This version adds the following features: Add\u00a0PyObject\u00a0primitive conversion methods (toBoolean,\u00a0toInt, etc.). Add\u00a0PyObject\u00a0container view methods (asList,\u00a0asMap\u00a0and\u00a0asSet). Make APK build more reproducible. And fixes the following bugs: If\u00a0pkg_resources\u00a0is installed in your app, its\u00a0\u201cbasic resource access\u201d\u00a0functions will now work. Remove directory names when converting exception stack traces from Python to Java. This works around a bug in Google [&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\/388"}],"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=388"}],"version-history":[{"count":4,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":392,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/388\/revisions\/392"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}