Commit Graph

964 Commits

Author SHA1 Message Date
Florian Bruhin 922dca039b scripts/ci: upgrade packaging stack
Make sure we have the newest versions of pip/setuptools/wheel as well in
requirements-tox.txt.

See #6068, needed to support the "cp310" tag when building wheels for
hunter/PyQt5-sip.
2021-01-26 20:43:52 +01:00
Florian Bruhin 3199efbe29 scripts: Fix build_release on Windows with --skip-32bit 2021-01-26 18:32:44 +01:00
Florian Bruhin 7576dc2719 Get rid of IOError
It's an alias to OSError since Python 3.3:
https://docs.python.org/3/library/exceptions.html
https://www.python.org/dev/peps/pep-3151/
2021-01-26 17:49:39 +01:00
Florian Bruhin 6d07d2cbf8 Fix string prefixes 2021-01-26 15:55:45 +01:00
Florian Bruhin b50f440948 scripts: Add more macOS smoke test warnings
See #4919
2021-01-26 15:28:09 +01:00
Florian Bruhin 1a4fff1a42 doc: Switch URLs to https 2021-01-26 15:19:01 +01:00
Florian Bruhin 2f918b9876 scripts: Rename --no-asciidoc to --skip-docs
For consistency
2021-01-26 10:20:11 +01:00
Florian Bruhin 222f1f19a1 Bump copyright years
Closes #6015
2021-01-20 20:06:19 +01:00
Florian Bruhin 22890852b6 Update cheatsheet 2021-01-20 19:39:30 +01:00
Florian Bruhin 6fd2077b6c Improve tests for filesystem completion 2021-01-20 10:30:25 +01:00
Florian Bruhin cbfce386d2 scripts: Allow skipping 32bit build 2021-01-19 18:13:28 +01:00
Florian Bruhin 954e51e55f scripts: Adjust run_vulture for pathlib switch
See https://github.com/jendrikseipp/vulture/pull/226
2021-01-19 12:09:58 +01:00
Florian Bruhin a3c0a8759a rfc6266: Consolidate files 2021-01-17 17:02:07 +01:00
Florian Bruhin 0d64ae3fe3 Finish dropping PyPEG2
Closes #1161
2021-01-17 13:18:41 +01:00
Florian Bruhin 47eb949b31 ci: Add check for attrs 2021-01-14 13:51:18 +01:00
Florian Bruhin 14373db9c7 dataclasses: Adjust import order
See #6023
2021-01-13 20:26:57 +01:00
Florian Bruhin c970c63355 dataclasses: Initial switch
See #6023
2021-01-13 20:26:41 +01:00
Florian Bruhin 99017c50ac Trivial PyQt 6 changes
See #5395
2021-01-08 10:47:02 +01:00
Florian Bruhin 282b2b99e8 docker: Base on official Archlinux image 2021-01-04 11:58:31 +01:00
Florian Bruhin 2ac0566bab pylint: Make config check more intelligent 2021-01-02 14:14:43 +01:00
Florian Bruhin 1723278aae Add additional spelling checks 2020-12-30 13:51:07 +01:00
Florian Bruhin 29993b7bc9 Update importlib-resources changelog URL 2020-12-28 15:23:41 +01:00
Florian Bruhin c52744a219 Rename adblock component to hostblock 2020-12-22 19:20:49 +01:00
Florian Bruhin 5981a53267 Merge remote-tracking branch 'origin/pr/5317' into dev 2020-12-22 14:39:43 +01:00
Florian Bruhin 0d5e10a38f Adjust check_coverage.py whitelist 2020-12-19 23:33:38 +01:00
Florian Bruhin 2560f9774b doc: Use Python 3.9 simplified usage formatting 2020-12-19 22:24:44 +01:00
Árni Dagur 729d6c9d8f Merge branch 'master' into more-sophisticated-adblock 2020-12-19 20:30:17 +00:00
Árni Dagur 95d96b8809 Add adblock moodule changelog URL 2020-12-19 20:30:10 +00:00
Árni Dagur 317af23593 Merge branch 'master' into more-sophisticated-adblock 2020-12-19 20:30:03 +00:00
Árni Dagur 4c5e3d9ea0 Merge branch 'master' into more-sophisticated-adblock 2020-12-19 20:29:38 +00:00
Árni Dagur bf4dbef806 Merge branch 'master' into more-sophisticated-adblock 2020-12-19 20:29:21 +00:00
Árni Dagur ffc73980f6 Fix more lint issues related to content blocking 2020-12-19 20:29:09 +00:00
Eli Schwartz ea6c0beaec
Update CI deps and assorted CI stuff. 2020-12-07 14:29:26 -05:00
Florian Bruhin 2e65f731b1 scripts: Ignore DXVAVDA errors for smoke test
When trying to release in my Windows VM, I get:

    [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
    DXVAVDA fatal error: could not LoadLibrary: mf.dll: The specified
    module could not be found. (0x7E)
    [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
    DXVAVDA fatal error: could not LoadLibrary: mfplat.dll: The
    specified module could not be found. (0x7E)
    [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)]
    DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: The
    specified module could not be found. (0x7E)
    [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1407)]
    DXVAVDA fatal error: could not LoadLibrary: msvproc.dll: The
    specified module could not be found. (0x7E)

This seems to happen on Windows 10 N only, where the Windows Media
features (and thus probably DLLs) are missing.

See https://github.com/microsoft/playwright/issues/2901
2020-12-04 21:13:36 +01:00
Florian Bruhin 1dea8ace64 scripts: Update asciidoc version 2020-12-04 20:43:03 +01:00
Florian Bruhin 6b0f1e8ac1 scripts: Make recompile_requirements less verbose 2020-12-04 19:07:36 +01:00
Florian Bruhin cad3394e9b Use existing ON_CI constants 2020-12-04 19:04:52 +01:00
Florian Bruhin 79e74efcf6 scripts: Skip unnecessary testing in recompile_requirements 2020-12-04 19:01:13 +01:00
Florian Bruhin 6863d050e0 ci: Fix broken pattern 2020-12-03 18:48:04 +01:00
Florian Bruhin 6e40605ae1 scripts: Improve output for misc_checks
- Don't output type annotation message for "# type: ignore"
- Output entire message colored
- Strip colors in problemmatcher regex
2020-12-03 17:07:08 +01:00
Florian Bruhin e07611fc31 Enforce /usr/bin/env shebangs in userscripts
See https://github.com/qutebrowser/qutebrowser/discussions/5927#discussioncomment-145322
2020-12-03 11:09:20 +01:00
Florian Bruhin df7e0553d8 ci: Use installed Python version in Dockerfile
Archlinux upgrading from Python 3.8 to 3.9 broke the build - let's just
use whatever is in $PATH instead.
2020-12-03 10:51:46 +01:00
Florian Bruhin 9fbefd7077 scripts: Handle comments in recompile_requirements 2020-12-03 10:50:35 +01:00
Florian Bruhin 9ad53d782b scripts: Fix changelog URLs 2020-11-30 11:05:38 +01:00
Florian Bruhin 31cd414664 ci: Fix lint for docker workflow 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 6eb9f10c7e scripts: Improve flake8-bugbear changelog URL 2020-11-24 18:46:35 +01:00
Florian Bruhin 907e0cc33c build_release: Add --skip-packaging 2020-11-23 14:42:25 +01:00
Florian Bruhin 298e559714 tox: Remove pip-version and venv plugins
Since the virtualenv v20.0.0 rewrite, those are hopefully not needed
anymore.

Closes #5373
2020-11-20 16:20:51 +01:00
Florian Bruhin 1f8f54a339 scripts: Update Babel changelog URL
See https://github.com/python-babel/babel/issues/718
2020-11-19 16:40:12 +01:00