Commit Graph

1106 Commits

Author SHA1 Message Date
Florian Bruhin f911ffd55c build-release: Fix f-string, take 2
(cherry picked from commit 52d98ad9aa)
2022-06-22 16:04:52 +02:00
Florian Bruhin 1ee0152249 build-release: Fix handling of Windows .zip suffix
(cherry picked from commit 208e56f0e9)
2022-06-22 15:56:40 +02:00
Florian Bruhin 758eb837f8 build-release: Fix f-string
(cherry picked from commit 4e5b1d287d)
2022-06-22 15:35:34 +02:00
Florian Bruhin 31a4f43f7c build-release: Fix wrong path on Windows
(cherry picked from commit f13af68cac)
2022-06-17 15:44:24 +02:00
Florian Bruhin 641071814e Fix lint
(cherry picked from commit 3b81525826)
2022-06-17 11:19:57 +02:00
Florian Bruhin 432cca1c7c build-release: Sign macOS .app properly
Based on https://github.com/pyinstaller/pyinstaller/issues/6612
Might help with #6771.

(cherry picked from commit 660e776a15)
2022-06-17 11:19:57 +02:00
Florian Bruhin 46fb5579ae build-release: Modernize
pathlib, type annotations, modern syntax, dataclasses

(cherry picked from commit 611a6d5cb2)
2022-06-17 11:19:57 +02:00
Florian Bruhin 8c4bdf0606 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

(cherry picked from commit 46de10722c)
2022-06-17 11:19:57 +02:00
Florian Bruhin 05b3d1f31b build-release: Accept --skip-packaging on macOS
(cherry picked from commit 9e2c5d493b)
2022-06-17 11:19:57 +02:00
Florian Bruhin 10bc0d812e build-release: Add pre-dmg smoke test for macOS
Fixes #7254

(cherry picked from commit 23cc4d186c)
2022-06-17 11:19:57 +02:00
code-review-doctor bb90ff9dbb Fix issue probably-meant-fstring found at https://codereview.doctor
(cherry picked from commit 357e644b68)
2022-04-28 12:13:59 +02:00
Florian Bruhin a6d9f14510 Use legacy PDF.js build for macOS/Windows releases
Fixes #7108

(cherry picked from commit f6a365172a)
2022-04-05 12:17:43 +02:00
Florian Bruhin 20a3a1d18c Mark qute-pass as executable and add checker
Regressed in #7068
2022-04-02 12:48:08 +02:00
Florian Bruhin 0c38f6b78f scripts: Improve ordering 2022-03-30 12:22:47 +02:00
Florian Bruhin f4ddea2fef Add docstring 2022-03-30 12:01:57 +02:00
Florian Bruhin ac2cb6bb30 scripts: Show requirement name in table output 2022-03-30 11:55:57 +02:00
Florian Bruhin 7f847e44e9 scripts: Update pyroma changelog URL 2022-03-30 10:11:25 +02:00
Florian Bruhin b6800acf48 scripts: Add changelog URL for dill 2022-03-29 18:12:02 +02:00
Florian Bruhin 2b76b61640 pylint: Disable unnecessary-ellipsis for tests
See https://github.com/PyCQA/pylint/issues/6036 and https://github.com/PyCQA/pylint/issues/6037
2022-03-29 17:57:03 +02:00
Florian Bruhin f45dcb1aba pylint: Work around used-before-assignment issues
See https://github.com/PyCQA/pylint/issues/6035
2022-03-29 17:22:56 +02:00
Florian Bruhin db720b1454 Let mypy check for blanket ignores 2022-03-14 10:04:36 +01:00
Florian Bruhin 4c0eea93d6 Fix inconsistent doc generation 2022-03-07 12:02:23 +01:00
Jimmy 273973bcb5 update changelogs
mostly due to itsdangerous dropping jwcrypto

a bit of python3.6 churn this week

github3.py link was out of date
2022-02-21 22:15:14 +13:00
Florian Bruhin a22f60e385 scripts: Remove EasyProcess changelog URL 2022-02-14 16:18:18 +01:00
Florian Bruhin 10267f70e3 scripts: Move changelog URLs to JSON 2022-01-10 10:01:29 +01:00
Florian Bruhin d491da13cc scripts: Update cheroot changelog URL 2022-01-10 09:55:24 +01:00
Florian Bruhin f4714a9300 Use flake8-pytest-style 2022-01-04 10:30:24 +01:00
Florian Bruhin 11880a96f5 scripts: Update changelog URLs 2022-01-03 09:47:06 +01:00
Florian Bruhin e78c6699a0 scripts: More version parsing in recompile_requirements
Required for misc_checks.py
2021-12-20 15:08:02 +01:00
Florian Bruhin 6b66221dea scripts: Handle lines with == in marker correctly 2021-12-20 11:36:26 +01:00
Florian Bruhin 1ba9ab9ce4 Update changelog URLs 2021-12-13 15:07:41 +01:00
Florian Bruhin 5e6bae3983 Merge branch 'packaging-update'
# Conflicts:
#	misc/requirements/requirements-dev.txt
2021-12-03 15:58:48 +01:00
Florian Bruhin 2378ba7886 scripts: Use 'build' to build sdist
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2021-12-03 15:52:03 +01:00
Florian Bruhin 733868ff87 scripts: Run 'twine check' 2021-12-03 15:42:14 +01:00
Florian Bruhin 42fac2a5c1 Update changelog URLs 2021-12-03 15:34:22 +01:00
Florian Bruhin a580079206 scripts: Handle packaging dependencies via tox 2021-12-03 15:28:04 +01:00
Florian Bruhin 04c71c4d44 pylint: Avoid conflicting message IDs 2021-12-03 14:11:18 +01:00
Florian Bruhin bbb44f6e50 Add some missing docstring params 2021-12-03 13:50:57 +01:00
Florian Bruhin f30df9c959 pylint: Remove open encoding checker
Now built into pylint
2021-12-03 12:04:59 +01:00
Florian Bruhin e4a667e06e pylint: Disable use-implicit-booleaness-not-comparison in tests 2021-12-03 12:04:59 +01:00
Florian Bruhin 2f69664c2a pylint: Disable wrong-import-order for tests 2021-12-02 17:38:29 +01:00
Florian Bruhin ed2342a430 pylint: Handle consider-using-with 2021-12-02 17:30:47 +01:00
Florian Bruhin 39b7f7dba0 Update charset_normalizer changelog URL 2021-11-30 07:48:28 +01:00
Florian Bruhin b655f56101 scripts: Adjust for new typing_extensions name 2021-11-17 10:25:12 +01:00
Florian Bruhin b04f7ec2f7 scripts: Better lxml changelog URL 2021-11-08 08:27:34 +01:00
Florian Bruhin ca114a0766 scripts: Fix changelog URLs for real 2021-10-21 18:26:57 +02:00
Florian Bruhin e6e7e95013 scripts: Use new Qt path in build_release 2021-10-21 18:18:36 +02:00
Florian Bruhin 51972fa4e2 Revert "scripts: Remove macOS symlinking"
This reverts commit a0bfb7c824.

It *is* required, just used the wrong path...

gg
2021-10-21 18:18:03 +02:00
Florian Bruhin a8dacd98fb scripts: Remove old -Qt5 PyQt packages 2021-10-21 18:03:21 +02:00
Florian Bruhin a0bfb7c824 scripts: Remove macOS symlinking
Seems to be fixed in PyInstaller 4.4? See #6611.
2021-10-21 17:07:53 +02:00