Commit Graph

82 Commits

Author SHA1 Message Date
Florian Bruhin 22f1b57347 lint: Move check-manifest into pyroma
pyroma now runs check-manifest if installed,
so we can simplify things there.
2025-07-07 08:09:47 +02:00
Jun Chen e63781d49b docs: update contributing guide with new issue tracker link 2025-01-29 22:38:59 +01:00
Florian Bruhin bd3774dfc8 Drop Python 3.8 from tox/CI 2024-10-13 18:24:44 +02:00
Florian Bruhin 94dce5f1d4 Update release checklist 2024-10-12 21:38:20 +02:00
Florian Bruhin 28480f394b Update the Firefox UA for quirks
See #5182
2024-10-12 21:31:27 +02:00
toofar d0422a982f Tips for contributors to run the webkit backend
My virtualenv I used to run webkit has rotted long ago and I don't remember
how I set it up. There is a PyQtWebKit project on PyPI but I don't know
who that's published by.

So I figured I would write some notes for myself on using the docker container
used for CI instead. I chose to mount the current directory (which is
presumably a qutebrowser checkout!) directly into the container instead of
cloning it so I could have quicker feedback between making code changes and
running tests.

Then there's a couple of things that stem from that. Since the user in the
container is different from the one in the host we have to move some things
that are normally written to the current directory to be written elsewhere.
There are other ways to approach this (eg you can add `-u $(id -u)` to the
docker command line, although that makes things a bit confusing in the
container) but arguably it's good for the container not to be able to write to
the host, hence making that volume read only.

The TOX_WORK_DIR trick is from
[here](https://github.com/tox-dev/tox/issues/20), apart from with
`{toxinidir}` in it too because the pyroma env was failing with just
`.tox`, saying the pyroma binary needed to be in the allowlist, possibly
it was doing full path matching without normalizing.

The hypothesis folks
[here](https://github.com/HypothesisWorks/hypothesis/issues/2367#issuecomment-595524571)
say if you want to override the examples DB location with an env var to
do it yourself. It's actually only a warning from hypothesis, it says it
falls back to an in-memory DB, but I guess the tests run with
warnings-are-errors. You can also pass `database=None` to make
hypothesis skip example storage altogether.

I'm using tox to run commands in a virtualenv with the right stuff in it
because, uh, because I was copying the CI workflow actually. I just found out
about the `exec` subcommand to override the `commands` defined for the env,
neat! One point of awkwardness about that is that since we are using the
PyQt from the OS we need any virtualenv we use to have access to the OS
packages, which isn't the default for virtualenvs created by tox. The
text envs use the link_pyqt script for that but if you are using this
container and the first thing you do is run `tox exec` then that
wouldn't have been run. So I'm setting `VIRTUALENV_SYSTEM_SITE_PACKAGES`
to tell tox to always make the system packages available in the
virtualenvs it manages.

I did try using the mkvenv script instead of tox but it complained when
trying to install the current directory in editable mode because
setup.py tries to write to a git-commit-id file.
2024-06-23 20:12:38 +12:00
Florian Bruhin cee9e909fb doc: Group chrome pages 2023-10-24 14:39:58 +02:00
Florian Bruhin c75ee977f3 doc: Update chrome:// URLs 2023-10-24 14:39:58 +02:00
Florian Bruhin 5567c9290b Update releasing docs 2023-08-17 14:47:49 +02:00
Florian Bruhin ec34865168 Move master branch references to main
Closes #7097
2023-07-23 11:38:19 +02:00
Philipp Albrecht 4a31c537c2 Remove vim modeline hint from contributing docs
We're deprecating vim modelines in favor of `.editorconfig`.
2023-06-30 10:59:23 +02:00
Florian Bruhin 93c7fdd60c Initial Python 3.7 drop 2023-06-26 14:39:54 +02:00
Florian Bruhin 9ad13fa508 Update Qt doc links to Qt 6 2022-11-24 14:12:38 +01:00
toofar 819d56043b doc: add some contributor notes about mypy
also update the default tox env list which I forgot to do when changing
the mypy targets.
2022-10-14 15:49:28 +13:00
toofar f0bfc9aab2 Document how to set the backend for the tests.
I only had the old way save in my bash history and this one was only
mentioned in the changelog.

Also changed the heading above the new entry to be title case, which
seems to be more consistent with the other headinfs in the file.

Also remove the one remaining mention of `QUTE_BDD_WEBENGINE` since it
does nothing anymore.
2022-09-16 17:13:52 +12:00
Florian Bruhin da280df809 Clean up some remaining Python version references 2022-04-04 10:51:34 +02:00
Jimmy 060e4fbf80 Drop python3.6 support.
Commits for dropping 3.5 support to copy from:

c245b7d855ccd "Initial drop of Python 3.5"
ccdfb44b85 "Drop support for Python 3.6.0"

Anything needed to update regarding OS version support in
doc/install.asciidoc?
TODO: remove 3.6/7 annotations in requirements files and
  rebuild

workflows: not sure I updated it right (run 5.12 with 3.7, same 18.04 OS) but
18.04 seems to have 3.7 on it too so it should work. It'll all change when we
drop <5.15 anyway. Not sure what the minimum ubuntu version will be going
forward.

Regarding mimetype overrides (ebb3046822) the doctring says they can all go
in 3.7 but .h5 is still missing on py39, not sure if we should care.

There are a bunch of old(?) warning messages still ignored in tests/end2end/fixtures/quteprocess.py.
2022-04-04 12:08:19 +12:00
Florian Bruhin f8f3ae6c5d Adjust mailinglist URLs to new provider
See https://listi.jpberlin.de/pipermail/qutebrowser/2022-March/000885.html
2022-03-30 16:44:31 +02:00
Florian Bruhin b349880550 Improve IRC links 2021-06-01 19:06:33 +02:00
Florian Bruhin 1394bd9b13 Point to official Libera Chat webchat 2021-05-28 16:57:47 +02:00
Florian Bruhin 7961cf7355 RIP Freenode 2021-05-26 09:34:37 +02:00
Florian Bruhin 2b3a5cc163 doc: Update list of chrome:// URLs 2021-05-25 15:25:49 +02:00
Florian Bruhin 1a4fff1a42 doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
Florian Bruhin 0d64ae3fe3 Finish dropping PyPEG2
Closes #1161
2021-01-17 13:18:41 +01:00
Florian Bruhin c4a72120d2 old qt: Adjust docs 2020-11-04 11:30:54 +01:00
Florian Bruhin 685a66280a Initial drop of Python 3.5
See #4800
2020-10-26 15:50:54 +01:00
Florian Bruhin 1b4bdccfe1 Fix some typos 2020-10-15 14:53:46 +02:00
Florian Bruhin a4de4ef6a4 ci: Remove remaining Travis/AppVeyor specific code
Also reenables some tests which have been problematic on Travis/AppVeyor but
maybe work fine nowadays.
2020-07-03 18:55:46 +02:00
Florian Bruhin 302de6640d Update release checklist 2020-04-09 18:09:02 +02:00
Florian Bruhin 2ad408cc6b Update release checklist 2020-02-10 19:35:37 +01:00
Florian Bruhin 30fdde8a45 Replace tox -e mkvenv by a mkvenv.py script
This was mainly needed because PyQt 5.14.1 is a manylinux2014 wheel and needs
an updated pip, see #5013
2020-01-10 17:06:20 +01:00
Jethro Cao c0e80c6068 Update link for tox
* .org -> .io
* use HTTPS
2019-12-17 00:49:25 +07:00
Florian Bruhin 754a202bdf Improve release instructions
If we're in the release branch, we're going to delete the second (unreleased)
anyways...
2019-11-22 18:24:13 +01:00
Florian Bruhin 0c54cd790e Improve release instructions 2019-11-22 18:21:23 +01:00
Florian Bruhin b8d3ebccb4 Merge remote-tracking branch 'origin/pr/5057' 2019-10-07 13:55:12 +02:00
arza 23942e30b3 Improve contributing.asciidoc for run_profile.py 2019-10-03 08:56:08 +03:00
Florian Bruhin a3ec34b55d Further improve release instructions 2019-09-27 13:42:10 +02:00
Florian Bruhin 185d5eff86 Update release checklist 2019-07-17 16:34:30 +02:00
Florian Bruhin 5329f7b1c3 bumpversion: Update changelog 2019-07-16 10:47:26 +02:00
Florian Bruhin c6d98c9f7e Fix version bumping style issues 2019-07-11 10:56:16 +02:00
Florian Bruhin 16a591e887 Merge remote-tracking branch 'origin/pr/4304' 2019-07-11 10:47:28 +02:00
Florian Bruhin 58c6dd1f96 Fix requestbin url 2019-03-22 22:17:21 +01:00
Florian Bruhin e390d5a1a2 Adjust contribution notices 2019-03-19 08:26:52 +01:00
arza 65153be4a2
Fix broken link in contributing.asciidoc 2019-03-13 16:25:48 +02:00
Florian Bruhin 681178ce8c Fix download_release command 2019-02-25 15:00:27 +01:00
Florian Bruhin 81889dd7bd Update user agent completion
Fixes #4575
2019-02-21 17:10:15 +01:00
Florian Bruhin 3abc83d945 Rename CommandValue.tab to CommandValue.cur_tab 2018-11-30 15:43:14 +01:00
Florian Bruhin c0d4fe0ab5 Make it possible to inject tab via cmdutils.Value 2018-11-30 13:14:58 +01:00
Florian Bruhin 569bb0fa09 Add cmdutils.Value instead of using count=True/win_id=True 2018-11-30 12:45:01 +01:00
Florian Bruhin b7de287e7b Move CommandError to api.cmdutils 2018-11-29 14:18:11 +01:00