Skip to content

Commit

Permalink
Merge pull request #564 from OpenVoiceOS/release-0.2.1a1
Browse files Browse the repository at this point in the history
Release 0.2.1a1
  • Loading branch information
JarbasAl authored Oct 15, 2024
2 parents 6da2a82 + df9b7ac commit a90acb0
Show file tree
Hide file tree
Showing 31 changed files with 68 additions and 1,407 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install test dependencies
run: |
pip install -r requirements/tests.txt
pip install ./test/unittests/common_query/ovos_tskill_fakewiki
pip install ./test/integrationtests/common_query/ovos_tskill_fakewiki
pip install ./test/end2end/skill-ovos-hello-world
pip install ./test/end2end/skill-ovos-fallback-unknown
pip install ./test/end2end/skill-ovos-slow-fallback
Expand All @@ -38,21 +38,16 @@ jobs:
pip install ./test/end2end/metadata-test-plugin
- name: Install core repo
run: |
pip install -e .[mycroft,deprecated]
pip install -e .[mycroft,deprecated,plugins]
- name: Generate coverage report
run: |
pytest --cov=ovos_core --cov-report xml test/unittests
pytest --cov-append --cov=ovos_core --cov-report xml test/end2end
pytest --cov-append --cov=ovos_core --cov-report xml test/integrationtests
- name: Generate coverage report with padatious
run: |
sudo apt install libfann-dev
pip install .[lgpl]
pytest --cov-append --cov=ovos_core --cov-report xml test/unittests/skills
- name: Generate coverage report with utils 0.0.38
run: |
pip install ovos-utils==0.0.38
pytest --cov-append --cov=ovos_core --cov-report xml test/end2end
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down
18 changes: 3 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
# Changelog

## [0.2.0a1](https://github.com/OpenVoiceOS/ovos-core/tree/0.2.0a1) (2024-10-14)
## [0.2.1a1](https://github.com/OpenVoiceOS/ovos-core/tree/0.2.1a1) (2024-10-15)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.1.4a1...0.2.0a1)

**Closed issues:**

- Standalone skill not working anymore [\#556](https://github.com/OpenVoiceOS/ovos-core/issues/556)

**Merged pull requests:**

- feat/pipeline\_plugins\_opm [\#527](https://github.com/OpenVoiceOS/ovos-core/pull/527) ([JarbasAl](https://github.com/JarbasAl))

## [0.1.4a1](https://github.com/OpenVoiceOS/ovos-core/tree/0.1.4a1) (2024-10-14)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.1.3...0.1.4a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-core/compare/0.2.0...0.2.1a1)

**Merged pull requests:**

- fix:usage without skills installed [\#555](https://github.com/OpenVoiceOS/ovos-core/pull/555) ([JarbasAl](https://github.com/JarbasAl))
- requirements:latest stable packages [\#563](https://github.com/OpenVoiceOS/ovos-core/pull/563) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
2 changes: 1 addition & 1 deletion mycroft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from ovos_workshop.intents import IntentBuilder, Intent
from ovos_workshop.decorators import intent_handler, intent_file_handler, adds_context, removes_context
from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
from ovos_workshop.skills.fallback import FallbackSkill
from ovos_utils.log import LOG

Expand Down
2 changes: 1 addition & 1 deletion mycroft/enclosure/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
to be a drop in replacement for mycroft-core
"""
from ovos_workshop.skills.base import SkillGUI
from ovos_workshop.skills.ovos import SkillGUI
2 changes: 1 addition & 1 deletion mycroft/gui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# backwards compat imports
from ovos_bus_client.apis.gui import GUIInterface
from ovos_workshop.skills.base import SkillGUI
from ovos_workshop.skills.ovos import SkillGUI
2 changes: 1 addition & 1 deletion mycroft/skills/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
resting_screen_handler,
skill_api_method)
from ovos_workshop.skills.fallback import FallbackSkill
from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
from mycroft.skills.common_iot_skill import CommonIoTSkill
from mycroft.skills.common_play_skill import CommonPlaySkill, CPSMatchLevel
from mycroft.skills.common_query_skill import CommonQuerySkill, CQSMatchLevel
Expand Down
2 changes: 1 addition & 1 deletion mycroft/skills/common_iot_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from functools import total_ordering, wraps
from itertools import count

from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
from ovos_bus_client.message import Message, dig_for_message

ENTITY = "ENTITY"
Expand Down
2 changes: 1 addition & 1 deletion mycroft/skills/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Import moved methods for backwards compatibility
# This will need to remain here for quite some time since removing it
# would break most of the skills out there.
from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
from ovos_workshop.skills.fallback import FallbackSkill
from mycroft.skills.mycroft_skill import resting_screen_handler, intent_handler, intent_file_handler, skill_api_method

Expand Down
2 changes: 1 addition & 1 deletion mycroft/skills/mycroft_skill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
from ovos_utils.events import get_handler_name
from mycroft.skills.mycroft_skill.decorators import (intent_handler,
intent_file_handler,
Expand Down
4 changes: 2 additions & 2 deletions mycroft/skills/mycroft_skill/mycroft_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# backwards compat imports, do not delete!
from ovos_workshop.intents import Intent, IntentBuilder, IntentServiceInterface, to_alnum
from ovos_utils.skills import get_non_properties
from ovos_workshop.skills.base import SkillGUI
from ovos_workshop.skills.ovos import SkillGUI
from ovos_bus_client.message import Message, dig_for_message
from mycroft.metrics import report_metric
from ovos_bus_client.util.scheduler import EventScheduler, EventSchedulerInterface
Expand All @@ -29,4 +29,4 @@
read_vocab_file, read_value_file, read_translated_file,
load_vocabulary, load_regex)
from mycroft.deprecated.skills.settings import SettingsMetaUploader
from ovos_workshop.skills.mycroft_skill import MycroftSkill
from ovos_workshop.skills.ovos import OVOSSkill as MycroftSkill
2 changes: 1 addition & 1 deletion ovos_core/intent_services/fallback_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from ovos_plugin_manager.templates.pipeline import IntentMatch, PipelinePlugin
from ovos_utils import flatten_list
from ovos_utils.log import LOG
from ovos_workshop.skills.fallback import FallbackMode
from ovos_workshop.permissions import FallbackMode

FallbackRange = namedtuple('FallbackRange', ['start', 'stop'])

Expand Down
4 changes: 2 additions & 2 deletions ovos_core/version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_BUILD = 0
VERSION_ALPHA = 0
VERSION_BUILD = 1
VERSION_ALPHA = 1
# END_VERSION_BLOCK

# for compat with old imports
Expand Down
9 changes: 8 additions & 1 deletion requirements/extra-deprecated.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ python-vlc>=1.1.2
pyalsaaudio>=0.8
pyserial>=3.0
pillow>=8.3
pyaudio
pyaudio

# mycroft-core imports / default plugins
# for compat with mycroft namespace
ovos-listener>=0.0.3,<1.0.0
ovos-tts-plugin-mimic>=0.2.8, <1.0.0
ovos-ww-plugin-precise>=0.1, <1.0.0
ovos-ww-plugin-pocketsphinx>=0.1, <1.0.0
4 changes: 2 additions & 2 deletions requirements/lgpl.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ovos_padatious>=0.1.0,<1.0.0
fann2>=1.0.7, < 1.1.0
ovos_padatious>=0.1.2,<1.0.0
fann2>=1.0.7, < 1.1.0
20 changes: 6 additions & 14 deletions requirements/mycroft.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
# all ovos core modules, a full install like mycroft-core
ovos_PHAL[extras]>=0.0.5,<1.0.0
ovos-audio[extras]>=0.0.0,<1.0.0
ovos-gui[extras]>=0.0.4,<1.0.0
ovos-messagebus>=0.0.1,<1.0.0
ovos-dinkum-listener[extras]>=0.0.1,<1.0.0

# mycroft-core imports / default plugins
# for compat with mycroft namespace
ovos-listener>=0.0.3,<1.0.0
ovos-tts-plugin-mimic>=0.2.8, <1.0.0
ovos-ww-plugin-precise>=0.1, <1.0.0
ovos-ww-plugin-pocketsphinx>=0.1, <1.0.0

# all ovos core modules, a full install like mycroft-core used to do
ovos_PHAL[extras]>=0.2.5,<1.0.0
ovos-audio[extras]>=0.2.4,<1.0.0
ovos-gui[extras]>=0.2.2,<1.0.0
ovos-messagebus>=0.0.6,<1.0.0
ovos-dinkum-listener[extras]>=0.2.1,<1.0.0
10 changes: 5 additions & 5 deletions requirements/plugins.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ovos-utterance-corrections-plugin>=0.0.0, <1.0.0
ovos-utterance-plugin-cancel>=0.0.1, <1.0.0
ovos-bidirectional-translation-plugin>=0.0.1, <1.0.0
ovos-translate-server-plugin>=0.0.1, <1.0.0
ovos-utterance-normalizer>=0.1.0, <1.0.0
ovos-utterance-corrections-plugin>=0.0.2, <1.0.0
ovos-utterance-plugin-cancel>=0.2.0, <1.0.0
ovos-bidirectional-translation-plugin>=0.1.0, <1.0.0
ovos-translate-server-plugin>=0.0.2, <1.0.0
ovos-utterance-normalizer>=0.2.1, <1.0.0

# still in alpha
ovos-classifiers
8 changes: 4 additions & 4 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ watchdog>=2.1, <3.0
combo-lock>=0.2.2, <0.3

padacioso>=0.2.2,<1.0.0
ovos-adapt-parser>=0.1.1, <1.0.0
ovos_ocp_pipeline_plugin>=0.1.0, <1.0.0
ovos-common-query-pipeline-plugin>=0.1.0, <1.0.0
ovos-adapt-parser>=0.1.2, <1.0.0
ovos_ocp_pipeline_plugin>=0.1.2, <1.0.0
ovos-common-query-pipeline-plugin>=0.1.2, <1.0.0

ovos-utils>=0.1.0,<1.0.0
ovos_bus_client>=0.1.0,<1.0.0
ovos-plugin-manager>=0.0.26,<1.0.0
ovos-config>=0.0.13,<1.0.0
ovos-lingua-franca>=0.4.7,<1.0.0
ovos-backend-client>=0.1.0,<2.0.0
ovos-workshop>=0.0.16,<1.0.0
ovos-workshop>=0.0.16,<2.0.0
12 changes: 6 additions & 6 deletions requirements/skills-audio.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# skills that run in audio enabled devices (require mic/speaker)
ovos-skill-boot-finished>=0.1.0,<1.0.0
ovos-skill-audio-recording>=0.1.0,<1.0.0
ovos-skill-dictation>=0.1.0,<1.0.0
ovos-skill-parrot>=0.0.1,<1.0.0
ovos-skill-volume>=0.0.2,<1.0.0
ovos-skill-naptime>=0.2.3,<1.0.0
ovos-skill-boot-finished>=0.2.1,<1.0.0
ovos-skill-audio-recording>=0.2.2,<1.0.0
ovos-skill-dictation>=0.2.0,<1.0.0
ovos-skill-parrot>=0.1.2,<1.0.0
ovos-skill-volume>=0.1.1,<1.0.0
ovos-skill-naptime>=0.3.1,<1.0.0
2 changes: 1 addition & 1 deletion requirements/skills-desktop.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# skills that require a linux desktop environment
ovos-skill-application-launcher>=0.1.0,<1.0.0
ovos-skill-application-launcher>=0.2.1,<1.0.0
14 changes: 7 additions & 7 deletions requirements/skills-essential.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# skills providing core functionality (offline)
ovos-skill-fallback-unknown>=0.0.4,<1.0.0
ovos-skill-alerts>=0.0.1,<1.0.0
ovos-skill-personal>=0.0.4,<1.0.0
ovos-skill-date-time>=0.2.3,<1.0.0
ovos-skill-hello-world>=0.0.4,<1.0.0
skill-wordnet>=0.0.1,<1.0.0
ovos-skill-fallback-unknown>=0.1.2,<1.0.0
ovos-skill-alerts>=0.1.2,<1.0.0
ovos-skill-personal>=0.1.4,<1.0.0
ovos-skill-date-time>=0.3.2,<1.0.0
ovos-skill-hello-world>=0.1.6,<1.0.0
skill-wordnet>=0.0.4,<1.0.0
#skill-randomness>=0.0.1,<1.0.0
ovos-skill-spelling>=0.1.0,<1.0.0
ovos-skill-spelling>=0.2.2,<1.0.0
2 changes: 1 addition & 1 deletion requirements/skills-gui.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ovos-skill-homescreen>=0.0.3,<1.0.0
ovos-skill-homescreen>=1.0.2,<2.0.0
16 changes: 8 additions & 8 deletions requirements/skills-internet.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# skills that require internet connectivity, should not be installed in offline devices
ovos-skill-weather>=0.0.1,<1.0.0
skill-ddg>=0.0.2,<1.0.0
skill-wolfie>=0.2.0,<1.0.0
ovos-skill-wikipedia>=0.5.0,<1.0.0
skill-ovos-fallback-chatgpt>=0.0.2,<1.0.0
ovos-skill-wikihow>=0.2.0,<1.0.0
ovos-skill-speedtest>=0.1.0,<1.0.0
ovos-skill-ip>=0.1.0,<1.0.0
ovos-skill-weather>=0.1.1,<1.0.0
skill-ddg>=0.1.2,<1.0.0
skill-wolfie>=0.2.3,<1.0.0
ovos-skill-wikipedia>=0.5.2,<1.0.0
skill-ovos-fallback-chatgpt>=0.1.2,<1.0.0
ovos-skill-wikihow>=0.2.3,<1.0.0
ovos-skill-speedtest>=0.2.1,<1.0.0
ovos-skill-ip>=0.2.2,<1.0.0
7 changes: 3 additions & 4 deletions requirements/skills-media.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# skills for OCP, require audio playback plugins (usually mpv)
ovos-skill-somafm>=0.0.2,<1.0.0
skill-news>=0.0.4,<1.0.0
ovos-skill-somafm>=0.1.1,<1.0.0
skill-news>=0.1.2,<1.0.0
ovos-skill-pyradios>=0.1.0,<1.0.0
ovos-skill-local-media>=0.2.0,<1.0.0
ovos-skill-youtube-music>=0.1.1,<1.0.0
ovos-skill-local-media>=0.2.1,<1.0.0
33 changes: 0 additions & 33 deletions test/integrationtests/decorator_test_skill.py

This file was deleted.

62 changes: 0 additions & 62 deletions test/integrationtests/test_common_query_skill.py

This file was deleted.

Loading

0 comments on commit a90acb0

Please sign in to comment.