Releases: mlcommons/ck
Releases · mlcommons/ck
major installation bug fix
Fixed major installation bug (non UTF-8 character).
Fixed pip installation from Anaconda; minor updates
- fixed CK execution with Anaconda python (Linux and MacOS) when installed via pip:
pip install ck
or
pip install ck --user
- improved OpenME to call CK in dynamic websites
- added passing of $_SESSION, $_POST, $_GET to CK via OpenME
- added "Access-Control-Allow-Origin=*" to module:web to be able to access CK from local web pages
- added possibility to change default repo using "CK_DEFAULT_REPO" env var
- added flag --module_version to use different Python module (module{.{module_version}}.py)
minor improvements and fixes
- allowed local widget to fetch data from cKnowledge.org (or other) website: #93
- automatically print API of redirected functions (ck --help)
- improved module API printing
- added pypi download stats
- fixed minor problem with "ck renew repo" - now takes already existing UID instead of generating a new one
bug fixes from the community
This release fixes several bugs reported by the community:
- fixed minor bug in "ck rm" when deleting entries only from allowed repos (for crowdsourcing)
- fixed problem with wrong repo UID when repo is installed from zip archive
- added flag --all to "ck zip" to archive all files including .git
- fixed "ck add repo --zip" if zip contains Git repository (making it shared)
added several productivity functions and fixed a few minor issues
Changes:
- added "debug":"yes" to kernel for GitHub versions
- fixed minor bug in detection of minimal CK kernel version (important since current python3-ck in official Ubunutu 17.04 is quite outdated: v1.7.2)
- fixed tests to report the error detected by running ck.access() or equivalent
- testfix: stop testing 3.5dev and nightly Python, but add 3.6 which everyone uses
- improved auto-generation of a list of all modules and actions: http://cKnowledge.org/shared-modules.html
- made removal of \r in text files safer on Windows (across different Python versions)
- added TARGET remark to all CK kernel functions to show target audience (end users vs CK kernel developers). Used in "ck list_kernel_functions misc".
- improved recaching of repos (taking latest updates from .ckr.json into account)
- blocked copying of repositories to avoid duplication of CK entries
- added "ck python_version" to print Python version used by CK
- now when calling ck without arguments, it will print just a short help
added debug mode
- added CK internal var "debug". If set to "yes", print error when CK entries are broken or ignore them (now default). See ctuning/ck-tensorflow@c4ddfcd#commitcomment-25230616
- fixed minor bug when searching repo by UID when repo doesn't exist
minor bug fixes
Mainly minor bug fixes based on user feedback:
- fixed issue #80 (adding zip repo if starts with ~)
- fixed issue #81 (when renaming entry with data_name==data_alias, change it to the new alias)
- added flag --name (duplicate of --show_name) to "ck ls"
- fixed issue #82 (detecting name of repo from the zip filename)
- fixed repo renaming (now updates .ckr.json and recache repo properly)
added productivity functions based on user feedback and fixing minor issues
Improvements:
- added "ck cd {CK entry}" to open a new shell in a given CK entry
- added ck.compare_dicts examples
- fixed some self tests
- added safe recording of JSON (even if some keys are not serializable)
- printing user-friendly name (from info.json "data_name") when removing entries.
Useful when deleting env entries (ck rm env:*) - added more user-friendly configuration of internal CK variables via
$ ck set kernel
$ ck set kernel var.install_to_env=yes - added safe deletion of CK entries with Git files on Windows
- automated adding CK .zip repos without questions
Started experimental functionality for stable CK repositories
Improvements in this version:
- added ck.debug_out(i) to print dict to console
- fixed strange warnings for Python 3.5+ on Windows and Linux (when installed via pip)
- fixed repo renewing on latest Windows (when access error to Git files)
- added ck show repo to show git status of all repos
- started highly experimental support for stable repos or different branches/checkouts (particularly useful for Artifact Evaluation to check out only stable repos)
fixing major bug when adding new module
Changes in version 1.8.7:
- fixed major bug with default license/author (to avoid crashing when adding new module)
- fixed minor bug in API when starting CK web service and viewing entry (wcid option)
- allow ~ in an archive name when archiving CK entries using 'ck zip ...'