Commit Graph

1148 Commits

Author SHA1 Message Date
Florian Bruhin d3c1a50598 lint: Fix rewrite scripts 2022-08-23 18:31:41 +02:00
Florian Bruhin 52f2b430e9 lint: Fix flake8 docstring issues 2022-08-23 18:31:41 +02:00
Florian Bruhin e658ce6acf lint: Remove unused imports
Via autoflake and git add -p
2022-08-23 18:31:41 +02:00
Florian Bruhin 5aa9cb7401 Fix misc checks 2022-08-23 18:31:41 +02:00
Florian Bruhin 39ea85645b Fix vulture 2022-08-23 18:31:41 +02:00
Florian Bruhin ef486aa263 Remove unneeded old log ignores 2022-08-23 18:31:41 +02:00
Florian Bruhin ded275dd93 scripts: Add rewrite_find_flags.py 2022-08-23 18:31:40 +02:00
Florian Bruhin d8a66ca825 scripts: Detect PyQt location 2022-08-23 18:31:40 +02:00
Florian Bruhin 73b73f49c2 scripts: Use builtin ast parser 2022-08-23 18:31:40 +02:00
Florian Bruhin d30afc3b0d scripts: Add rewrite_find_enums.py from issue 2022-08-23 18:31:40 +02:00
Florian Bruhin a11f1d34d3 Add rewrite_enums.py 2022-08-23 18:09:11 +02:00
Florian Bruhin 6cac151ad9 Add basic qt wrapper stuff 2022-08-23 18:09:11 +02:00
Florian Bruhin 3dd969e731 Merge remote-tracking branch 'origin/pr/7293' 2022-08-23 17:58:09 +02:00
Florian Bruhin 0dda1d41be ci: Fix regex for macOS log
The smoke test runs without debug logging, so the format is different.
2022-08-22 14:19:55 +02:00
Florian Bruhin e8cc163d84 scripts: Ignore new macOS 11 warning
Not sure where it's coming from, but it happened after swiching CI to macOS 11, and nobody has complained about it.
2022-08-22 13:59:23 +02:00
Florian Bruhin b8cc8588f5 Update changelog URLs 2022-08-22 10:47:21 +02:00
Florian Bruhin 1c984ec080 Update changelog URLs 2022-08-08 09:20:06 +02:00
Florian Bruhin 5e370a80c0 Re-add missing changelog URLs 2022-08-06 11:28:11 +02:00
Florian Bruhin ea077cece9 flake8: Reenable flake8-copyright and flake8-future-import
Partial revert of faf04f3791
2022-08-03 15:21:26 +02:00
Florian Bruhin ea22d74b9b Update changelog URLs 2022-08-03 15:15:26 +02:00
Florian Bruhin faf04f3791 flake8: Remove broken plugins
https://github.com/PyCQA/flake8/issues/325
https://github.com/savoirfairelinux/flake8-copyright/pull/9
https://github.com/xZise/flake8-future-import/issues/25
https://github.com/aleGpereira/flake8-mock/issues/10
2022-08-01 13:35:45 +02:00
Florian Bruhin 57be330ff6 Update changelog URLs 2022-07-11 10:25:32 +02:00
Florian Bruhin dc7dad5de8 ci: Add actionlint 2022-07-11 10:23:27 +02:00
kt programs 389eac1bb3 macOS: fix hide_decoration making window nonresizable
Use PyObjC to call `setWindowMask:` with resizable flag on the
underlying NSWindow.

Fixes #4067
2022-07-05 17:14:05 +08:00
Florian Bruhin e78ddee519 Update changelog URLs 2022-07-04 11:56:27 +02:00
Florian Bruhin 52d98ad9aa build-release: Fix f-string, take 2 2022-06-22 16:02:57 +02:00
Florian Bruhin 208e56f0e9 build-release: Fix handling of Windows .zip suffix 2022-06-22 15:56:17 +02:00
Florian Bruhin 4e5b1d287d build-release: Fix f-string 2022-06-22 15:35:26 +02:00
Florian Bruhin f13af68cac build-release: Fix wrong path on Windows 2022-06-17 15:41:25 +02:00
Florian Bruhin 3b81525826 Fix lint 2022-06-16 21:06:38 +02:00
Florian Bruhin 660e776a15 build-release: Sign macOS .app properly
Based on https://github.com/pyinstaller/pyinstaller/issues/6612
Might help with #6771.
2022-06-16 21:03:20 +02:00
Florian Bruhin 611a6d5cb2 build-release: Modernize
pathlib, type annotations, modern syntax, dataclasses
2022-06-16 19:47:27 +02:00
Florian Bruhin 46de10722c build-release: Move macOS Info.plist back to PyInstaller .spec
The patching was originally introduced back in 2017 in #3055, when
PyInstaller only supported very basic Info.plist operations.

This changed in 2018 (!) however, with PyInstaller 3.4:
https://pyinstaller.org/en/stable/CHANGES-3.html#id8
https://github.com/pyinstaller/pyinstaller/pull/3532

Thus, let's move this back to PyInstaller. This produces exactly the
same Info.plist as before.

Fixes #7251
2022-06-16 17:52:35 +02:00
Florian Bruhin 9e2c5d493b build-release: Accept --skip-packaging on macOS 2022-06-16 16:23:07 +02:00
Florian Bruhin 23cc4d186c build-release: Add pre-dmg smoke test for macOS
Fixes #7254
2022-06-16 15:15:55 +02:00
Florian Bruhin 583354d524 Merge remote-tracking branch 'origin/pr/6670' into dev 2022-06-13 15:47:31 +02:00
Florian Bruhin dc673b89a0 Update changelog URLs 2022-06-13 10:29:35 +02:00
Florian Bruhin 6c4e281028 pylint: Fix new unnecessary-lambda-assignment 2022-06-08 12:25:12 +02:00
Florian Bruhin 5aa89662e3 Update changelog URLs 2022-06-08 11:56:39 +02:00
Florian Bruhin 047a44c4c1 requirements: Remove icdiff
The native pytest output often seems better
2022-05-12 08:38:05 +02:00
Florian Bruhin 9154f02cae Merge remote-tracking branch 'origin/pr/7138' 2022-04-28 12:04:30 +02:00
Florian Bruhin 7a523a6618 Update babel changelog URL 2022-04-25 19:02:11 +02:00
code-review-doctor 357e644b68 Fix issue probably-meant-fstring found at https://codereview.doctor 2022-04-24 01:09:57 +01:00
Jimmy d37945fd0b add ply changelog
Although this is just the version published to pypi. I don't know what
version sip is using. The version published on pypi is apparently stable
and mature and any further changes on github are simplifications that
the author doesn't particularly want to support.

I don't know if we actually hit the parsing code in our workflows but it
is published as a dependancy.

The latest version talks about removing optional stuff from the API a
bunch. But sip just uses `from ply import lex, yacc` so hopefully that
is a stable part of the API. Even if sip is using the newer one.
2022-04-18 18:19:58 +12:00
Florian Bruhin 96425c93bf Merge remote-tracking branch 'origin/pr/7103' 2022-04-05 12:14:53 +02:00
Florian Bruhin f6a365172a Use legacy PDF.js build for macOS/Windows releases
Fixes #7108
2022-04-05 11:33:19 +02:00
Florian Bruhin ab7a2ee558 Switch to Python 3.7 subprocess API
Follow-up for #6905
2022-04-04 16:58:31 +02:00
Florian Bruhin 0d3af197d9 Revert "pylint: Disable unnecessary-ellipsis for tests"
This reverts commit 2b76b61640.
2022-04-04 11:27:16 +02:00
Florian Bruhin 65fd458833 Update changelog URLs 2022-04-04 11:12:13 +02:00
Florian Bruhin b29c13c0a5 scripts: Handle root requirements.txt properly
Regressed in ac2cb6bb30
2022-04-04 10:51:35 +02:00