Trying to upgrade fromplover-4.0.0.dev11+21.g486a032f-1
to *.g486a032-1
, it errors during the check()
phase,
> assert config_file.read_text(encoding='utf-8').strip() == dedent_strip(resulting_contents)
E assert '[System: Eng..."main.json"}]' == '[System: Eng..."main.json"}]'
E Skipping 61 identical leading characters in diff, use -v to show
E - "path": "user.json"}, {"enabled": true, "path": "commands.json"}, {"enabled": true, "path": "main.json"}]
E + "path": "~/.dotfiles/plover_user_dict.json"}, {"enabled": true, "path": "commands.json"}, {"enabled": true, "path": "main.json"}]
E ? +++++++++++++++++++ +++++
test/test_config.py:505: AssertionError
============================== warnings summary ===============================
test/test_blackbox.py::TestsBlackbox::test_after_initial_being
/usr/lib/python3.10/site-packages/packaging/specifiers.py:255: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ===========================
FAILED test/test_config.py::test_config[legacy_dictionaries_1] - assert '[Sy...
FAILED test/test_config.py::test_config[legacy_dictionaries_2] - assert '[Sy...
================== 2 failed, 1165 passed, 1 warning in 3.58s ==================
==> ERROR: A failure occurred in check().
(I just copied the part that was highlighted red +1 line before, there seems to be a bunch of things which work normally before this)
Edit: I changed from a softlink to naming the full path of my user dictionary in the config file, and the error disappeared. My bad.
Pinned Comments
bpierre commented on 2021-04-16 23:05 (UTC) (edited on 2021-04-16 23:51 (UTC) by bpierre)
Starting with 4.0.0.dev8+434.g60779ea-1, the main entry point has been changed to isolate plugins install, similarly to how they are handled when using the official AppImage.
The plugins manager is available as a separate package: https://aur.archlinux.org/packages/plover_plugins_manager/.