Michael Nguyen
67b610373d
Merge pull request #1578 from MycroftAI/feature/msm-upgrade
...
Upgrade msm
2018-05-10 17:51:01 -04:00
Matthew D. Scholefield
88e118538d
Upgrade msm
...
This brings in a bug fix that prevents space separated words from having a low confidence in the search
2018-05-10 15:54:50 -05:00
Michael Nguyen
4d571adfbe
Merge pull request #1577 from MycroftAI/feature/msm-config
...
Add configuration values for msm
2018-05-10 14:50:04 -04:00
Matthew D. Scholefield
033f5dc010
Add configuration values for msm
2018-05-10 13:11:03 -05:00
Åke
c6ab815c62
Merge pull request #1575 from MycroftAI/feature/msm-0.5.3
...
Upgrade msm
2018-05-10 19:03:27 +02:00
Matthew D. Scholefield
355fd0f084
Upgrade msm
...
This fixes sudo pip access through a sudoers file
2018-05-10 11:44:56 -05:00
Åke
98ede52596
Merge pull request #1572 from MycroftAI/feature/py_msm
...
Cleanup skill loading and implement python msm
2018-05-09 23:25:40 +02:00
Matthew D. Scholefield
6ecf4d986f
Reinstall pip dependencies if virtualenv is removed
...
This keeps track of the skills whose dependencies have already been installed. While it won't automatically register newly installed skills, it will attempt to reinstall dependencies the next boot only one time so it shouldn't be a big issue.
2018-05-09 16:07:04 -05:00
Michael Nguyen
c1a0963dad
Merge pull request #1574 from MycroftAI/bugfix/change-skill-settings-hash
...
Change skill settings hash to use skill name
2018-05-08 20:04:27 -04:00
Matthew D. Scholefield
e86e0546d7
Make settings meta hashes consistent
...
str(dict) in python in implementation defined. json.dumps(..., sort_keys=True) is not
2018-05-08 17:17:45 -05:00
reginaneon
c643cc9368
Typo in the Engine Options
2018-05-08 16:37:20 -05:00
Matthew D. Scholefield
c301a3ca4d
Change skill settings hash to use skill name
...
This prevents issues with the skill settings being dependent on skill folders. This is an issue because the new msm has a new skill naming scheme
2018-05-08 16:23:53 -05:00
Matthew D. Scholefield
a20b5b565c
Cleanup skill loading and implement python msm
2018-05-08 13:41:51 -05:00
Matthew D. Scholefield
99307a96bc
Merge pull request #1568 from MycroftAI/18.02
...
The BIG move to python3
2018-05-08 10:19:35 -05:00
Matthew D. Scholefield
adc1189a86
Merge pull request #1570 from jrwarwick/feature/skiller-settingsmeta
...
skiller.sh addition: settingsmeta.json.example creation
2018-05-07 09:47:24 -05:00
Matthew D. Scholefield
2910621f80
Fix formatting in skiller.sh
2018-05-07 09:46:02 -05:00
Åke Forslund
cf5b09a0e3
Add travis tests for python versions 3.4-3.6
2018-05-05 16:59:20 +02:00
jrwarwick
db05a0cabb
Clean up quoting and escaping for the settingsmeta.json.example and make gitignore entry.
2018-05-04 16:04:31 -07:00
jrwarwick
bb5676f353
Add a settingsmeta.json.example creator heredoc.
2018-05-04 09:04:19 -07:00
Åke Forslund
61aeeb8c00
Fix issue using basestring
...
Checking against basestring was necessary in python two since unicode and string were separate classes. In python3 basestring was removed since different string classes have been removed.
2018-05-04 11:42:13 +02:00
Åke Forslund
bf404b0bbc
Fix python3 issues in serial transmission
...
Added basic conversion between string and bytes for sending data on the serial line.
2018-05-04 11:42:05 +02:00
Åke Forslund
8c5911ecf0
Fix code standard issues
...
- dev_setup.sh - replace `` with $()
- mycroft/skills/core.py remove remove redundant imports
- mycroft/tts/__init__.py remove remove redundant imports
2018-05-03 12:32:21 +02:00
Åke Forslund
8d81b4473b
Fix french "centième" handling
2018-05-02 10:01:04 +02:00
Åke Forslund
1d0844f2c4
Fix failing tests.
...
core.py: replace zip with list comprehension
test_parse_fr.py: remove superfluous "0":s
2018-05-02 09:17:50 +02:00
Åke Forslund
5d50d22061
Fix listing skills
...
python3 dict_keys can't be serialized to json, and needs to be
explicitly converted to list
2018-05-02 08:35:17 +02:00
Matthew D. Scholefield
82a61c76c7
Fix infinite skill reloading by disabling folder checks
...
Python 3 modifies the __pycache__ folder which makes the parent folders update their timestamps causing an infinite skill reload
2018-04-27 11:44:07 -05:00
Matthew D. Scholefield
0abc3c78b1
Fix counting function arguments in Python 3
2018-04-27 11:42:54 -05:00
Matthew D. Scholefield
57a9b0b8e1
Fix running rePIP hack in msm
2018-04-27 11:42:27 -05:00
Matthew D. Scholefield
f7f55546f3
Check for bin/activate when deciding to install venv
2018-04-27 09:14:11 -05:00
Matthew D. Scholefield
de6a8f3ade
Fix venv on Ubuntu
2018-04-27 09:12:17 -05:00
Åke Forslund
d7494193d1
Remove backwards compatibility from tests
2018-04-27 08:58:36 -05:00
Åke Forslund
e6ed237326
Update msm, venv replaces virtualenvwrapper
2018-04-27 08:58:36 -05:00
Åke Forslund
0b0919e542
Fix dev_setup issues
...
- venv is CAN be setup in custom directory
- restore package installation
- set correct package for python3-venv
2018-04-27 08:57:48 -05:00
Åke Forslund
5447983999
Use sorted json to perform hash of settings
2018-04-27 08:57:48 -05:00
Matthew D. Scholefield
3894bc3641
Add .venv/ to .gitignore
2018-04-27 08:57:48 -05:00
Matthew D. Scholefield
78a6ec1ceb
Fix cli crash with Python 3
...
This worked in Python 2 because type(4 / 2) == int but in Python 3 type(4 / 2) == float
2018-04-27 08:56:47 -05:00
Åke Forslund
8673f9cbb9
Replace virtualenv with python3 venv
...
TODO msm
2018-04-27 08:56:47 -05:00
Åke Forslund
a2993e4ba6
Remove backwards compatibility with python 2.7
2018-04-27 08:51:47 -05:00
Åke Forslund
b200d51d39
Fix test cases under python 3
...
Lots of minor fixes including, sorting dicts, making ints of strings,
MagicMock file spec and some other things
A couple of issues in the mycroft-core code base were identified and
fixed. Most notably the incorrect version check for python three when
adding basestring.
Update .travis.yml
2018-04-27 08:50:46 -05:00
Åke Forslund
8840a43886
Fix hashes in settings for python3
...
convert strings to bytes before hashing
2018-04-27 08:50:46 -05:00
Åke Forslund
d4ba484ad9
Make text client python2/3 compatible
...
- Make str unicode string
- Use BytesIO for python2 and StringIO for python3
2018-04-27 08:50:46 -05:00
Åke Forslund
c6584d603d
Make speech client python3 compatible
2018-04-27 08:50:46 -05:00
Åke Forslund
ba8cfcab30
Update dev_setup.sh to install python3
...
This also adds the possibility to set the environment variable MYCROFT_VENV to separate the virtual env for python3 from the stable version.
Example:
export MYCROFT_VENV=mycroft-18.02
./dev_setup.sh
./start-mycroft.sh all
2018-04-27 08:50:46 -05:00
devs-mycroft
ad49a48d34
Version bump from 18.2.4 to 18.2.5
2018-04-27 08:59:31 +00:00
Åke
2f8b149dbd
Merge pull request #1562 from MycroftAI/bugfix/msm
...
Fix msm line numbers in results
2018-04-27 01:13:03 +02:00
Matthew D. Scholefield
48a3abc03a
Fix msm line numbers in results
2018-04-26 17:59:06 -05:00
Åke
f3110bc72b
Merge pull request #1560 from MycroftAI/feature/versioned-msm
...
Add versioning to msm
2018-04-26 23:42:57 +02:00
Åke
a34adeda08
Merge pull request #1559 from MycroftAI/bugfix/load-cache-location-on-timeout
...
add try catch for failed remote fetch location
2018-04-26 23:39:59 +02:00
Michael Nguyen
afd0dbb084
removed unecessary LOG
2018-04-26 16:18:31 -05:00
Michael Nguyen
e941a1d0a7
removed unknown member from exception object
2018-04-26 16:17:45 -05:00