Commit Graph

2601 Commits

Author SHA1 Message Date
qutebrowser bot d0eac83676 Update dependencies 2024-03-25 04:21:29 +00:00
qutebrowser bot ab9e575ab9 Update dependencies 2024-03-18 04:21:00 +00:00
qutebrowser bot e02e709d7c Update dependencies 2024-03-04 19:16:02 +00:00
toofar 2f3d0161f3 Update lint etc for dependencies
The lint ones are:

    linters (pylint): qutebrowser/completion/completionwidget.py#L440
    Consider using 'height = min(height, contents_height)' instead of unnecessary if block

    linters (pylint): qutebrowser/browser/webengine/webview.py#L241
    Useless suppression of 'no-member'

The no-member one might be due to this change: https://github.com/pylint-dev/pylint/issues/9246

For the importlib-resources one, I'm not sure why it's changed to be
underscore instead of a dash now. But at least it's consistent across
all the requirements files now!

I feel like I've seem this in a previous dependancy update too (for a
different package?) but I can't find that now.
2024-02-26 19:22:27 +13:00
qutebrowser bot 52f5147666 Update dependencies 2024-02-26 04:20:13 +00:00
qutebrowser bot 569716bef5 Update dependencies 2024-02-19 04:20:46 +00:00
qutebrowser bot 5615d0e59b Update dependencies 2024-02-12 04:20:45 +00:00
qutebrowser bot 4af52180b5 Update dependencies 2024-02-05 04:20:36 +00:00
qutebrowser bot a0437782f1 Update dependencies 2024-01-29 04:19:53 +00:00
qutebrowser bot 0563dc0eda Update dependencies 2024-01-22 04:20:11 +00:00
qutebrowser bot 96ff6132cb Update dependencies 2024-01-15 04:21:31 +00:00
qutebrowser bot 293e3559bc Update dependencies 2024-01-08 04:20:19 +00:00
qutebrowser bot 9bf6f89036 Update dependencies 2024-01-01 04:20:20 +00:00
toofar 19204f441e Update qute-pylint requirements regex for new setuptools.
In `pylint_checkers/setup.py` we define the package name as `qute_pylint`. When
setuptools was creating the egg (or wheel?) it was sanitizing the package name
replacing all problematic chars, including underscore, with a hyphen (-). So
the output of `pip freeze`, among other things, have the name with a hyphen:
`qute-pylint`. This was fixed in setuptools so underscores are no longer
sanitized: https://github.com/pypa/setuptools/issues/2522

Change the regex to include both just in case someone is running it with the
old setuptools or something. Also because I'm not able to reproduce the
hyphen version of the name locally, not sure why. Maybe it depends on your
python or importlib version too?
2023-12-26 14:09:35 +13:00
qutebrowser bot ecdb2bfe88 Update dependencies 2023-12-25 04:22:00 +00:00
qutebrowser bot 66229f4d64 Update dependencies 2023-12-18 04:20:09 +00:00
toofar da59327e3e Regenerate pylint requirements with isort pinned
I added isort!=5.13.0 in misc/requirements/requirements-pylint.txt and
ran `python3 scripts/dev/recompile_requirements.py pylint` in `docker
run -v `pwd`:/work -w /work -it python:3.8-bookworm bash` based off of
main.

Then reverted the relevant part of the update dependencies commit with
`git show HEAD misc/requirements/requirements-pylint.txt | patch -R -p
1` and manually updated the two deps from the local update run :)

    diff --git i/misc/requirements/requirements-pylint.txt w/misc/requirements/requirements-pylint.txt
    index 80319adc03a7..1c8fa33e623a 100644
    --- i/misc/requirements/requirements-pylint.txt
    +++ w/misc/requirements/requirements-pylint.txt
    @@ -11,7 +11,7 @@ idna==3.6
     isort==5.12.0
     mccabe==0.7.0
     pefile==2023.2.7
    -platformdirs==4.0.0
    +platformdirs==4.1.0
     pycparser==2.21
     PyJWT==2.8.0
     pylint==3.0.2
    @@ -21,6 +21,6 @@ requests==2.31.0
     six==1.16.0
     tomli==2.0.1
     tomlkit==0.12.3
    -typing_extensions==4.8.0
    +typing_extensions==4.9.0
     uritemplate==4.1.1
     # urllib3==2.1.0

ref: https://github.com/qutebrowser/qutebrowser/pull/8028#issuecomment-1849363267
2023-12-11 21:42:54 +13:00
qutebrowser bot c0141b0952 Update dependencies 2023-12-11 04:20:19 +00:00
qutebrowser bot a9f6ad9731 Release v3.1.0 2023-12-08 15:30:58 +00:00
qutebrowser bot 6fbc15e3cf Update dependencies 2023-12-04 11:52:34 +00:00
qutebrowser bot 19dc338ecf Update dependencies 2023-11-27 04:20:57 +00:00
qutebrowser bot 3759738f52 Update dependencies 2023-11-20 04:20:33 +00:00
toofar 5cc948aeb5 Downgrade mypy for now
I believe we are being afflicted by this issue: https://github.com/python/mypy/issues/16451
Although I'm not 100% sure because there is a lot going on in this
function and I haven't managed to grok it.

The mypy 1.7 release [notes][1.7] say you can disable the new type
inference by running `tox -e mypy-pyqt6 -- --old-type-inference` and
indeed mypy passes with that. So either our type hints are incorrect or
we are hitting a bug. Considering the inferred type hint has a `Never`
in it I'm leading toward it being a bug. So I'll bump the mypy version
down and hopefully next week the issue will be resolved.

The mypy output before this commit was:

    mypy-pyqt6: commands[0]> .tox/mypy-pyqt6/bin/python -m mypy --always-true=USE_PYQT6 --always-false=USE_PYQT5 --always-false=USE_PYSIDE6 --always-false=IS_QT5 --always-true=IS_QT6 --always-true=IS_PYQT --always-false=IS_PYSIDE qutebrowser
    qutebrowser/utils/qtutils.py:239: error: Argument 1 to "contextmanager" has incompatible type
    "Callable[[str, bool, str], Iterator[IO[AnyStr]]]"; expected "Callable[[str, bool, str], Iterator[IO[Never]]]"  [arg-type]
        @contextlib.contextmanager
         ^
    qutebrowser/misc/lineparser.py: note: In member "save" of class "LineParser":
    qutebrowser/misc/lineparser.py:168: error: Need type annotation for "f"  [var-annotated]
                    with qtutils.savefile_open(self._configfile, self._binary) as f:
                         ^
    qutebrowser/misc/lineparser.py: note: In member "save" of class "LimitLineParser":
    qutebrowser/misc/lineparser.py:226: error: Need type annotation for "f"  [var-annotated]
                with qtutils.savefile_open(self._configfile, self._binary) as f:
                     ^
    qutebrowser/config/configfiles.py: note: In member "_save" of class "YamlConfig":
    qutebrowser/config/configfiles.py:292: error: Need type annotation for "f"  [var-annotated]
                with qtutils.savefile_open(self._filename) as f:
                     ^
    qutebrowser/misc/sessions.py: note: In member "save" of class "SessionManager":
    qutebrowser/misc/sessions.py:343: error: Need type annotation for "f"  [var-annotated]
                    with qtutils.savefile_open(path) as f:

[1.7]: https://mypy-lang.blogspot.com/2023/11/mypy-17-released.html
2023-11-13 20:23:06 +13:00
toofar d55e831f39 Merge second dependancy update.
Didn't manage to merge the first one in time.

ref: https://github.com/qutebrowser/qutebrowser/pull/7990
2023-11-13 18:46:09 +13:00
toofar bb9788f80f add pyqt6.6 requirements file
What is that big chain of !pyqt- etc mean? idk

ref: https://github.com/qutebrowser/qutebrowser/pull/7990
2023-11-13 18:45:18 +13:00
qutebrowser bot 9ebd28a108 Update dependencies 2023-11-13 18:45:18 +13:00
qutebrowser bot ef9301da92 Update dependencies 2023-11-13 04:24:22 +00:00
qutebrowser bot 27b43bd5ac Update dependencies 2023-10-30 04:22:08 +00:00
toofar ab7b079411 debug python imports
For windows I'm getting a "Module not found." error, which I suspect is
it not finding qutebrowser itself, but lets see.

ref: https://pyinstaller.org/en/stable/spec-files.html#giving-run-time-python-options
2023-10-28 10:44:55 +13:00
toofar b4bbf3252f un-pin pyinstaller
ref: #7806
2023-10-28 10:44:44 +13:00
qutebrowser bot 1709987966 Update dependencies 2023-10-23 04:23:17 +00:00
qutebrowser bot fa862c786e Release v3.0.2
(cherry picked from commit f4ba52d33f)
2023-10-19 18:39:52 +00:00
qutebrowser bot ea80b73d73 Release v3.0.1
(cherry picked from commit b3b1384037)
2023-10-19 18:15:46 +00:00
qutebrowser bot c20c196250 Update dependencies 2023-10-16 04:24:13 +00:00
qutebrowser bot 2c503bf35d Update dependencies 2023-10-09 04:25:45 +00:00
qutebrowser bot 7d9db29661 Update dependencies 2023-10-02 04:22:42 +00:00
qutebrowser bot 5cd2faba52 Update dependencies 2023-09-25 04:23:04 +00:00
qutebrowser bot 2be3febced Update dependencies 2023-09-18 04:25:55 +00:00
qutebrowser bot 3cc79c562d Update dependencies 2023-09-11 04:22:04 +00:00
Florian Bruhin 3fabc8fe37 tests: Ignore false-positive (?) hypothesis health check
See https://github.com/HypothesisWorks/hypothesis/issues/3733
Should fix nightly builds (and the next dependency upgrade).
2023-09-08 12:04:37 +02:00
qutebrowser bot c7c56fb035 Update dependencies 2023-09-04 04:22:47 +00:00
qutebrowser bot 4d15de5a3b Update dependencies 2023-08-28 04:23:01 +00:00
qutebrowser bot 35e4122a52 Update dependencies 2023-08-21 04:25:14 +00:00
toofar d4a7619f9c userscripts: run view_in_mpv jseval in main world
1. run jseval in main world: the script adds an element that calls the
   `restore_video` function. This was failing with a "not found" message
   on webengine, presumably because the dom click handler runs in the
   main world and the function was over in the jseval world. The the
   script predates webengine which is the backend that implements the
   worlds.
2. remove a console log message, seems to be just noise and easy enough
   to add back later
3. remove href attribute of the restore video link: this seemed to be
   causing the `restore_video` method to be called twice. The second
   time with `this` as the global Window object, which was causing an
   error because that has a null `parentNode` attribute.
4. added the `cursor: pointer` style that was needed since the element
   didn't have an href anymore
5. change the mpv flags `--terminal` -> `--quiet`. This means we get
   error messages (eg from yt-dlp) in error logs and in the `:process`
   page now. It can get a bit spammy though if you are running from a
   terminal. I'm getting a log of keepalive warning and error logs from
   ffmpeg. On the other hand it's really annoying to see a "process
   failed, see :process for details" and having no error messages in
   there.

Fixes: #7838
2023-08-20 10:57:14 +12:00
qutebrowser bot b11ead8f42 Release v3.0.0 2023-08-18 14:15:48 +00:00
Florian Bruhin 967d0ce291 Revert "Release v3.0.0"
This reverts commit f3692d8f28.
2023-08-18 16:14:34 +02:00
qutebrowser bot f3692d8f28 Release v3.0.0 2023-08-18 13:38:14 +00:00
Florian Bruhin ab820fe8a0 ci: Set up asciidoc properly for releases 2023-08-17 12:39:00 +02:00
Florian Bruhin a25e7c2b64 Fix remaining references to old commands
Follow-up to #7809, see #7214
2023-08-15 20:15:48 +02:00
qutebrowser bot 9115a6212a Update dependencies 2023-08-14 04:21:37 +00:00