Commit Graph

779 Commits

Author SHA1 Message Date
Florian Bruhin bae1431703 src2asciidoc: Make sure usage lines are generated with fixed width
Due to a change in Python 3.8, the output depended on the calling terminal's
width. Set a fixed with of 200 (rather than 80) so that we always have the
expanded version for the generated documentation.

See #5393 and
74102c9a5f (diff-837b312b1f3508216ace6adb46492836)
2020-05-22 17:12:51 +02:00
Florian Bruhin c1d67c9ef4 Exclude FontBase from docs 2020-05-10 20:49:21 +02:00
Florian Bruhin 00d316c011 Check git tree before doing a release
See #5426
2020-05-10 19:35:28 +02:00
Florian Bruhin f41c745ee6 Add more tests for cookie handling 2020-05-07 11:26:49 +02:00
Florian Bruhin 9b779f8b1d Add docstring 2020-05-06 22:19:22 +02:00
Florian Bruhin 1824b440dd build_pyqt_wheel: Add some sanity checks 2020-05-06 19:55:22 +02:00
Florian Bruhin 14fd4860e4 build_release: Separate 32/64-bit pyinstaller envs on Windows
For some reason, pip fails now when trying to "update" the existing source
clone...
2020-04-27 16:29:00 +02:00
Florian Bruhin 5e06b00474 scripts: Add --commands to update_version 2020-04-27 15:51:38 +02:00
Florian Bruhin 805ee8579c recompile_requirements: Add "#@ pre" marker 2020-04-27 13:23:02 +02:00
Florian Bruhin c799b7ddf6 scripts: Print errors to stderr instead of stdout 2020-04-21 09:56:34 +02:00
Florian Bruhin ef94fb8626 build_release: Check for existing assets 2020-04-18 14:06:03 +02:00
Florian Bruhin 32c2f9b240 build_release: Print version when asking for confirmation 2020-04-18 14:03:34 +02:00
Florian Bruhin 47470e9727 Fix lint 2020-04-15 21:07:28 +02:00
Florian Bruhin ccfbf5a3bc scripts: Fix issues with build_pyqt_wheel.py
- Fix default value for --wheels-dir
- Don't pass pathlib objects to subprocess directly
2020-04-15 19:36:56 +02:00
Florian Bruhin a264c25314 scripts: Add some tooling to build/install PyQt wheels 2020-04-15 15:02:12 +02:00
Florian Bruhin 81d38ee019 Fix lint 2020-04-09 18:09:02 +02:00
Florian Bruhin d73d0d2b54 recompile_requirements: Test resulting files 2020-04-09 18:09:02 +02:00
Florian Bruhin b802728b8d recompile_requirements: Run pip check
Changing cwd as workaround for https://github.com/pypa/pip/issues/7971
2020-04-09 18:09:02 +02:00
Florian Bruhin 73eb3f5d6a Improve git instructions printed by update_version.py 2020-02-15 14:24:20 +01:00
Florian Bruhin 84062eb53c Switch back to develop branch of pyinstaller
Reverts 478bdc3ba9.
Reverts 755a2999e2.

See https://github.com/pyinstaller/pyinstaller/issues/4631
See #4918
2020-02-10 20:29:58 +01:00
Florian Bruhin 68f8592abf build_release: Move print inside while 2020-02-02 22:54:31 +01:00
Florian Bruhin 478bdc3ba9 build_release: Copy missing QtQmlModels.framework
See https://github.com/pyinstaller/pyinstaller/issues/4631
See #4918
2020-01-15 15:31:01 +01:00
Florian Bruhin 22bd90af3f Makefile-dmg: Increase template size
Looks like 300MB isn't enough for Qt 5.14.

See #4918
2020-01-15 15:31:01 +01:00
Florian Bruhin ff6f3a0905 Delete qute_pylint.settrace
This is handled by flake8-debugger
2020-01-13 08:09:35 +01:00
Florian Bruhin fa56b68de2 Revert "build_release: Re-add windows patching"
This reverts commit d37843d137.

Not needed anymore with PyInstaller 3.6
2020-01-10 17:06:20 +01:00
Florian Bruhin 5e64aae70b Remove ua_fetch.py
The blog uses Cloudflare DDoS protection nowadays, and since we removed most
UAs from the completion, doing updates by hand is feasible.
2020-01-08 16:18:04 +01:00
Florian Bruhin 5e9b3d1bd9 Run optipng on images 2020-01-04 22:13:01 +01:00
Florian Bruhin 4cc498fa57 Merge branch 'requires-io-master' 2020-01-04 22:05:38 +01:00
Florian Bruhin 130a0b5d08 Pin older jaraco.functools with Python 3.5
3.0.0 needs Python 3.6 or higher
2020-01-04 22:05:27 +01:00
Florian Bruhin 1a782ea0c0 recompile_requirements: Ignore qutebrowser requirement 2020-01-04 21:57:42 +01:00
Florian Bruhin e4524b2db4 recompile_requirements: Upgrade pip 2020-01-04 21:57:42 +01:00
Florian Bruhin 48ec994380 recompile_requirements: Use python3.7 for some environments
Old PyQt versions need sip < 5 which doesn't work with Python 3.8.
pylint doesn't install typed_ast with Python 3.8 (as the builtin ast module
suffices).
2020-01-04 21:57:08 +01:00
Florian Bruhin 5c35d98b13 recompile_requirements: Use python -m venv 2020-01-04 21:57:08 +01:00
Florian Bruhin 9e4276db9b Adjust copyrights for 2020 2020-01-04 18:21:17 +01:00
Florian Bruhin 81212af32c Add config.stylesheet to check_coverage 2019-12-26 23:06:35 +01:00
Florian Bruhin 6f821791d5 Rename VMAP_KEY 2019-11-27 14:41:43 +01:00
Florian Bruhin 21b426b6a2 Merge remote-tracking branch 'origin/pr/4544' 2019-11-27 14:32:57 +01:00
Florian Bruhin 17cb3b0da4 Fix lint/tests 2019-11-25 23:48:39 +01:00
Florian Bruhin e1e7c37e05 Fix mypy 2019-11-24 23:45:58 +01:00
Florian Bruhin a2b25962db travis: Don't use Homebrew on macOS
Looks like we already have an up-to-date Python nowadays.
2019-11-22 19:13:19 +01:00
Florian Bruhin e4bdd971fd ci: Use stable shellcheck 2019-11-16 21:26:06 +01:00
Florian Bruhin 88cebe9ce6 Pin shellcheck v0.7.0
See https://github.com/koalaman/shellcheck/issues/1751
2019-11-15 15:10:00 +01:00
Florian Bruhin a3cc77b429 Fix vulture 2019-10-17 17:22:04 +02:00
Florian Bruhin b8d3ebccb4 Merge remote-tracking branch 'origin/pr/5057' 2019-10-07 13:55:12 +02:00
Florian Bruhin 8cd65dcc1b pylint: Enable emptystring extension 2019-10-01 12:35:55 +02:00
Florian Bruhin 3523bac245 Remove old segfault_test script 2019-10-01 11:54:40 +02:00
Florian Bruhin 21e9b9b41f Specify 'check' with subprocess.run 2019-10-01 11:54:18 +02:00
arza 96b76190cf run_profile: Print written filename for --profile-tool=none 2019-09-29 08:54:50 +03:00
Florian Bruhin a3ec34b55d Further improve release instructions 2019-09-27 13:42:10 +02:00
Florian Bruhin 4f76266a4b build_release: Ignore another macOS smoke test line 2019-09-26 18:26:35 +02:00