Commit Graph

24957 Commits

Author SHA1 Message Date
dependabot[bot] 5f8423f9d3
build(deps): bump peter-evans/create-pull-request from 5 to 6
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 18:47:44 +00:00
Florian Bruhin aac4d2b4a7
Merge pull request #8090 from qutebrowser/update-dependencies
Update dependencies
2024-02-05 07:21:44 +01:00
qutebrowser bot 4af52180b5 Update dependencies 2024-02-05 04:20:36 +00:00
Florian Bruhin c12340802d ci: Remove weird sed usage
Broke on Windows nightly builds for some reason
2024-02-02 11:06:04 +01:00
Florian Bruhin cd25d8096d tox: Stop pinning virtualenv for Python 3.12
Reverts 0b0401f8bb

Fixed in virtualenv 20.23.0 which ships pip 23.1.2 which ships setuptools
67.7.2.

Archlinux upgraded finally in August:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-virtualenv/-/commits/main
2024-01-30 20:27:34 +01:00
toofar 94445413c4
Merge pull request #8085 from qutebrowser/update-dependencies
Update dependencies
2024-01-29 18:24:22 +13:00
qutebrowser bot a0437782f1 Update dependencies 2024-01-29 04:19:53 +00:00
toofar 6b7a3510f2
Merge pull request #8080 from qutebrowser/dependabot/github_actions/actions/cache-4
build(deps): bump actions/cache from 3 to 4
2024-01-28 22:25:01 +13:00
dependabot[bot] 238c97f71e
build(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:56:48 +00:00
Florian Bruhin 3494614fcb Update changelog URLs 2024-01-22 10:53:22 +01:00
Florian Bruhin 5456a4153a Update flake8 ignores 2024-01-22 09:53:55 +01:00
Florian Bruhin 8afe153564 Update changelog URL 2024-01-22 09:52:41 +01:00
qutebrowser bot 0563dc0eda Update dependencies 2024-01-22 04:20:11 +00:00
Florian Bruhin fedea10187 Fix consistency of 'dark mode' spelling
Thanks to absinthium
2024-01-17 11:25:23 +01:00
Florian Bruhin c9910c3dfe
Merge pull request #8067 from qutebrowser/update-dependencies
Update dependencies
2024-01-15 11:40:14 +01:00
qutebrowser bot 96ff6132cb Update dependencies 2024-01-15 04:21:31 +00:00
Florian Bruhin 6bc140bf71 listcategory: Clean up building regex pattern
- Don't split the pattern in weird places used for str.join, instead
  build up the individual groups and then "".join them, which seems more
  readable to me.
- Don't reuse "val" for both the user-input pattern and the regex pattern.
2024-01-12 18:53:22 +01:00
Florian Bruhin ee9aecda46 listcategory: Fix O(n^2) performance if no match
With the change in #7955, if the regex did not match, it ended up retrying the
lookahead at every position of the string (expected), but then *also* repeated
that process for every position in the string. Thus, a non-matching pattern
ended up in O(n^2) performance (with n = length of URL).

Instead, anchor the pattern at the beginning of the string. This doesn't change
behaviour as we use .* at the beginning of every lookahead anyways, but it means
we end up with O(n) instead of O(n^2) performance.

Co-authored-by: toofar <toofar@spalge.com>
2024-01-12 18:53:22 +01:00
Florian Bruhin 13f6cfa715 Reapply "Update changelog for 7955"
This reverts commit 6a149901fb.
2024-01-12 18:53:22 +01:00
Florian Bruhin f8df682b90 Reapply "Merge pull request #7955 from arza-zara/search_any_order"
This reverts commit 45d483479a.
2024-01-12 18:53:22 +01:00
Florian Bruhin 0a82ae4073
Merge pull request #8063 from ju-sh/patch-1
Typo fix
2024-01-12 10:02:57 +01:00
Julin S 7c6b4fe845
Typo fix
Trivial typo fix
2024-01-12 12:28:53 +05:30
Florian Bruhin 6a149901fb Revert "Update changelog for 7955"
This reverts commit dbd0bfbe8e.

See previous commit
2024-01-11 17:31:11 +01:00
Florian Bruhin 45d483479a Revert "Merge pull request #7955 from arza-zara/search_any_order"
This reverts commit fe1faa14b9, reversing
changes made to 04af4c657d.

For my setup with 310 quickmarks and 94 bookmarks, this makes qutebrowser hang
for around a minute on every keypress.
2024-01-11 17:30:27 +01:00
Florian Bruhin 4b11776f76 tests: Upgrade our hook implementation for pytest 7
https://docs.pytest.org/en/7.4.x/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
https://docs.pytest.org/en/7.4.x/reference/reference.html#std-hook-pytest_ignore_collect

8.0.0 removes the "path" compatibility alias we used.
2024-01-10 14:41:39 +01:00
Florian Bruhin 1ad6b68d33 tests: Ignore yet another mesa (?) warning
As shown in detail by toofar in dff25d10bc,
mesa 23.3 seems to trigger some new error messages.

On my setup locally, it also triggers the warning that's ignored here.

Why that's not the case on CI or for others is unclear to me, I gave up
trying to understand graphics stuff on Linux.

I'll just presume this is the same underlying cause, and refer to the
commit message of the commit above for more details.
2024-01-10 14:33:26 +01:00
toofar a2b81bee86
Merge pull request #8057 from qutebrowser/update-dependencies
Update dependencies
2024-01-10 21:01:06 +13:00
qutebrowser bot 293e3559bc Update dependencies 2024-01-08 04:20:19 +00:00
toofar b490f288a9
Merge pull request #8052 from qutebrowser/update-dependencies
Update dependencies
2024-01-01 19:27:03 +13:00
qutebrowser bot 9bf6f89036 Update dependencies 2024-01-01 04:20:20 +00:00
toofar f13ac06ba3
Merge pull request #8049 from qutebrowser/update-dependencies
Update dependencies
2023-12-26 15:03:56 +13: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
toofar dff25d10bc Ignore mesa "error" logs
Mesa upgraded from 23.2.1-2 to 23.3.1-1 a couple of days ago. Since then
there has been some non-fatal InvalidLine errors in the CI jobs (eg
https://github.com/qutebrowser/qutebrowser/actions/runs/7281982007/job/19843511920)

Based on https://gitlab.freedesktop.org/mesa/mesa/-/issues/10293 I'm
assuming these log messages don't actually indicate errors and the tests
pass when they are ignore.

Weirdly, I'm only seeing these errors related to the
`tests/end2end/test_invocations.py::test_misconfigured_user_dirs` test,
I'm not sure why. It doesn't look much different from the ones around
it.

Possibly we could ignore these lines just for that test, or maybe play
round with it more to find out why it is different. But since the lines
are non fatal I'll just ignore them everywhere. I'm a little worried
about that because they are quite generic, but at least they are still
logged when they are ignored.

They might change these error logs messages to be warning log messages
based on that issue. But it'll probably still fail the tests since we
match on all log lines?

The "always try zink" change was introduced in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25640
It looks like there might be a `LIBGL_KOPPER_DISABLE` which may skip
this behaviour. Not I'm not sure, the commit message says:

> don't load non-sw zink without dri3 support
> this is going to be broken, so don't bother trying
> also add LIBGL_KOPPER_DRI2 so people can continue to footgun if they
> really really want to

I assume we aren't trying to run with non-sw zink but with non-zink sw?
idk

Maybe we should be setting force_software_rendering=software-opengl or
LIBGL_ALWAYS_SOFTWARE instead so that it never tries to use the vulkan
backed zink?
2023-12-21 15:21:19 +13:00
toofar dbd0bfbe8e Update changelog for 7955 2023-12-21 12:31:31 +13:00
toofar fe1faa14b9 Merge pull request #7955 from arza-zara/search_any_order
A few more completions will now match search terms in any order:
`:quickmark-*`, `:bookmark-*`, `:tab-take` and `:tab-select` (for the quick
and bookmark categories).
2023-12-21 12:28:22 +13:00
toofar 04af4c657d
Merge pull request #8042 from qutebrowser/dependabot/github_actions/actions/upload-artifact-4
build(deps): bump actions/upload-artifact from 3 to 4
2023-12-21 11:42:39 +13:00
toofar a478b0422d
Merge pull request #8041 from qutebrowser/dependabot/github_actions/github/codeql-action-3
build(deps): bump github/codeql-action from 2 to 3
2023-12-21 11:10:01 +13:00
dependabot[bot] b84ae4053c
build(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 18:32:17 +00:00
dependabot[bot] 4c431fd22d
build(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 18:32:14 +00:00
Florian Bruhin 7dbc02c40b
Merge pull request #8038 from qutebrowser/update-dependencies
Update dependencies
2023-12-18 10:48:42 +01:00
qutebrowser bot 66229f4d64 Update dependencies 2023-12-18 04:20:09 +00:00
toofar fbb3e10ce1 Add placeholder changelog entries for next two releases
I would like to make merging PRs lower friction. One aspect of that for
me is having to think about where to add the changelog info, whether it
should go in an existing section, whether I should create a new section,
what the format changelog is supposed to be in. These questions are a
bit coupled with the decision of whether to backport a change or not.

Those aren't hard questions but I don't usually have a long stretch of
time for open source work. So making it so I don't have to make those
decisions at merge time makes it easier for me to fit that work into my
day. Previously it seemed to me that the norm was to only have a future
changelog entry for the next patch release. Occasionally I would merge
stuff and add it to the patch release changelog entry and then think
about how I would have made getting any security fixes out harder or how
it would have to be corrected at backport time. So this is kind of a
pre-commitment that yes, we are going to be merging stuff to main that
won't make it to the next release.

A lot, but not all, of the above rambling will also be mitigated by
adopting a fragment based changelog management system (#7101), because
that means that more of the stuff we have to worry about when merging is
only in the context of the PR. Eg just describe that the change does,
don't worry too much about where that description is going to end up.

Other follow up stuff we could do if norms are established or need
re-enforcing:

* update contributor docs to describe more of the branching strategy as
  it applies to merging
* update contributor docs to describe backporting steps and philosophy
* link changelog entries to milestones?
2023-12-12 09:19:53 +13:00
toofar 26f1069d2a
Merge pull request #8029 from qutebrowser/dependabot/github_actions/actions/setup-python-5
build(deps): bump actions/setup-python from 4 to 5
2023-12-12 09:04:51 +13:00
toofar 0eb5b193af
Merge pull request #8028 from qutebrowser/update-dependencies
Update dependencies
2023-12-12 08:12:31 +13:00
dependabot[bot] 3d9bf9651f
build(deps): bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 18:33:46 +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
Florian Bruhin 4928153227 Upgrade release Python to 3.12 2023-12-08 15:44:18 +01:00