{"id":563,"date":"2021-09-22T22:37:18","date_gmt":"2021-09-22T21:37:18","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?p=563"},"modified":"2021-10-13T13:46:30","modified_gmt":"2021-10-13T12:46:30","slug":"chaquopy-version-10-0-1","status":"publish","type":"post","link":"https:\/\/chaquo.com\/chaquopy\/chaquopy-version-10-0-1\/","title":{"rendered":"Chaquopy version 10.0.1"},"content":{"rendered":"\n<p>Changes:<\/p>\n\n\n\n<ul><li>Android Gradle plugin versions 4.2 and 7.0 are now supported, and versions 3.4 and 3.5 are no longer supported.<\/li><li>The\u00a0<code>version<\/code>\u00a0setting is no longer supported. Simply remove it to use the current version of Python.<\/li><li>Update to Python version 3.8.11 (see\u00a0<a href=\"https:\/\/docs.python.org\/3.8\/whatsnew\/changelog.html\">its changelog<\/a>\u00a0for details).<\/li><li>Update to pip version 19.2.3 (see\u00a0<a href=\"https:\/\/pip.pypa.io\/en\/stable\/news\/\">its changelog<\/a>\u00a0for details).<\/li><li>Update CA bundle to certifi 2021.5.30.<\/li><li>Add a\u00a0<code>buffer<\/code>\u00a0attribute to stdout and stderr for bytes output (<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/464\">#464<\/a>,\u00a0<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/516\">#516<\/a>).<\/li><li>Java arrays now support the\u00a0<code>index<\/code>\u00a0and\u00a0<code>count<\/code>\u00a0methods in Python. In order to support code with\u00a0<code>hasattr<\/code>\u00a0checks, they also now implement the methods\u00a0<code>__contains__<\/code>,\u00a0<code>__iter__<\/code>\u00a0and\u00a0<code>__reversed__<\/code>, rather than relying on the fallback to\u00a0<code>__getitem__<\/code>\u00a0(<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/306\">#306<\/a>).<\/li><li>Fix \u201ctruth value of an array with more than one element is ambiguous\u201d error when passing a NumPy array to a method which takes a Java array (<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/526\">#526<\/a>).<\/li><li>NumPy integer scalars, and anything else which implements the\u00a0<code>__index__<\/code>\u00a0method, can now be used as a Java array index (<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/495\">#495<\/a>).<\/li><li>Add workaround to help conda Python on Windows find its SSL libraries (<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/450\">#450<\/a>).<\/li><li>Fix \u201cinvalid literal for int\u201d error in pip_install when project path includes a symlink (<a href=\"https:\/\/github.com\/chaquo\/chaquopy\/issues\/468\">#468<\/a>).<\/li><li>Fix crash caused by empty files in the APK on Android 7 (<a href=\"https:\/\/github.com\/Electron-Cash\/Electron-Cash\/issues\/2136\">Electron Cash #2136<\/a>).<\/li><li><a href=\"https:\/\/docs.python.org\/3\/library\/importlib.html#importlib.util.spec_from_file_location\"><code>importlib.util.spec_from_file_location<\/code><\/a>\u00a0now works for paths loaded from the APK.<\/li><\/ul>\n\n\n\n<p>The following packages have been added to the&nbsp;<a href=\"https:\/\/chaquo.com\/pypi-7.0\/\">repository<\/a>&nbsp;since the previous version:<\/p>\n\n\n\n<ul><li>argon2-cffi<\/li><li>backports.zoneinfo<\/li><li>bitarray<\/li><li>google-crc32c<\/li><li>pycurl<\/li><li>ruamel.yaml.clib<\/li><li>sentencepiece<\/li><li>tflite-runtime<\/li><li>tokenizers<\/li><li>wordcloud<\/li><\/ul>\n\n\n\n<p>And the following packages have been updated:<\/p>\n\n\n\n<ul><li>cryptography<\/li><li>grpcio<\/li><li>lxml<\/li><li>multidict<\/li><li>opencv-python<\/li><li>pandas<\/li><li>scikit-learn<\/li><li>torch<\/li><li>torchvision<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Changes: Android Gradle plugin versions 4.2 and 7.0 are now supported, and versions 3.4 and 3.5 are no longer supported. The\u00a0version\u00a0setting is no longer supported. Simply remove it to use the current version of Python. Update to Python version 3.8.11 (see\u00a0its changelog\u00a0for details). Update to pip version 19.2.3 (see\u00a0its changelog\u00a0for details). Update CA bundle 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\/563"}],"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=563"}],"version-history":[{"count":2,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/563\/revisions"}],"predecessor-version":[{"id":566,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/posts\/563\/revisions\/566"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/categories?post=563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/tags?post=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}