qutebrowser/scripts/dev
toofar 7eb32a7550 update_3rdparty: move dict related imports into method
I'm trying to update pdf.js in the bleeding edge CI jobs. It complains
that either it can't find PyQt or it can't find yaml depending on how I
invoke tox. Joy. Since dict stuff isn't run by default in this script
hopefully that is the only broken import path and moving it into the
function lets the pdfjs (and ace) bit of the script work fine.

Actually, looking at the stack traces below, both of them are from dict
related code!

    tox exec -re bleeding -- python scripts/dev/update_3rdparty.py --gh-token ***
      Traceback (most recent call last):
        File "/__w/qutebrowser/qutebrowser/scripts/dev/update_3rdparty.py", line 20, in <module>
          from scripts import dictcli
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/dictcli.py", line 25, in <module>
          from qutebrowser.browser.webengine import spell
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/browser/webengine/spell.py", line 14, in <module>
          from qutebrowser.utils import log, message, standarddir
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/utils/message.py", line 15, in <module>
          from qutebrowser.qt.core import pyqtSignal, pyqtBoundSignal, QObject
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/qt/core.py", line 17, in <module>
          machinery.init_implicit()
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/qt/machinery.py", line 278, in init_implicit
          raise NoWrapperAvailableError(info)
      qutebrowser.qt.machinery.NoWrapperAvailableError: No Qt wrapper was importable.

    python scripts/dev/update_3rdparty.py --gh-token ***
      Traceback (most recent call last):
        File "/__w/qutebrowser/qutebrowser/scripts/dev/update_3rdparty.py", line 20, in <module>
          from scripts import dictcli
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/dictcli.py", line 25, in <module>
          from qutebrowser.browser.webengine import spell
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/browser/webengine/spell.py", line 14, in <module>
          from qutebrowser.utils import log, message, standarddir
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/utils/message.py", line 17, in <module>
          from qutebrowser.utils import usertypes, log
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/utils/usertypes.py", line 16, in <module>
          from qutebrowser.utils import log, qtutils, utils
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/utils/qtutils.py", line 39, in <module>
          from qutebrowser.utils import usertypes, utils
        File "/__w/qutebrowser/qutebrowser/scripts/dev/../../scripts/../qutebrowser/utils/utils.py", line 29, in <module>
          import yaml
      ModuleNotFoundError: No module named 'yaml'
2024-05-25 09:41:44 +12:00
..
ci Install recent pdf.js in some CI jobs 2024-05-25 09:41:44 +12:00
pylint_checkers pylint 3.0 deprectations 2023-10-11 19:16:01 +13:00
Makefile-dmg build-release: Increase macOS template size once again 2022-08-23 18:31:42 +02:00
__init__.py Remove vim modelines 2023-06-30 11:03:06 +02:00
build_pyqt_wheel.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
build_release.py Ignore DIR_APP_DICTIONARIES message in release smoke test too 2024-04-13 16:38:00 +12:00
change_release.py reuse: Fix more copyright headers 2023-07-23 12:56:13 +02:00
changelog_urls.json Adjust changelog URLs 2024-04-09 19:22:22 +02:00
check_coverage.py Move webkit.http to webkit.httpheaders 2024-04-09 08:09:31 +12:00
check_doc_changes.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
cleanup.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
enums.txt Add rewrite_enums.py 2022-08-23 18:09:11 +02:00
gen_versioninfo.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
get_coredumpctl_traces.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
misc_checks.py lint: Add misc check for QTimer initialization 2024-05-25 09:34:01 +12:00
quit_segfault_test.sh Rename :later to :cmd-later 2023-08-11 09:02:01 +02:00
recompile_requirements.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_enums.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_find_enums.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_find_flags.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_qt_imports.sh Add basic qt wrapper stuff 2022-08-23 18:09:11 +02:00
run_profile.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
run_pylint_on_tests.py reuse: Add linting for old license comments 2023-07-23 13:53:31 +02:00
run_shellcheck.sh reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
run_vulture.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
src2asciidoc.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
standardpaths_tester.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
strip_whitespace.sh Name strip_whitespace.sh correctly 2016-05-18 06:54:14 +02:00
ua_fetch.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
update_3rdparty.py update_3rdparty: move dict related imports into method 2024-05-25 09:41:44 +12:00
update_version.py Update releasing docs 2023-08-17 14:47:49 +02:00