Commit Graph

175 Commits

Author SHA1 Message Date
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 e494100582 ci: Switch to FORCE_COLOR
pytest understands that since a while: https://pytest.org/en/7.0.x/reference/reference.html#environment-variables and other tools are adopting it: https://github.com/sphinx-doc/sphinx/pull/10260
2022-03-30 09:57:53 +02:00
Florian Bruhin 2957c5ccb8 Switch to newer Python for linters
We originally used Python 3.8 for pylint for https://github.com/PyCQA/pylint/issues/3760 which is long fixed... See 214dd63441
2022-03-29 17:52:21 +02:00
Jimmy 4c745a298a ci: update package list before installing asciidoc
On the last two runs we've been getting errors install lxml2-utils (a
dependency of asciidoc) because the version in the packages list isn't
available anymore. A new point build has been pushed.

The base image will be updated eventually but [the docs][] say to run
apt update before installing. That is already done once in this file
too. Yay for longer build times.

Last two runs:

https://github.com/qutebrowser/qutebrowser/runs/5578546699?check_suite_focus=true
https://github.com/qutebrowser/qutebrowser/runs/5581525862?check_suite_focus=true

[the docs]: https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners
2022-03-17 20:53:34 +13:00
Florian Bruhin 5e475f4151 ci: Thanks YAML 2021-11-22 18:09:17 +01:00
Florian Bruhin cac9e3e049 ci: Use Python 3.10 for bleeding CI 2021-11-22 17:53:51 +01:00
arza 3653be86f2
Update CONTRIBUTING.asciidoc 2021-08-20 16:03:11 +03:00
Florian Bruhin f2e322c581 ci: Switch to #qutebrowser-bots 2021-05-27 09:28:31 +02:00
Florian Bruhin b366911d0a ci: Switch bots to Libera 2021-05-26 10:54:32 +02:00
Florian Bruhin 493d7470c4 ci: Try to avoid upload load
I suspect we get issues because 6 jobs try to upload at the same time
2021-05-14 14:34:56 +02:00
Florian Bruhin 62de76e878 Revert "ci: Pin Python 3.10 to Alpha 7"
This reverts commit 0c1414c6aa.
2021-04-30 10:48:07 +02:00
Florian Bruhin 4751890acb ci: Fix CodeQL 2021-04-29 00:06:36 +02:00
Florian Bruhin 8023b8c8fe ci: Lock down workflows
Closes #6430
2021-04-28 23:01:43 +02:00
Florian Bruhin 0c1414c6aa ci: Pin Python 3.10 to Alpha 7
See https://github.com/actions/setup-python/issues/207

pytest isn't ready yet:
https://github.com/pytest-dev/pytest/issues/8539
2021-04-19 11:43:37 +02:00
Florian Bruhin a0710124a1 ci: Tune down code scanning
Too many false positives, and it seems impossible to ignore a single rule.
2021-04-10 09:15:38 +02:00
Florian Bruhin f22ea9b81d ci: Try additional CodeQL queries 2021-04-09 10:03:47 +02:00
Florian Bruhin 545a295cf0 ci: Move test_mkvenv.py to update-dependencies
It requires some time and network access, so no need to run it as part of the automated tests.
2021-03-31 13:10:09 +02:00
Florian Bruhin bce20c2995 scripts: Add --debug to build_release.py 2021-03-29 23:42:14 +02:00
Florian Bruhin 2a545400f8 ci: Try debug builds 2021-03-29 23:42:14 +02:00
Florian Bruhin 78ce753b09 ci: Move macOS dmg to dist/ 2021-03-29 23:42:14 +02:00
Florian Bruhin 99f419c97d ci: Rename artifact 2021-03-29 23:42:14 +02:00
Florian Bruhin c6118aa4aa ci: Upload release files 2021-03-29 23:42:14 +02:00
Florian Bruhin 498ff53463 ci: Split 32/64bit pyinstaller envs 2021-03-29 23:42:14 +02:00
Florian Bruhin 8a0d7a5be8 scripts: Pass GitHub token via commandline args 2021-03-29 23:42:14 +02:00
Florian Bruhin e10214a726 ci: Fix asciidoc
Unfortunately, GitHub won't let us clone asciidoc to ../asciidoc :(
2021-03-29 23:42:14 +02:00
Florian Bruhin a93b1f00c9 ci: Try docs as well 2021-03-29 23:42:14 +02:00
Florian Bruhin 353b27df53 ci: Add PyInstaller env
Closes #6338
2021-03-29 23:42:09 +02:00
Florian Bruhin e017927173 ci: Run bleeding-edge CI daily for now 2021-03-29 18:44:17 +02:00
Florian Bruhin 18d6c46e3d notifications: Adjust/fix CI 2021-03-24 16:38:59 +01:00
Florian Bruhin 2f592f7ce6 Merge remote-tracking branch 'origin/pr/5457' into dev 2021-03-24 14:12:36 +01:00
Florian Bruhin 36696bfa2c ci: Add bleeding-edge environment
Closes #6298
2021-03-22 20:22:48 +01:00
Florian Bruhin 30d54c8da4 Revert "ci: Use different workaround for Archlinux docker"
This reverts commit 545e37b913.
Doesn't actually seem to work...
2021-02-18 10:15:43 +01:00
Florian Bruhin 545e37b913 ci: Use different workaround for Archlinux docker 2021-02-16 11:24:40 +01:00
Florian Bruhin 277eb3012e ci: Use v1 of irc-message-action again
https://github.com/Gottox/irc-message-action/issues/5 is fixed
2021-02-10 19:55:18 +01:00
Florian Bruhin 357887c25e ci: Fix docker IRC message 2021-02-10 19:53:39 +01:00
Florian Bruhin bc0936d97a ci: Use Python 3.9 for Windows/macOS
That's what we use with the newer PyInstaller releases, too.
2021-01-27 19:24:17 +01:00
Florian Bruhin ab01b3970f ci: Add Python 3.10
Needs a couple of follow-up commits for workarounds, which hopefully
aren't needed anymore at a later point.

Fixes #6068
2021-01-26 20:32:57 +01:00
Florian Bruhin 5c23ac8429 ci: Test Ubuntu 18.04
See #5551
2021-01-09 14:20:09 +01:00
Florian Bruhin c628e1430c ci: Remove macOS Big Sur for now
See https://github.com/actions/virtual-environments/issues/841
2021-01-08 10:07:05 +01:00
Florian Bruhin 47f2093b50 ci: Add qute-pylint to cache key
This makes sure we don't use a stale qute_pylint version in CI.
2021-01-02 15:59:05 +01:00
Florian Bruhin 77c5fb888f ci: Simplify CodeQL workflow 2020-12-07 19:09:22 +01:00
Florian Bruhin 83286f9456 ci: Don't run docker job in forks 2020-12-03 16:21:36 +01:00
Florian Bruhin 6274028872 ci: Also use Python in PATH in ci.yml
Follow-up to df7e0553d8
2020-12-03 11:10:16 +01:00
Florian Bruhin 64c1c03d5b ci: Add Qt 5.15.0
We test Qt 5.15.2, but that's based on a newer Chromium version:

Qt 5.14.x -> Chromium 77
Qt 5.15.0 -> Chromium 80
Qt 5.15.2 -> Chromium 83

Some behavior changes between Chromium versions (see e.g. #5915), so it
makes sense to test both.

Picking 5.15.0 rather than .1 due to renderer process crashes in
5.15.1 (#5721). Doesn't matter much on the CI as we don't use WebRTC,
but if someone wants to downgrade with mkvenv.py for some reason, .0
will be more useful than .1.
2020-12-03 10:15:14 +01:00
Florian Bruhin 6a9f3d6cf5 Revert "ci: Try semgrep"
This reverts commit 7c1f177572.
Worked on dev, now broken on master?
2020-11-26 22:05:57 +01:00
Florian Bruhin 7c1f177572 ci: Try semgrep 2020-11-25 22:41:15 +01:00
Florian Bruhin 31cd414664 ci: Fix lint for docker workflow 2020-11-25 22:34:18 +01:00
Florian Bruhin a686b75922 ci: Fix docker working directory 2020-11-25 22:34:18 +01:00
Florian Bruhin ec93c0458c Integrate docker rebuild workflow 2020-11-25 19:49:25 +01:00
Florian Bruhin feff463bf1 ci: Add macOS Big Sur
See #5663 and #5896 (which we don't test for at the moment)
2020-11-24 14:06:42 +01:00